lightning
lightning copied to clipboard
Add `channel_id` Filter to `listpeerchannels`
Sometimes we don't know the short_channel_id yet (e.g the channel has not been broadcasted), but we still know the channel_id from the funding transaction. This PR adds a channel_id filter to listpeerchannels and clarifys that id, short_channel_id and channel_id are mutually exclusive.
ACK https://github.com/ElementsProject/lightning/pull/8766/commits/d1e82f452322ac6ffae8b9e899fdd0dea45be327