Merge pull request #7001 from hieblmi/fwdinghistory-alias-info

lncli: incoming and outgoing peer alias in `fwdinghistory`
This commit is contained in:
Oliver Gugger authored and GitHub committed 2022-10-20 17:16:47 +02:00
commit 8c66353e4c
7 files changed
+911 -779

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."
}
}
},