Merge pull request #6237 from sangaman/lncli-state-desc

lncli: update `lncli state` description
This commit is contained in:
Olaoluwa Osuntokun 2022-03-02 17:08:22 -08:00 committed by GitHub
commit 791411cdb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -13,11 +13,13 @@ var getStateCommand = cli.Command{
Usage: "Get the current state of the wallet and RPC",
Description: `
Get the current state of the wallet. The possible states are:
- WAITING_TO_START: node is waiting to become the leader in a cluster
and is not started yet.
- NON_EXISTING: wallet has not yet been initialized.
- LOCKED: wallet is locked.
- UNLOCKED: wallet has been unlocked successfully, but the full RPC is
not yet ready.
- RPC_READY: the daemon has started and the RPC is fully available.
- UNLOCKED: wallet was unlocked successfully, but RPC server isn't ready.
- RPC_ACTIVE: RPC server is active but not fully ready for calls.
- SERVER_ACTIVE: RPC server is available and ready to accept calls.
`,
Flags: []cli.Flag{},
Action: actionDecorator(getState),

View File

@ -16,6 +16,8 @@
* Add [private status](https://github.com/lightningnetwork/lnd/pull/6167)
to pendingchannels response.
* [Update description for `state` command](https://github.com/lightningnetwork/lnd/pull/6237).
## Bug Fixes
* [Pipelining an UpdateFulfillHTLC message now only happens when the related UpdateAddHTLC is locked-in.](https://github.com/lightningnetwork/lnd/pull/6246)