Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add private status or channel flags to opening pending channels #6100

Open
alexbosworth opened this issue Dec 19, 2021 · 0 comments
Open

Add private status or channel flags to opening pending channels #6100

alexbosworth opened this issue Dec 19, 2021 · 0 comments
Labels
beginner enhancement good first issue rpc

Comments

@alexbosworth
Copy link
Contributor

@alexbosworth alexbosworth commented Dec 19, 2021

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 PendingChannelsResponse would include the channel flags or the private/public status of the channel to know which type of channel is opening.

Your environment

  • lnd 0.14.1

Workaround

A way to find the status of an incoming pending channel is to intercept open channel requests with the ChannelAcceptor API. This API reveals the bit flag features of the channel and through this the private or public status can be ascertained.

@Roasbeef Roasbeef added beginner enhancement good first issue rpc labels Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner enhancement good first issue rpc
Projects
None yet
Development

No branches or pull requests

2 participants