You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While managing my node, I frequently want to see the details of a particular channel whose SCID I readily know but whose peer node ID I do not have at hand. It would be nice if listpeerchannels could accept a SCID as its id argument as an alternative to a node ID.
And yes, I know I can pass a SCID to listchannels to find the node ID of the peer, although that seems only to work for published channels that gossipd knows about. (I have failed to find my own private channels using that command.) Alternatively, I know I can also dump all of my channels by calling listpeerchannels with no id argument and then filtering the results manually, but it would be nice if I didn't have to jump through all the extra hoops. Asking listpeerchannels for a particular channel by SCID seems natural.
The text was updated successfully, but these errors were encountered:
Requested-by: @whitslackCloses: ElementsProject#8233
Changelog-Added: JSON-RPC: `listpeerchannels` now has a `short_channel_id` parameter for just listing a specific channel.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
While managing my node, I frequently want to see the details of a particular channel whose SCID I readily know but whose peer node ID I do not have at hand. It would be nice if
listpeerchannels
could accept a SCID as itsid
argument as an alternative to a node ID.And yes, I know I can pass a SCID to
listchannels
to find the node ID of the peer, although that seems only to work for published channels that gossipd knows about. (I have failed to find my own private channels using that command.) Alternatively, I know I can also dump all of my channels by callinglistpeerchannels
with noid
argument and then filtering the results manually, but it would be nice if I didn't have to jump through all the extra hoops. Askinglistpeerchannels
for a particular channel by SCID seems natural.The text was updated successfully, but these errors were encountered: