lnrpc+lncli: add feature bits to GetInfo

This commit is contained in:
carla committed 2019-12-17 23:21:14 +02:00
1 parent 496434259a
commit 6eab2a06dd
5 files changed
+641 -595

No files matched your search

+593 -579
View File
File diff suppressed because it is too large. Load diff
+6
View File
@@ -1539,6 +1539,12 @@ message GetInfoResponse {
// Whether we consider ourselves synced with the public channel graph.
bool synced_to_graph = 18 [json_name = "synced_to_graph"];
/*
Features that our node has advertised in our init message, node
announcements and invoices.
*/
map<uint32, Feature> features = 19 [json_name = "features"];
}
message Chain {
+7
View File
@@ -2504,6 +2504,13 @@
"type": "boolean",
"format": "boolean",
"description": "Whether we consider ourselves synced with the public channel graph."
},
"features": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/lnrpcFeature"
},
"description": "Features that our node has advertised in our init message, node\nannouncements and invoices."
}
}
},