mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
lightningd: return features in connect response.
This is useful in general, but in particular it allows fundchannel to avoid YA query to figure out if it can wumbo. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON: `connect` returns `features` of the connected peer on success.
This commit is contained in:
3
doc/lightning-connect.7
generated
3
doc/lightning-connect.7
generated
@@ -42,7 +42,8 @@ another node\. Once the peer is connected a channel can be opened with
|
||||
|
||||
.SH RETURN VALUE
|
||||
|
||||
On success the peer \fIid\fR is returned\.
|
||||
On success the peer \fIid\fR is returned, as well as a hexidecimal \fIfeatures\fR
|
||||
bitmap\.
|
||||
|
||||
.SH ERRORS
|
||||
|
||||
|
||||
@@ -39,7 +39,8 @@ lightning-fundchannel(7).
|
||||
RETURN VALUE
|
||||
------------
|
||||
|
||||
On success the peer *id* is returned.
|
||||
On success the peer *id* is returned, as well as a hexidecimal *features*
|
||||
bitmap.
|
||||
|
||||
ERRORS
|
||||
------
|
||||
|
||||
Reference in New Issue
Block a user