You can't start a list without a paragraph separator.
```diff
--- /tmp/before 2022-07-20 22:02:23.485372596 +0930
+++ /tmp/after 2022-07-20 22:02:33.745528456 +0930
@@ -21,12 +21,16 @@
On startup of the daemon, no autoclean is set up.
RETURN VALUE
- On success, an object is returned, containing: - enabled (boolean):
- whether invoice autocleaning is active
+ On success, an object is returned, containing:
- If enabled is true: - expired_by (u64): how long an invoice must be ex‐
- pired (seconds) before we delete it - cycle_seconds (u64): how long an
- invoice must be expired (seconds) before we delete it
+ • enabled (boolean): whether invoice autocleaning is active
+
+ If enabled is true:
+
+ • expired_by (u64): how long an invoice must be expired (seconds) be‐
+ fore we delete it
+ • cycle_seconds (u64): how long an invoice must be expired (seconds)
+ before we delete it
AUTHOR
ZmnSCPxj <ZmnSCPxj@protonmail.com> is mainly responsible.
```
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
3.0 KiB
lightning-listfunds -- Command showing all funds currently managed by the Core Lightning node
SYNOPSIS
listfunds [spent]
DESCRIPTION
The listfunds RPC command displays all funds available, either in unspent outputs (UTXOs) in the internal wallet or funds locked in currently open channels.
spent is a boolean: if true, then the outputs will include spent outputs in addition to the unspent ones. Default is false.
RETURN VALUE
On success, an object is returned, containing:
-
outputs (array of objects):
- txid (txid): the ID of the spendable transaction
- output (u32): the index within txid
- amount_msat (msat): the amount of the output
- scriptpubkey (hex): the scriptPubkey of the output
- status (string) (one of "unconfirmed", "confirmed", "spent")
- reserved (boolean): whether this UTXO is currently reserved for an in-flight tx
- address (string, optional): the bitcoin address of the output
- redeemscript (hex, optional): the redeemscript, only if it's p2sh-wrapped
If status is "confirmed":
- blockheight (u32): Block height where it was confirmed
If reserved is "true":
- reserved_to_block (u32): Block height where reservation will expire
-
channels (array of objects):
- peer_id (pubkey): the peer with which the channel is opened
- our_amount_msat (msat): available satoshis on our node's end of the channel
- amount_msat (msat): total channel value
- funding_txid (txid): funding transaction id
- funding_output (u32): the 0-based index of the output in the funding transaction
- connected (boolean): whether the channel peer is connected
- state (string): the channel state, in particular "CHANNELD_NORMAL" means the channel can be used normally (one of "OPENINGD", "CHANNELD_AWAITING_LOCKIN", "CHANNELD_NORMAL", "CHANNELD_SHUTTING_DOWN", "CLOSINGD_SIGEXCHANGE", "CLOSINGD_COMPLETE", "AWAITING_UNILATERAL", "FUNDING_SPEND_SEEN", "ONCHAIN", "DUALOPEND_OPEN_INIT", "DUALOPEND_AWAITING_LOCKIN")
If state is "CHANNELD_NORMAL":
- short_channel_id (short_channel_id): short channel id of channel
If state is "CHANNELD_SHUTTING_DOWN", "CLOSINGD_SIGEXCHANGE", "CLOSINGD_COMPLETE", "AWAITING_UNILATERAL", "FUNDING_SPEND_SEEN" or "ONCHAIN":
- short_channel_id (short_channel_id, optional): short channel id of channel (only if funding reached lockin depth before closing)
AUTHOR
Felix <fixone@gmail.com> is mainly responsible.
SEE ALSO
lightning-newaddr(7), lightning-fundchannel(7), lightning-withdraw(7), lightning-listtransactions(7)
RESOURCES
Main web site: https://github.com/ElementsProject/lightning