lnrpc: deprecate chains field in GetInfoResponse

This commit is contained in:
Elle Mouton authored and Olaoluwa Osuntokun committed 2023-10-06 16:34:47 -07:00
1 parent 031dbd7760
commit 77908d6c92
3 files changed
+2188 -2181

No files matched your search

+2181 -2177
View File
File diff suppressed because it is too large. Load diff
+6 -3
View File
@@ -1926,13 +1926,16 @@ message GetInfoResponse {
/* /*
Whether the current node is connected to testnet. This field is Whether the current node is connected to testnet. This field is
deprecated and the network field should be used instead deprecated and the network field should be used instead
**/ */
bool testnet = 10 [deprecated = true]; bool testnet = 10 [deprecated = true];
reserved 11; reserved 11;
// A list of active chains the node is connected to /*
repeated Chain chains = 16; Deprecated. The only active chain is bitcoin.
A list of active chains the node is connected to
*/
repeated Chain chains = 16 [deprecated = true];
// The URIs of the current node. // The URIs of the current node.
repeated string uris = 12; repeated string uris = 12;
+1 -1
View File
@@ -4846,7 +4846,7 @@
"items": { "items": {
"$ref": "#/definitions/lnrpcChain" "$ref": "#/definitions/lnrpcChain"
}, },
"title": "A list of active chains the node is connected to" "title": "Deprecated. The only active chain is bitcoin.\nA list of active chains the node is connected to"
}, },
"uris": { "uris": {
"type": "array", "type": "array",