lightning
lightning copied to clipboard
grpc - plugin-topology: disallowing deprecated listchannels.include_private
Issue and Steps to Reproduce
In cln 24.02rc2
When calling ListChannels
through the grpc api, the following message is logged in the log.
plugin-topology: Note: disallowing deprecated listchannels.include_private for \"1/cln:listchannels#80\"
The channel I'm looking for is not found by the listchannels call.
Note that there is no option for include_private
in the grpc ListChannelsRequest
.
This causes my integration tests to fail on cln 24.02rc2
If you want to get private channels you need to use listpeerchannels now.
If you want to get private channels you need to use listpeerchannels now.
I'm looking specifically for the active
field in listchannels
. Is there an alternative in listpeerchannels
that is equivalent? A channel can be in state CHANNELD_NORMAL
without being active.
If you want to get private channels you need to use listpeerchannels now.
I'm looking specifically for the
active
field inlistchannels
. Is there an alternative inlistpeerchannels
that is equivalent? A channel can be in stateCHANNELD_NORMAL
without being active.
no there is not, closest thing is probably last_stable_connection
no there is not, closest thing is probably
last_stable_connection
Any chance to re-enable this functionality? Or at least add a replacement for the active
field?
Not really, the private gossip has been split from the public one, since they are fundamentally different. We should add the active
flag to the listpeerchannels
output instead.