Merge pull request #8544 from ellemouton/undoChainsListDeprecation

lnrpc: undo GetInfo Chains list deprecation
This commit is contained in:
Oliver Gugger authored and GitHub committed 2024-03-12 15:55:13 -06:00
commit 1fd6bc870b
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). * [Remove Litecoin code](https://github.com/lightningnetwork/lnd/pull/7867).
With this change, the `Bitcoin.Active` config option is now deprecated since With this change, the `Bitcoin.Active` config option is now deprecated since
Bitcoin is now the only supported chain. The `chains` field in the Bitcoin is now the only supported chain. The `chain` field in the
`lnrpc.GetInfoResponse` message along with the `chain` field in the `lnrpc.Chain` message has also been deprecated for the same reason.
`lnrpc.Chain` message have also been deprecated for the same reason.
* The payment lifecycle code has been refactored to improve its maintainablity. * The payment lifecycle code has been refactored to improve its maintainablity.
In particular, the complexity involved in the lifecycle loop has been 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; reserved 11;
/* /*
Deprecated. The only active chain is bitcoin. A list of active chains the node is connected to. This will only
A list of active chains the node is connected to 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. // The URIs of the current node.
repeated string uris = 12; repeated string uris = 12;
+1 -1
View File
@@ -5003,7 +5003,7 @@
"items": { "items": {
"$ref": "#/definitions/lnrpcChain" "$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": { "uris": {
"type": "array", "type": "array",