rpcserver: add channels to GetNodeInfo response

This commit is contained in:
chokoboko committed 2019-05-23 16:03:39 +03:00
1 parent 6cd71b7f7a
commit 51dc422721
4 files changed
+531 -491

No files matched your search

+11 -2
View File
@@ -2617,11 +2617,20 @@
},
"num_channels": {
"type": "integer",
"format": "int64"
"format": "int64",
"description": "/ The total number of channels for the node."
},
"total_capacity": {
"type": "string",
"format": "int64"
"format": "int64",
"description": "/ The sum of all channels capacity for the node, denominated in satoshis."
},
"channels": {
"type": "array",
"items": {
"$ref": "#/definitions/lnrpcChannelEdge"
},
"description": "/ A list of all public channels for the node."
}
}
},