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
2024-12-13 14:50:27 +05:30
parent 92a5d35cff
commit bfe1edf4ec
8 changed files with 1089 additions and 815 deletions

View File

@@ -4671,6 +4671,14 @@ message ForwardingHistoryRequest {
// Informs the server if the peer alias should be looked up for each
// forwarding event.
bool peer_alias_lookup = 5;
// List of incoming channel ids to filter htlcs received from a
// particular channel
repeated uint64 incoming_chan_ids = 6;
// List of outgoing channel ids to filter htlcs being forwarded to a
// particular channel
repeated uint64 outgoing_chan_ids = 7;
}
message ForwardingEvent {
// Timestamp is the time (unix epoch offset) that this circuit was