mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-19 21:31:04 +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.
|
// This is the confirmed / on-chain zero-conf SCID.
|
||||||
uint64 zero_conf_confirmed_scid = 33;
|
uint64 zero_conf_confirmed_scid = 33;
|
||||||
|
|
||||||
|
// The configured alias name of our peer.
|
||||||
|
string peer_alias = 34;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ListChannelsRequest {
|
message ListChannelsRequest {
|
||||||
@ -1544,6 +1547,11 @@ message ListChannelsRequest {
|
|||||||
empty, all channels will be returned.
|
empty, all channels will be returned.
|
||||||
*/
|
*/
|
||||||
bytes peer = 5;
|
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 {
|
message ListChannelsResponse {
|
||||||
// The list of active channels
|
// The list of active channels
|
||||||
|
@ -135,6 +135,13 @@
|
|||||||
"required": false,
|
"required": false,
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "byte"
|
"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": [
|
"tags": [
|
||||||
@ -3556,6 +3563,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "uint64",
|
"format": "uint64",
|
||||||
"description": "This is the confirmed / on-chain zero-conf SCID."
|
"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