rpc: expose graph synced status within GetInfo

This commit is contained in:
Wilmer Paulino committed 2019-08-06 17:56:56 -07:00
1 parent 977c139f3c
commit 8ca2c79bfe
4 files changed
+515 -494

No files matched your search

+504 -494
View File
File diff suppressed because it is too large. Load diff
+3
View File
@@ -1343,6 +1343,9 @@ message GetInfoResponse {
/// The color of the current node in hex code format
string color = 17 [json_name = "color"];
// Whether we consider ourselves synced with the public channel graph.
bool synced_to_graph = 18 [json_name = "synced_to_graph"];
}
message Chain {
+5
View File
@@ -2218,6 +2218,11 @@
"color": {
"type": "string",
"title": "/ The color of the current node in hex code format"
},
"synced_to_graph": {
"type": "boolean",
"format": "boolean",
"description": "Whether we consider ourselves synced with the public channel graph."
}
}
},