mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-29 11:11:53 +01:00
lnrpc: add color to GetInfoResponse and NodeUpdate
This commit is contained in:
parent
063ecedf3a
commit
ee2e49141e
987
lnrpc/rpc.pb.go
987
lnrpc/rpc.pb.go
File diff suppressed because it is too large
Load Diff
@ -1329,6 +1329,9 @@ message GetInfoResponse {
|
||||
|
||||
/// A list of active chains the node is connected to
|
||||
repeated Chain chains = 16 [json_name = "chains"];
|
||||
|
||||
/// The color of the current node in hex code format
|
||||
string color = 17 [json_name = "color"];
|
||||
}
|
||||
|
||||
message Chain {
|
||||
@ -1854,6 +1857,7 @@ message NodeUpdate {
|
||||
string identity_key = 2;
|
||||
bytes global_features = 3;
|
||||
string alias = 4;
|
||||
string color = 5;
|
||||
}
|
||||
message ChannelEdgeUpdate {
|
||||
/**
|
||||
|
@ -2158,6 +2158,10 @@
|
||||
"$ref": "#/definitions/lnrpcChain"
|
||||
},
|
||||
"title": "/ A list of active chains the node is connected to"
|
||||
},
|
||||
"color": {
|
||||
"type": "string",
|
||||
"title": "/ The color of the current node in hex code format"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -2639,6 +2643,9 @@
|
||||
},
|
||||
"alias": {
|
||||
"type": "string"
|
||||
},
|
||||
"color": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user