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.
  • # 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)

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:

{
  "network": "regtest",
  "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:

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

Example 3:

Request:

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

Response:

{
  "# version": "v24.05-190-g5fd2f9c-modded",
  "developer": true,
  "lightning-dir": "/tmp/.lightning/",
  "network": "regtest",
  "rpc-file": "lightning-rpc",
  "allow-deprecated-apis": true,
  "plugins": [
    {
      "path": "/root/lightning/plugins/cln-renepay",
      "name": "cln-renepay",
      "options": {}
    }
  ],
  "important-plugins": [
    {
      "path": "/root/lightning/plugins/autoclean",
      "name": "autoclean",
      "options": {
        "autoclean-cycle": 3600,
        "dev-autoclean-max-batch": 10000
      }
    },
    {
      "path": "/root/lightning/plugins/chanbackup",
      "name": "chanbackup"
    },
    {
      "path": "/root/lightning/plugins/bcli",
      "name": "bcli",
      "options": {
        "bitcoin-datadir": "/tmp/.lightning/",
        "bitcoin-rpcuser": "rpcuser",
        "bitcoin-rpcpassword": "rpcpass",
        "bitcoin-rpcport": 51251,
        "bitcoin-rpcclienttimeout": 60,
        "bitcoin-retry-timeout": 60
      }
    },
    {
      "path": "/root/lightning/plugins/commando",
      "name": "commando"
    },
    {
      "path": "/root/lightning/plugins/funder",
      "name": "funder",
      "options": {
        "funder-policy": "fixed",
        "funder-policy-mod": "0",
        "funder-min-their-funding": "10000sat",
        "funder-max-their-funding": "4294967295sat",
        "funder-per-channel-min": "10000sat",
        "funder-per-channel-max": "4294967295sat",
        "funder-reserve-tank": "0sat",
        "funder-fuzz-percent": 0,
        "funder-fund-probability": 100,
        "funder-lease-requests-only": true
      }
    },
    {
      "path": "/root/lightning/plugins/topology",
      "name": "topology"
    },
    {
      "path": "/root/lightning/plugins/keysend",
      "name": "keysend"
    },
    {
      "path": "/root/lightning/plugins/offers",
      "name": "offers",
      "options": {}
    },
    {
      "path": "/root/lightning/plugins/pay",
      "name": "pay",
      "options": {}
    },
    {
      "path": "/root/lightning/plugins/recover",
      "name": "recover"
    },
    {
      "path": "/root/lightning/plugins/txprepare",
      "name": "txprepare"
    },
    {
      "path": "/root/lightning/plugins/spenderp",
      "name": "spenderp"
    },
    {
      "path": "/root/lightning/plugins/sql",
      "name": "sql",
      "options": {}
    },
    {
      "path": "/root/lightning/plugins/bookkeeper",
      "name": "bookkeeper",
      "options": {}
    }
  ],
  "disable-plugin": [],
  "always-use-proxy": false,
  "daemon": false,
  "wallet": "sqlite3:///tmp/.lightning/regtest/lightningd.sqlite3",
  "experimental-dual-fund": true,
  "experimental-splicing": false,
  "experimental-offers": true,
  "experimental-shutdown-wrong-funding": false,
  "experimental-peer-storage": false,
  "experimental-quiesce": false,
  "rgb": "022d22",
  "alias": "SILENTARTIST-190-g5fd2f9c-modded",
  "pid-file": "/tmp/.lightning/lightningd-regtest.pid",
  "ignore-fee-limits": false,
  "watchtime-blocks": 5,
  "funding-confirms": 1,
  "require-confirmed-inputs": false,
  "cltv-delta": 6,
  "cltv-final": 5,
  "commit-time": 10,
  "fee-base": 1,
  "rescan": 1,
  "fee-per-satoshi": 10,
  "htlc-minimum-msat": 0,
  "htlc-maximum-msat": 18446744073709552000,
  "max-concurrent-htlcs": 483,
  "max-dust-htlc-exposure-msat": 50000000,
  "min-capacity-sat": 10000,
  "addr": "127.0.0.1:41219",
  "announce-addr-discovered": "auto",
  "announce-addr-discovered-port": 19846,
  "offline": false,
  "autolisten": false,
  "disable-dns": true,
  "encrypted-hsm": false,
  "rpc-file-mode": "0600",
  "commit-fee": 100,
  "commit-feerate-offset": 5,
  "min-emergency-msat": 25000000,
  "experimental-upgrade-protocol": false,
  "invoices-onchain-fallback": false,
  "log-level": "debug",
  "log-timestamps": true,
  "log-prefix": "lightningd-2 ",
  "log-file": "/tmp/.lightning/log",
  "configs": {
    "developer": {
      "set": true,
      "source": "cmdline"
    },
    "lightning-dir": {
      "value_str": "/tmp/.lightning/",
      "source": "cmdline"
    },
    "network": {
      "value_str": "regtest",
      "source": "cmdline"
    },
    "testnet": {
      "set": false,
      "source": "default"
    },
    "signet": {
      "set": false,
      "source": "default"
    },
    "mainnet": {
      "set": false,
      "source": "default"
    },
    "regtest": {
      "set": false,
      "source": "default"
    },
    "rpc-file": {
      "value_str": "lightning-rpc",
      "source": "default"
    },
    "allow-deprecated-apis": {
      "value_bool": true,
      "source": "cmdline"
    },
    "plugin": {
      "values_str": [],
      "sources": []
    },
    "plugin-dir": {
      "values_str": [],
      "sources": []
    },
    "clear-plugins": {
      "set": false,
      "source": "default"
    },
    "disable-plugin": {
      "values_str": [],
      "sources": []
    },
    "important-plugin": {
      "values_str": [],
      "sources": []
    },
    "always-use-proxy": {
      "value_bool": false,
      "source": "default"
    },
    "daemon": {
      "set": false,
      "source": "default"
    },
    "experimental-dual-fund": {
      "set": true,
      "source": "cmdline"
    },
    "experimental-splicing": {
      "set": false,
      "source": "default"
    },
    "experimental-offers": {
      "set": true,
      "source": "cmdline"
    },
    "experimental-shutdown-wrong-funding": {
      "set": false,
      "source": "default"
    },
    "experimental-peer-storage": {
      "set": false,
      "source": "default"
    },
    "experimental-quiesce": {
      "set": false,
      "source": "default"
    },
    "rgb": {
      "value_str": "022d22",
      "source": "default"
    },
    "alias": {
      "value_str": "SILENTARTIST-190-g5fd2f9c-modded",
      "source": "default"
    },
    "pid-file": {
      "value_str": "/tmp/.lightning/lightningd-regtest.pid",
      "source": "default"
    },
    "ignore-fee-limits": {
      "value_bool": false,
      "source": "cmdline"
    },
    "watchtime-blocks": {
      "value_int": 5,
      "source": "cmdline"
    },
    "funding-confirms": {
      "value_int": 1,
      "source": "default"
    },
    "require-confirmed-inputs": {
      "value_bool": false,
      "source": "default"
    },
    "cltv-delta": {
      "value_int": 6,
      "source": "cmdline"
    },
    "cltv-final": {
      "value_int": 5,
      "source": "cmdline"
    },
    "commit-time": {
      "value_int": 10,
      "source": "default"
    },
    "fee-base": {
      "value_int": 1,
      "source": "default"
    },
    "rescan": {
      "value_int": 1,
      "source": "cmdline"
    },
    "fee-per-satoshi": {
      "value_int": 10,
      "source": "default"
    },
    "htlc-minimum-msat": {
      "value_msat": 0,
      "source": "default"
    },
    "htlc-maximum-msat": {
      "value_msat": 18446744073709552000,
      "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": 10000,
      "source": "default",
      "dynamic": true
    },
    "addr": {
      "values_str": [
        "127.0.0.1:41219"
      ],
      "sources": [
        "cmdline"
      ]
    },
    "bind-addr": {
      "values_str": [],
      "sources": []
    },
    "announce-addr": {
      "values_str": [],
      "sources": []
    },
    "announce-addr-discovered": {
      "value_str": "auto",
      "source": "default"
    },
    "announce-addr-discovered-port": {
      "value_int": 19846,
      "source": "default"
    },
    "offline": {
      "set": false,
      "source": "default"
    },
    "autolisten": {
      "value_bool": false,
      "source": "default"
    },
    "accept-htlc-tlv-type": {
      "values_int": [],
      "sources": []
    },
    "disable-dns": {
      "set": true,
      "source": "cmdline"
    },
    "encrypted-hsm": {
      "set": false,
      "source": "default"
    },
    "rpc-file-mode": {
      "value_str": "0600",
      "source": "default"
    },
    "commit-fee": {
      "value_int": 100,
      "source": "default"
    },
    "commit-feerate-offset": {
      "value_int": 5,
      "source": "default"
    },
    "min-emergency-msat": {
      "value_msat": 25000000,
      "source": "default"
    },
    "subdaemon": {
      "values_str": [],
      "sources": []
    },
    "experimental-upgrade-protocol": {
      "set": false,
      "source": "default"
    },
    "invoices-onchain-fallback": {
      "set": false,
      "source": "default"
    },
    "i-promise-to-fix-broken-api-user": {
      "values_str": [],
      "sources": []
    },
    "log-level": {
      "value_str": "debug",
      "source": "cmdline"
    },
    "log-timestamps": {
      "value_bool": true,
      "source": "default"
    },
    "log-prefix": {
      "value_str": "lightningd-2 ",
      "source": "cmdline"
    },
    "log-file": {
      "values_str": [
        "-",
        "/tmp/.lightning/log"
      ],
      "sources": [
        "cmdline",
        "cmdline"
      ]
    },
    "dev-fail-on-subdaemon-fail": {
      "set": true,
      "source": "cmdline"
    },
    "dev-bitcoind-poll": {
      "value_int": 3,
      "source": "cmdline"
    },
    "dev-fast-gossip": {
      "set": true,
      "source": "cmdline"
    },
    "dev-hsmd-no-preapprove-check": {
      "set": true,
      "source": "cmdline"
    },
    "autoclean-cycle": {
      "value_int": 3600,
      "source": "default",
      "plugin": "/root/lightning/plugins/autoclean",
      "dynamic": true
    },
    "dev-autoclean-max-batch": {
      "value_int": 10000,
      "source": "default",
      "plugin": "/root/lightning/plugins/autoclean",
      "dynamic": true
    },
    "bitcoin-datadir": {
      "value_str": "/tmp/.lightning/",
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-rpcuser": {
      "value_str": "rpcuser",
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-rpcpassword": {
      "value_str": "rpcpass",
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-rpcport": {
      "value_int": 51251,
      "source": "cmdline",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-rpcclienttimeout": {
      "value_int": 60,
      "source": "default",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "bitcoin-retry-timeout": {
      "value_int": 60,
      "source": "default",
      "plugin": "/root/lightning/plugins/bcli"
    },
    "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-min-their-funding": {
      "value_str": "10000sat",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-max-their-funding": {
      "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-per-channel-max": {
      "value_str": "4294967295sat",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-reserve-tank": {
      "value_str": "0sat",
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-fuzz-percent": {
      "value_int": 0,
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-fund-probability": {
      "value_int": 100,
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "funder-lease-requests-only": {
      "value_bool": true,
      "source": "default",
      "plugin": "/root/lightning/plugins/funder"
    },
    "fetchinvoice-noconnect": {
      "set": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/offers"
    },
    "dev-invoice-bpath-scid": {
      "set": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/offers"
    },
    "disable-mpp": {
      "set": false,
      "source": "default",
      "plugin": "/root/lightning/plugins/pay"
    },
    "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"
    }
  }
}

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.