lnrpc: display remote peer features via rpc
This commit is contained in:
4 files changed
+597
-572
No files matched your search
+582
-572
File diff suppressed because it is too large.
Load diff
@@ -1449,6 +1449,9 @@ message Peer {
|
||||
|
||||
// The type of sync we are currently performing with this peer.
|
||||
SyncType sync_type = 10 [json_name = "sync_type"];
|
||||
|
||||
/// Features advertised by the remote peer in their init message.
|
||||
repeated Feature features = 11 [json_name = "features"];
|
||||
}
|
||||
|
||||
message ListPeersRequest {
|
||||
|
||||
@@ -3437,6 +3437,13 @@
|
||||
"sync_type": {
|
||||
"$ref": "#/definitions/PeerSyncType",
|
||||
"description": "The type of sync we are currently performing with this peer."
|
||||
},
|
||||
"features": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/lnrpcFeature"
|
||||
},
|
||||
"description": "/ Features advertised by the remote peer in their init message."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user