lnrpc: add color to GetInfoResponse and NodeUpdate
This commit is contained in:
3 files changed
+513
-485
No files matched your search
+502
-485
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
|
/// A list of active chains the node is connected to
|
||||||
repeated Chain chains = 16 [json_name = "chains"];
|
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 {
|
message Chain {
|
||||||
@@ -1854,6 +1857,7 @@ message NodeUpdate {
|
|||||||
string identity_key = 2;
|
string identity_key = 2;
|
||||||
bytes global_features = 3;
|
bytes global_features = 3;
|
||||||
string alias = 4;
|
string alias = 4;
|
||||||
|
string color = 5;
|
||||||
}
|
}
|
||||||
message ChannelEdgeUpdate {
|
message ChannelEdgeUpdate {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -2158,6 +2158,10 @@
|
|||||||
"$ref": "#/definitions/lnrpcChain"
|
"$ref": "#/definitions/lnrpcChain"
|
||||||
},
|
},
|
||||||
"title": "/ A list of active chains the node is connected to"
|
"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": {
|
"alias": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user