lnrpc: undo GetInfo Chains list deprecation

This commit is contained in:
Elle Mouton committed 2024-03-12 20:06:56 +02:00
1 parent 5cb4811e86
commit 041a7859ff
4 files changed
+2248 -2251

No files matched your search

+2 -3
View File
@@ -270,9 +270,8 @@
* [Remove Litecoin code](https://github.com/lightningnetwork/lnd/pull/7867).
With this change, the `Bitcoin.Active` config option is now deprecated since
Bitcoin is now the only supported chain. The `chains` field in the
`lnrpc.GetInfoResponse` message along with the `chain` field in the
`lnrpc.Chain` message have also been deprecated for the same reason.
Bitcoin is now the only supported chain. The `chain` field in the
`lnrpc.Chain` message has also been deprecated for the same reason.
* The payment lifecycle code has been refactored to improve its maintainablity.
In particular, the complexity involved in the lifecycle loop has been
+2241 -2244
View File
File diff suppressed because it is too large. Load diff
+4 -3
View File
@@ -1940,10 +1940,11 @@ message GetInfoResponse {
reserved 11;
/*
Deprecated. The only active chain is bitcoin.
A list of active chains the node is connected to
A list of active chains the node is connected to. This will only
ever contain a single entry since LND will only ever have a single
chain backend during its lifetime.
*/
repeated Chain chains = 16 [deprecated = true];
repeated Chain chains = 16;
// The URIs of the current node.
repeated string uris = 12;
+1 -1
View File
@@ -5003,7 +5003,7 @@
"items": {
"$ref": "#/definitions/lnrpcChain"
},
"title": "Deprecated. The only active chain is bitcoin.\nA list of active chains the node is connected to"
"description": "A list of active chains the node is connected to. This will only\never contain a single entry since LND will only ever have a single\nchain backend during its lifetime."
},
"uris": {
"type": "array",