routing: add missing GlobalFeatures to NetworkNodeUpdate

This commit is contained in:
Andras Banki-Horvath committed 2020-12-07 15:47:09 +01:00
1 parent c58589db3b
commit 98c61be342
6 files changed
+832 -789

No files matched your search

+793 -779
View File
File diff suppressed because it is too large. Load diff
+7 -1
View File
@@ -2694,9 +2694,15 @@ message GraphTopologyUpdate {
message NodeUpdate {
repeated string addresses = 1;
string identity_key = 2;
bytes global_features = 3;
bytes global_features = 3 [deprecated = true];
string alias = 4;
string color = 5;
/*
Features that the node has advertised in the init message, node
announcements and invoices.
*/
map<uint32, Feature> features = 6;
}
message ChannelEdgeUpdate {
/*
+7
View File
@@ -4550,6 +4550,13 @@
},
"color": {
"type": "string"
},
"features": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/lnrpcFeature"
},
"description": "Features that the node has advertised in the init message, node\nannouncements and invoices."
}
}
},