lightning
lightning copied to clipboard
RPC: Allow filtering `listhtlcs` by `payment_hash`
listhtlcs already allows filtering by id of the channel, but the more interesting dimension is likely the payment_hash as that allows aggregating all parts of a payment tht are in flight. An example of this is
https://github.com/ElementsProject/lightning/issues/7204#issuecomment-2166829248