rpcserver+lnrpc: make graph node addresses consistent
This commit adds a []*lnrpc.NodeAddress typed node_addresses field on the NodeUpdate message of SubscribeChannelGraph to mirror the addresses field in the LightningNode message of DescribeGraph. Fixes https://github.com/lightningnetwork/lnd/issues/4084
This commit is contained in:
1 parent
c27e9ab953
commit
99cba51849
4 files changed
+850
-808
No files matched your search
+10
-2
@@ -4675,14 +4675,16 @@
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"description": "Deprecated, use node_addresses."
|
||||
},
|
||||
"identity_key": {
|
||||
"type": "string"
|
||||
},
|
||||
"global_features": {
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
"format": "byte",
|
||||
"description": "Deprecated, use features."
|
||||
},
|
||||
"alias": {
|
||||
"type": "string"
|
||||
@@ -4690,6 +4692,12 @@
|
||||
"color": {
|
||||
"type": "string"
|
||||
},
|
||||
"node_addresses": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/lnrpcNodeAddress"
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
|
||||
Reference in new issue
Block a user