mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-07 03:28:05 +02:00
lnrpc: peer_alias field for Channel message
This commit is contained in:
parent
73596ceac2
commit
edb58a8b28
File diff suppressed because it is too large
Load Diff
@ -1531,6 +1531,9 @@ message Channel {
|
||||
|
||||
// This is the confirmed / on-chain zero-conf SCID.
|
||||
uint64 zero_conf_confirmed_scid = 33;
|
||||
|
||||
// The configured alias name of our peer.
|
||||
string peer_alias = 34;
|
||||
}
|
||||
|
||||
message ListChannelsRequest {
|
||||
@ -1544,6 +1547,11 @@ message ListChannelsRequest {
|
||||
empty, all channels will be returned.
|
||||
*/
|
||||
bytes peer = 5;
|
||||
|
||||
// Informs the server if the peer alias lookup per channel should be
|
||||
// enabled. It is turned off by default in order to avoid degradation of
|
||||
// performance for existing clients.
|
||||
bool peer_alias_lookup = 6;
|
||||
}
|
||||
message ListChannelsResponse {
|
||||
// The list of active channels
|
||||
|
@ -135,6 +135,13 @@
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
},
|
||||
{
|
||||
"name": "peer_alias_lookup",
|
||||
"description": "Informs the server if the peer alias lookup per channel should be\nenabled. It is turned off by default in order to avoid degradation of\nperformance for existing clients.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
@ -3556,6 +3563,10 @@
|
||||
"type": "string",
|
||||
"format": "uint64",
|
||||
"description": "This is the confirmed / on-chain zero-conf SCID."
|
||||
},
|
||||
"peer_alias": {
|
||||
"type": "string",
|
||||
"description": "The configured alias name of our peer."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user