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

+777 -741
View File
File diff suppressed because it is too large. Load diff
+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?
+12
View File
@@ -4454,6 +4454,14 @@
"type": "string",
"format": "uint64",
"description": "The number of nanoseconds elapsed since January 1, 1970 UTC when this\ncircuit was completed."
},
"peer_alias_in": {
"type": "string",
"description": "The peer alias of the incoming channel."
},
"peer_alias_out": {
"type": "string",
"description": "The peer alias of the outgoing channel."
}
}
},
@@ -4479,6 +4487,10 @@
"type": "integer",
"format": "int64",
"description": "The max number of events to return in the response to this query."
},
"skip_peer_alias_lookup": {
"type": "boolean",
"description": "Informs the server if the peer alias lookup per forwarding event\nshould be skipped in order to improve performance."
}
}
},