lnrpc: add filters to forwardhistoryrequest

This commit adds incoming and outgoing channel ids filter to forwarding history request to filter events received/forwarded from/to a particular channel
This commit is contained in:
Shivam Chawla committed 2025-06-11 09:10:13 +05:30
1 parent 92a5d35cff
commit bfe1edf4ec
8 files changed
+1089 -815

No files matched your search

@@ -37,12 +37,22 @@ circuit. The indices are only available for forwarding events saved after v0.20.
the option to specify multiple channels this control can be extended to
multiple hops leading to the node.
* The `lnrpc.ForwardingHistory` RPC method now supports filtering by
[`incoming_chan_ids` and `outgoing_chan_ids`](https://github.com/lightningnetwork/lnd/pull/9356).
This allows to retrieve forwarding events for specific channels.
## lncli Additions
* [`lncli sendpayment` and `lncli queryroutes` now support the
`--route_hints` flag](https://github.com/lightningnetwork/lnd/pull/9721) to
support routing through private channels.
* The `lncli fwdinghistory` command now supports two new flags:
[`--incoming_chan_ids` and `--outgoing_chan_ids`](https://github.com/lightningnetwork/lnd/pull/9356).
These filters allows to query forwarding events for specific channels.
# Improvements
## Functional Updates
@@ -105,4 +115,5 @@ circuit. The indices are only available for forwarding events saved after v0.20.
* Abdulkbk
* Elle Mouton
* Funyug
* Pins