-
Notifications
You must be signed in to change notification settings - Fork 940
listchannels not seeing own unannounced channels? #8248
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
Comments
Looking at the changelog: The reason your unannounced channels don't show up when querying by SCID is that listchannels only looks at the gossip map, which only contains announced channels. Even if you know the SCID of an unannounced channel, it won't be found because it's not in the gossip map. let me know if this help! |
The documentation for listchannel says: "The listchannels RPC command returns data on channels that are known to the node." Some plugins such as rebalance seem to assume that, so they do not work with unannounced local channels. Unless I am mistaken I think even one of the pay commands had issues with this. Was the intent of listchannels to really exclude unannounced local channels as currently done, or was it to include all known channels as documented? I would tend to think that the local announced channels should be added to listchannels to be more usable without having to extract the information using listpeerchannels after a failed attempt with listchannels, but otherwise the documentation should be changed? |
listchannels returns empty when I query any of my unannounced channels using their scid. How can I fix this?
The text was updated successfully, but these errors were encountered: