lnrpc: peer_alias_in and peer_alias_out fields for ForwardingEvent

This commit is contained in:
Slyghtning committed 2022-10-18 11:08:00 -04:00
1 parent 4fbd608b73
commit 425ce55968
3 files changed
+799 -741

No files matched your search

+10
View File
@@ -4049,6 +4049,10 @@ message ForwardingHistoryRequest {
// The max number of events to return in the response to this query.
uint32 num_max_events = 4;
// Informs the server if the peer alias lookup per forwarding event
// should be skipped in order to improve performance.
bool skip_peer_alias_lookup = 5;
}
message ForwardingEvent {
// Timestamp is the time (unix epoch offset) that this circuit was
@@ -4088,6 +4092,12 @@ message ForwardingEvent {
// circuit was completed.
uint64 timestamp_ns = 11;
// The peer alias of the incoming channel.
string peer_alias_in = 12;
// The peer alias of the outgoing channel.
string peer_alias_out = 13;
// TODO(roasbeef): add settlement latency?
// * use FPE on the chan id?
// * also list failures?