Skip to content

Commit

Permalink
Restore description of "reserved" field for listfunds
Browse files Browse the repository at this point in the history
It was lost in 2296d44.
  • Loading branch information
kristapsk authored and rustyrussell committed May 17, 2022
1 parent c78b349 commit 8dd51d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/lightning-listfunds.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ On success, an object is returned, containing:
- **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

Expand Down Expand Up @@ -67,4 +68,4 @@ RESOURCES

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

[comment]: # ( SHA256STAMP:959d54ed855f9f5d64148f5acf4a0bbb4bc1503e610ddae5ab4c04fd397af0b3)
[comment]: # ( SHA256STAMP:e2b4f817ca6032ab4421fccaba226c03e0995c8dbfbfeb2f7c8572987ffe7dc4)
4 changes: 4 additions & 0 deletions doc/schemas/listfunds.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
"confirmed",
"spent"
]
},
"reserved": {
"type": "boolean",
"description": "whether this UTXO is currently reserved for an in-flight tx"
}
},
"allOf": [
Expand Down

0 comments on commit 8dd51d1

Please sign in to comment.