lnrpc: add color to GetInfoResponse and NodeUpdate

This commit is contained in:
Xavi Soler 2018-12-21 17:29:24 +01:00
parent 063ecedf3a
commit ee2e49141e
No known key found for this signature in database
GPG Key ID: 4B65A4B63378DF1E
3 changed files with 513 additions and 485 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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 {
/**

View File

@ -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"
}
}
},