From 8dd51d127fff01b9302009906dcbdc83ea3b6548 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Sat, 14 May 2022 10:31:10 +0300 Subject: [PATCH] Restore description of "reserved" field for listfunds It was lost in 2296d4452f7ba5f112fbf5700974a31dadb66fb4. --- doc/lightning-listfunds.7.md | 3 ++- doc/schemas/listfunds.schema.json | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/lightning-listfunds.7.md b/doc/lightning-listfunds.7.md index aa903207b..d2dc247fd 100644 --- a/doc/lightning-listfunds.7.md +++ b/doc/lightning-listfunds.7.md @@ -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 @@ -67,4 +68,4 @@ RESOURCES Main web site: -[comment]: # ( SHA256STAMP:959d54ed855f9f5d64148f5acf4a0bbb4bc1503e610ddae5ab4c04fd397af0b3) +[comment]: # ( SHA256STAMP:e2b4f817ca6032ab4421fccaba226c03e0995c8dbfbfeb2f7c8572987ffe7dc4) diff --git a/doc/schemas/listfunds.schema.json b/doc/schemas/listfunds.schema.json index e7a9c0af9..bd1f73382 100644 --- a/doc/schemas/listfunds.schema.json +++ b/doc/schemas/listfunds.schema.json @@ -56,6 +56,10 @@ "confirmed", "spent" ] + }, + "reserved": { + "type": "boolean", + "description": "whether this UTXO is currently reserved for an in-flight tx" } }, "allOf": [