Add comments for all wallet states [skip ci]

This commit is contained in:
benthecarman committed 2022-09-15 09:14:36 -05:00
1 parent 89ebd03ff8
commit 96326e045a
3 files changed
+24 -5

No files matched your search

+11
View File
@@ -36,14 +36,25 @@ service State {
}
enum WalletState {
// NON_EXISTING means that the wallet has not yet been initialized.
NON_EXISTING = 0;
// LOCKED means that the wallet is locked and requires a password to unlock.
LOCKED = 1;
// UNLOCKED means that the wallet was unlocked successfully, but RPC server
// isn't ready.
UNLOCKED = 2;
// RPC_ACTIVE means that the lnd server is active but not fully ready for
// calls.
RPC_ACTIVE = 3;
// SERVER_ACTIVE means that the lnd server is ready to accept calls.
SERVER_ACTIVE = 4;
// WAITING_TO_START means that node is waiting to become the leader in a
// cluster and is not started yet.
WAITING_TO_START = 255;
}