lnrpc: add color to GetInfoResponse and NodeUpdate

This commit is contained in:
Xavi Soler committed 2019-05-23 10:51:59 +02:00
1 parent 063ecedf3a
commit ee2e49141e
3 files changed
+513 -485

No files matched your search

+502 -485
View File
File diff suppressed because it is too large. Load diff
+4
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 {
/**
+7
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"
}
}
},