From c63d9e60f8948fa53a625a59bc1b9a296060afc5 Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Mon, 7 Feb 2022 20:07:27 +0100 Subject: [PATCH] Add short_channel_id to listchannels.schema.json This was previously marked as required, but not actually defined in properties. [ Regenerated listchannels manpage -- RR ] --- doc/lightning-listchannels.7.md | 3 ++- doc/lightning-listpeers.7.md | 2 +- doc/schemas/listchannels.schema.json | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/lightning-listchannels.7.md b/doc/lightning-listchannels.7.md index 1cc762ec1..668b060fb 100644 --- a/doc/lightning-listchannels.7.md +++ b/doc/lightning-listchannels.7.md @@ -34,6 +34,7 @@ RETURN VALUE On success, an object containing **channels** is returned. It is an array of objects, where each object contains: - **source** (pubkey): the source node - **destination** (pubkey): the destination node +- **short_channel_id** (short_channel_id): short channel id of channel - **public** (boolean): true if this is announced (otherwise it must be our channel) - **amount_msat** (msat): the total capacity of this channel (always a whole number of satoshis) - **message_flags** (u8): as defined by BOLT #7 @@ -77,4 +78,4 @@ Lightning RFC site - BOLT \#7: -[comment]: # ( SHA256STAMP:c2ebd6407a66ad5f67b5fd933552a468e306b1fed7868f92985c24e321861fae) +[comment]: # ( SHA256STAMP:e27d51a95411739ee10b082beaca55e33de4b2177b0e39df2223700c3141bc02) diff --git a/doc/lightning-listpeers.7.md b/doc/lightning-listpeers.7.md index 17a48d81f..fc37753e2 100644 --- a/doc/lightning-listpeers.7.md +++ b/doc/lightning-listpeers.7.md @@ -377,4 +377,4 @@ Main web site: Lightning RFC site (BOLT \#9): -[comment]: # ( SHA256STAMP:444080f602bbce7d86bc7c38a4a2b1186a31c63d6b747d92c5aa4711dd9118c1) +[comment]: # ( SHA256STAMP:d45de73a968bcc3e7fb699f0acd7a27a4c70d9e9fded8af8c684a71fe012f1ce) diff --git a/doc/schemas/listchannels.schema.json b/doc/schemas/listchannels.schema.json index a187e6196..8d95dd87f 100644 --- a/doc/schemas/listchannels.schema.json +++ b/doc/schemas/listchannels.schema.json @@ -36,6 +36,10 @@ "type": "pubkey", "description": "the destination node" }, + "short_channel_id": { + "type": "short_channel_id", + "description": "short channel id of channel" + }, "public": { "type": "boolean", "description": "true if this is announced (otherwise it must be our channel)"