Add private status or channel flags to opening pending channels #6100
Labels
beginner
Issues suitable for new developers
enhancement
Improvements to existing features / behaviour
good first issue
Issues suitable for first time contributors to LND
rpc
Related to the RPC interface
In the output of list channels the private/public status of the channel is returned, but in the output of pending channels the status is not revealed. To allow for recognizing a pending open channel as a private requires waiting for the channel to confirm.
Ideally the
PendingChannelsResponsewould include the channel flags or the private/public status of the channel to know which type of channel is opening.Your environment
Workaround
A way to find the status of an incoming pending channel is to intercept open channel requests with the
ChannelAcceptorAPI. This API reveals the bit flag features of the channel and through this the private or public status can be ascertained.The text was updated successfully, but these errors were encountered: