lightning-listconfigs

lightning-listconfigs -- Command to list all configuration options.

SYNOPSIS

listconfigs [config]

DESCRIPTION

The listconfigs RPC command to list all configuration options, or with config only one.

  • config (string, optional): Configuration option name to restrict return.

RETURN VALUE

The returned values reflect the current configuration, including showing default values (dev- options are not shown unless specified as config explicitly).

Note: as plugins can add options, not all configuration settings are listed here! The format of each entry is as follows:

  • source (string): source of configuration setting (file:linenum)
  • dynamic (boolean, optional): true if this option is settable via setconfig
  • plugin (string, optional): set if this is from a plugin

Depending on the option type, exactly one of the following is present:

  • set (boolean, optional): for simple flag options

  • value_str (string, optional): for string options

  • value_msat (msat, optional): for msat options

  • value_int (integer, optional): for integer options

  • value_bool (boolean, optional): for boolean options
    On success, an object is returned, containing:

  • configs (object, optional) (added v23.08):

    • conf (object, optional):
      • value_str (string): Field from cmdline.
      • source (string) (always "cmdline"): Source of configuration setting.
    • developer (object, optional) (added v23.08):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • clear-plugins (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • disable-mpp (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
      • plugin (string, optional): Plugin which registered this configuration setting.
    • mainnet (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • regtest (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • signet (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • testnet (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • important-plugin (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • plugin (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • plugin-dir (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • lightning-dir (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • network (object, optional):
      • value_str (string): Field from config or cmdline, or default (can also be changed by testnet, signet, regtest options!).
      • source (string): Source of configuration setting.
    • allow-deprecated-apis (object, optional):
      • value_bool (boolean): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • rpc-file (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • disable-plugin (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • always-use-proxy (object, optional):
      • value_bool (boolean): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • daemon (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • wallet (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • large-channels (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • experimental-dual-fund (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • experimental-splicing (object, optional) (added v23.08):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • experimental-onion-messages (object, optional) deprecated in v24.08, removed after v25.02:
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • experimental-offers (object, optional) deprecated in v24.11, removed after v25.05:
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • experimental-shutdown-wrong-funding (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • experimental-peer-storage (object, optional) (added v23.02):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • experimental-anchors (object, optional) (added v23.08):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • database-upgrade (object, optional):
      • value_bool (boolean): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • rgb (object, optional):
      • value_str (hex) (always 6 characters): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • alias (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • pid-file (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • ignore-fee-limits (object, optional):
      • value_bool (boolean): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • watchtime-blocks (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • max-locktime-blocks (object, optional) deprecated in v24.05, removed after v24.11:
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • funding-confirms (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • cltv-delta (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • cltv-final (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • commit-time (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • fee-base (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • rescan (object, optional):
      • value_int (integer): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • fee-per-satoshi (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • max-concurrent-htlcs (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • htlc-minimum-msat (object, optional):
      • value_msat (msat): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • htlc-maximum-msat (object, optional):
      • value_msat (msat): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • max-dust-htlc-exposure-msat (object, optional):
      • value_msat (msat): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • min-capacity-sat (object, optional):
      • value_int (u64): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
      • dynamic (boolean, optional) (always true): Can this be set by setconfig().
    • addr (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • announce-addr (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • bind-addr (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • offline (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • autolisten (object, optional):
      • value_bool (boolean): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • proxy (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • disable-dns (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • announce-addr-discovered (object, optional) (added v23.02):
      • value_str (string) (one of "true", "false", "auto"): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • announce-addr-discovered-port (object, optional) (added v23.02):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • encrypted-hsm (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
    • rpc-file-mode (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • log-level (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • log-prefix (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • log-file (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • log-timestamps (object, optional):
      • value_bool (boolean): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • force-feerates (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • subdaemon (object, optional):
      • values_str (array of strings):
        • (string, optional): Field from config or cmdline.
      • sources (array of strings):
        • (string, optional): Source of configuration setting.
    • fetchinvoice-noconnect (object, optional):
      • set (boolean): true if set in config or cmdline.
      • source (string): Source of configuration setting.
      • plugin (string, optional): Plugin which registered this configuration setting. (added v23.08)
    • accept-htlc-tlv-types (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • tor-service-password (object, optional):
      • value_str (string): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • announce-addr-dns (object, optional):
      • value_bool (boolean): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • require-confirmed-inputs (object, optional):
      • value_bool (boolean): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • commit-fee (object, optional):
      • value_int (u64): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • commit-feerate-offset (object, optional):
      • value_int (u32): Field from config or cmdline, or default.
      • source (string): Source of configuration setting.
    • autoconnect-seeker-peers (object, optional) (added v24.11):
      • value_int (u32): Field from config or cmdline, or default. (added v24.11)
      • source (string): Source of configuration setting. (added v24.11)
  • # version (string, optional): Special field indicating the current version. deprecated in v23.08, removed after v24.02

  • plugins (array of objects, optional) deprecated in v23.08, removed after v24.02:

    • path (string): Full path of the plugin.
    • name (string): Short name of the plugin.
    • options (object, optional): Specific options set for this plugin.:
  • important-plugins (array of objects, optional) deprecated in v23.08, removed after v24.02:

    • path (string): Full path of the plugin.
    • name (string): Short name of the plugin.
    • options (object, optional): Specific options set for this plugin.:
  • conf (string, optional): conf field from cmdline, or default. deprecated in v23.08, removed after v24.02

  • lightning-dir (string, optional): lightning-dir field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • network (string, optional): network field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • allow-deprecated-apis (boolean, optional): allow-deprecated-apis field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • rpc-file (string, optional): rpc-file field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • disable-plugin (array of strings, optional) deprecated in v23.08, removed after v24.02:

    • (string, optional): disable-plugin field from config or cmdline.
  • bookkeeper-dir (string, optional): bookkeeper-dir field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • bookkeeper-db (string, optional): bookkeeper-db field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • always-use-proxy (boolean, optional): always-use-proxy field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • daemon (boolean, optional): daemon field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • wallet (string, optional): wallet field from config or cmdline default. deprecated in v23.08, removed after v24.02

  • large-channels (boolean, optional): large-channels field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • experimental-dual-fund (boolean, optional): experimental-dual-fund field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • experimental-splicing (boolean, optional): experimental-splicing field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • experimental-onion-messages (boolean, optional): experimental-onion-messages field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • experimental-offers (boolean, optional): experimental-offers field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • experimental-shutdown-wrong-funding (boolean, optional): experimental-shutdown-wrong-funding field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • experimental-peer-storage (boolean, optional): experimental-peer-storage field from config or cmdline, or default. deprecated in v23.08, removed after v24.02 (added v23.02)

  • experimental-quiesce (boolean, optional): experimental-quiesce field from config or cmdline, or default. deprecated in v23.08, removed after v24.02 (added v23.08)

  • experimental-upgrade-protocol (boolean, optional): experimental-upgrade-protocol field from config or cmdline, or default. deprecated in v23.08, removed after v24.02 (added v23.08)

  • invoices-onchain-fallback (boolean, optional): invoices-onchain-fallback field from config or cmdline, or default. (added v23.11)

  • database-upgrade (boolean, optional): database-upgrade field from config or cmdline. deprecated in v23.08, removed after v24.02

  • rgb (hex, optional) (always 6 characters): rgb field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • alias (string, optional): alias field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • pid-file (string, optional): pid-file field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • ignore-fee-limits (boolean, optional): ignore-fee-limits field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • watchtime-blocks (u32, optional): watchtime-blocks field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • max-locktime-blocks (u32, optional): max-locktime-blocks field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • funding-confirms (u32, optional): funding-confirms field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • cltv-delta (u32, optional): cltv-delta field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • cltv-final (u32, optional): cltv-final field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • commit-time (u32, optional): commit-time field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • fee-base (u32, optional): fee-base field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • rescan (integer, optional): rescan field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • fee-per-satoshi (u32, optional): fee-per-satoshi field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • max-concurrent-htlcs (u32, optional): max-concurrent-htlcs field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • htlc-minimum-msat (msat, optional): htlc-minimum-msat field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • htlc-maximum-msat (msat, optional): htlc-maximum-msat field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • max-dust-htlc-exposure-msat (msat, optional): max-dust-htlc-exposure-mast field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • min-capacity-sat (u64, optional): min-capacity-sat field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • addr (string, optional): addr field from config or cmdline (can be more than one). deprecated in v23.08, removed after v24.02

  • announce-addr (string, optional): announce-addr field from config or cmdline (can be more than one). deprecated in v23.08, removed after v24.02

  • bind-addr (string, optional): bind-addr field from config or cmdline (can be more than one). deprecated in v23.08, removed after v24.02

  • offline (boolean, optional): true if offline was set in config or cmdline. deprecated in v23.08, removed after v24.02

  • autolisten (boolean, optional): autolisten field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • proxy (string, optional): proxy field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • disable-dns (boolean, optional): true if disable-dns was set in config or cmdline. deprecated in v23.08, removed after v24.02

  • announce-addr-discovered (string, optional): true/false/auto depending on how announce-addr-discovered was set in config or cmdline. deprecated in v23.08, removed after v24.02 (added v23.02)

  • announce-addr-discovered-port (integer, optional): Sets the announced TCP port for dynamically discovered IPs. deprecated in v23.08, removed after v24.02 (added v23.02)

  • encrypted-hsm (boolean, optional): true if encrypted-hsm was set in config or cmdline. deprecated in v23.08, removed after v24.02

  • rpc-file-mode (string, optional): rpc-file-mode field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • log-level (string, optional): log-level field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • log-prefix (string, optional): log-prefix field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • log-file (string, optional): log-file field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • log-timestamps (boolean, optional): log-timestamps field from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • force-feerates (string, optional): Force-feerate configuration setting, if any. deprecated in v23.08, removed after v24.02

  • subdaemon (string, optional): subdaemon fields from config or cmdline if any (can be more than one). deprecated in v23.08, removed after v24.02

  • fetchinvoice-noconnect (boolean, optional): fetchinvoice-noconnect fields from config or cmdline, or default. deprecated in v23.08, removed after v24.02

  • accept-htlc-tlv-types (string, optional): accept-htlc-tlv-types field from config or cmdline, or not present. deprecated in v23.08, removed after v24.02

  • tor-service-password (string, optional): tor-service-password field from config or cmdline, if any. deprecated in v23.08, removed after v24.02

  • dev-allowdustreserve (boolean, optional): Whether we allow setting dust reserves. deprecated in v23.08, removed after v24.02

  • announce-addr-dns (boolean, optional): Whether we put DNS entries into node_announcement. deprecated in v23.08, removed after v24.02 (added v22.11.1)

  • require-confirmed-inputs (boolean, optional): Request peers to only send confirmed inputs (dual-fund only). deprecated in v23.08, removed after v24.02

  • developer (boolean, optional): Whether developer mode is enabled. (added v23.08)

  • commit-fee (u64, optional): The percentage of the 6-block fee estimate to use for commitment transactions. deprecated in v23.08, removed after v24.02 (added v23.05)

  • min-emergency-msat (msat, optional): Field from config or cmdline, or default. (added v23.08)

  • commit-feerate-offset (u32, optional): Additional commitment feerate applied by channel owner. (added v23.11)

  • autoconnect-seeker-peers (u32, optional): Minimum number of gossip peers. Seeker connects to random nodes until this number is reached. (added v24.11)

ERRORS

On failure, one of the following error codes may be returned:

  • -32602: Error in given parameters or field with config name doesn't exist.

AUTHOR

Vincenzo Palazzo <[email protected]> wrote the initial version of this man page,
but many others did the hard work of actually implementing this rpc command.

SEE ALSO

lightning-getinfo(7), lightningd-config(5)

RESOURCES

Main web site: https://github.com/ElementsProject/lightning

EXAMPLES

Example 1:

Request:

lightning-cli listconfigs -k "config"="network"
{
  "id": "example:listconfigs#1",
  "method": "listconfigs",
  "params": {
    "config": "network"
  }
}

Response:

{
  "configs": {
    "network": {
      "value_str": "regtest",
      "source": "cmdline"
    }
  }
}

Example 2:

Request:

lightning-cli listconfigs -k "config"="experimental-dual-fund"
{
  "id": "example:listconfigs#2",
  "method": "listconfigs",
  "params": {
    "config": "experimental-dual-fund"
  }
}

Response:

{
  "configs": {
    "experimental-dual-fund": {
      "set": true,
      "source": "cmdline"
    }
  }
}

Example 3:

Request:

lightning-cli listconfigs
{
  "id": "example:listconfigs#3",
  "method": "listconfigs",
  "params": {}
}

Response:

{
  "configs": {
    "accept-htlc-tlv-type": {
      "values_int": [],
      "sources": []
    },
    "addr": {
      "values_str": [
        "127.0.0.1:19735"
      ],
      "sources": [
        "cmdline"
      ]
    },
    "alias": {
      "value_str": "SILENTARTIST",
      "source": "default"
    },
    "allow-deprecated-apis": {
      "value_bool": true,
      "source": "cmdline"
    },
    "always-use-proxy": {
      "value_bool": false,
      "source": "default"
    },
    "announce-addr": {
      "values_str": [],
      "sources": []
    },
    "announce-addr-discovered": {
      "value_str": "auto",
      "source": "default"
    },
    "announce-addr-discovered-port": {
      "value_int": 19846,
      "source": "default"
    },
    "autoclean-cycle": {
      "value_int": 3600,
      "source": "default",
      "plugin": "/root/lightning/plugins/autoclean",
      "dynamic": true
    },
    "autoclean-expiredinvoices-age": {
      "value_int": 300,
      "source": "/tmp/.lightning/regtest/config:2",
      "plugin": "/root/lightning/plugins/autoclean",
      "dynamic": true
    },
    "autoconnect-seeker-peers": {
      "value_int": 0,
      "source": "cmdline"
    },
    "autolisten": {
      "value_bool": false,
      "source": "default"
    },
    "bind-addr": {
      "values_str": [],
      "sources": []
    },
    "bitcoin-datadir": {
      "value_str": "/tmp/.lightning/",
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-retry-timeout": {
      "value_int": 60,
      "source": "default",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-rpcclienttimeout": {
      "value_int": 60,
      "source": "default",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-rpcpassword": {
      "value_str": "rpcpass",
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-rpcport": {
      "value_int": 18332,
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-rpcuser": {
      "value_str": "rpcuser",
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "clear-plugins": {
      "set": false,
      "source": "default"
    },
    "cltv-delta": {
      "value_int": 6,
      "source": "cmdline"
    },
    "cltv-final": {
      "value_int": 5,
      "source": "cmdline"
    },
    "commit-fee": {
      "value_int": 100,
      "source": "default"
    },
    "commit-feerate-offset": {
      "value_int": 5,
      "source": "default"
    },
    "commit-time": {
      "value_int": 10,
      "source": "default"
    },
    "daemon": {
      "set": false,
      "source": "default"
    },
    "dev-autoclean-max-batch": {
      "value_int": 100,
      "source": "default",
      "plugin": "/root/lightning/plugins/autoclean",
      "dynamic": true
    },
    "dev-bitcoind-poll": {
      "value_int": 3,
      "source": "cmdline"
    },
    "dev-fail-on-subdaemon-fail": {
      "set": true,
      "source": "cmdline"
    },
    "dev-fast-gossip": {
      "set": true,
      "source": "cmdline"
    },
    "dev-hsmd-no-preapprove-check": {
      "set": true,
      "source": "cmdline"
    },
    "dev-invoice-bpath-scid": {
      "set": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/offers"
    },
    "dev-no-plugin-checksum": {
      "set": true,
      "source": "cmdline"
    },
    "dev-no-version-checks": {
      "set": true,
      "source": "cmdline"
    },
    "developer": {
      "set": true,
      "source": "cmdline"
    },
    "disable-dns": {
      "set": true,
      "source": "cmdline"
    },
    "disable-mpp": {
      "set": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/pay"
    },
    "disable-plugin": {
      "values_str": [],
      "sources": []
    },
    "encrypted-hsm": {
      "set": false,
      "source": "default"
    },
    "experimental-dual-fund": {
      "set": true,
      "source": "cmdline"
    },
    "experimental-peer-storage": {
      "set": false,
      "source": "default"
    },
    "experimental-quiesce": {
      "set": false,
      "source": "default"
    },
    "experimental-shutdown-wrong-funding": {
      "set": false,
      "source": "default"
    },
    "experimental-splicing": {
      "set": false,
      "source": "default"
    },
    "experimental-upgrade-protocol": {
      "set": false,
      "source": "default"
    },
    "exposesecret-passphrase": {
      "value_str": "...",
      "source": "default",
      "plugin": "/root/lightning/plugins/exposesecret"
    },
    "fee-base": {
      "value_int": 1,
      "source": "default"
    },
    "fee-per-satoshi": {
      "value_int": 10,
      "source": "default"
    },
    "fetchinvoice-noconnect": {
      "set": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/offers"
    },
    "funder-fund-probability": {
      "value_int": 100,
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-fuzz-percent": {
      "value_int": 0,
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-lease-requests-only": {
      "value_bool": true,
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-max-their-funding": {
      "value_str": "4294967295sat",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-min-their-funding": {
      "value_str": "10000sat",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-per-channel-max": {
      "value_str": "4294967295sat",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-per-channel-min": {
      "value_str": "10000sat",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-policy": {
      "value_str": "fixed",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-policy-mod": {
      "value_str": "0",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-reserve-tank": {
      "value_str": "0sat",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funding-confirms": {
      "value_int": 1,
      "source": "default"
    },
    "grpc-host": {
      "value_str": "127.0.0.1",
      "source": "default",
      "plugin": "/root/lightning/plugins/cln-grpc"
    },
    "grpc-msg-buffer-size": {
      "value_int": 1024,
      "source": "default",
      "plugin": "/root/lightning/plugins/cln-grpc"
    },
    "grpc-port": {
      "value_int": 9736,
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/cln-grpc"
    },
    "htlc-maximum-msat": {
      "value_msat": 18446744073709552000,
      "source": "default"
    },
    "htlc-minimum-msat": {
      "value_msat": 0,
      "source": "default"
    },
    "i-promise-to-fix-broken-api-user": {
      "values_str": [],
      "sources": []
    },
    "ignore-fee-limits": {
      "value_bool": false,
      "source": "cmdline"
    },
    "important-plugin": {
      "values_str": [],
      "sources": []
    },
    "invoices-onchain-fallback": {
      "set": false,
      "source": "default"
    },
    "lightning-dir": {
      "value_str": "/tmp/.lightning/",
      "source": "cmdline"
    },
    "log-file": {
      "values_str": [
        "-",
        "/tmp/.lightning/log"
      ],
      "sources": [
        "cmdline",
        "cmdline"
      ]
    },
    "log-level": {
      "value_str": "debug",
      "source": "cmdline"
    },
    "log-prefix": {
      "value_str": "lightningd-2 ",
      "source": "cmdline"
    },
    "log-timestamps": {
      "value_bool": true,
      "source": "default"
    },
    "mainnet": {
      "set": false,
      "source": "default"
    },
    "max-concurrent-htlcs": {
      "value_int": 483,
      "source": "default"
    },
    "max-dust-htlc-exposure-msat": {
      "value_msat": 50000000,
      "source": "default"
    },
    "min-capacity-sat": {
      "value_int": 500000,
      "source": "/tmp/.lightning/regtest/config:4",
      "dynamic": true
    },
    "min-emergency-msat": {
      "value_msat": 25000000,
      "source": "default"
    },
    "network": {
      "value_str": "regtest",
      "source": "cmdline"
    },
    "offline": {
      "set": false,
      "source": "default"
    },
    "pid-file": {
      "value_str": "/tmp/.lightning/lightningd-regtest.pid",
      "source": "default"
    },
    "plugin": {
      "values_str": [],
      "sources": []
    },
    "plugin-dir": {
      "values_str": [],
      "sources": []
    },
    "regtest": {
      "set": false,
      "source": "default"
    },
    "renepay-debug-mcf": {
      "set": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/cln-renepay"
    },
    "renepay-debug-payflow": {
      "set": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/cln-renepay"
    },
    "require-confirmed-inputs": {
      "value_bool": false,
      "source": "default"
    },
    "rescan": {
      "value_int": 1,
      "source": "cmdline"
    },
    "rgb": {
      "value_str": "022d22",
      "source": "default"
    },
    "rpc-file": {
      "value_str": "lightning-rpc",
      "source": "default"
    },
    "rpc-file-mode": {
      "value_str": "0600",
      "source": "default"
    },
    "signet": {
      "set": false,
      "source": "default"
    },
    "subdaemon": {
      "values_str": [],
      "sources": []
    },
    "testnet": {
      "set": false,
      "source": "default"
    },
    "watchtime-blocks": {
      "value_int": 5,
      "source": "cmdline"
    },
    "xpay-handle-pay": {
      "value_bool": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/cln-xpay",
      "dynamic": true
    }
  }
}

Core Lightning (previously c-lightning) is a lightweight, highly customizable and standard compliant implementation of the Lightning Network protocol.

© 2023 Core Lightning
All rights reserved.

Discussion Forum

The official Core Lightning forum is hosted at discuss.corelightning.org

BuildonL2 Community

The official BuildOnL2 community lives at community.corelightning.org. Join us and build the future of bitcoin on lightning.

Mailing List

For general discussions about CLN implementation, use [email protected]. For the Lightning Network, use [email protected]

Telegram

Community-driven telegram group where most of the node operators hang out. Go to https://t.me/lightningd to join.

Discord

Community-driven discord server where the devs flock together. Go to https://discord.gg/w27fMFESMN to join.

Internet Relay Chat

Don't hesitate to reach out to us on IRC at #lightning-dev @ libera.chat, #c-lightning @ libera.chat.