mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
lnrpc: peer_alias_in and peer_alias_out fields for ForwardingEvent
This commit is contained in:
parent
4fbd608b73
commit
425ce55968
3 changed files with 799 additions and 741 deletions
File diff suppressed because it is too large
Load diff
|
@ -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?
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue