lnrpc: undo GetInfo Chains list deprecation

This commit is contained in:
Elle Mouton 2024-03-12 20:03:35 +02:00
parent 5cb4811e86
commit 041a7859ff
No known key found for this signature in database
GPG Key ID: D7D916376026F177
4 changed files with 2248 additions and 2251 deletions

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

File diff suppressed because it is too large Load Diff

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;

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",