diff options
Diffstat (limited to 'src/walletcmd.h')
| -rw-r--r-- | src/walletcmd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/walletcmd.h b/src/walletcmd.h index c6342a6..6077669 100644 --- a/src/walletcmd.h +++ b/src/walletcmd.h | |||
| @@ -66,6 +66,10 @@ int CmdRecoveryAudit(); | |||
| 66 | // addresses, transaction ids, labels, or other wallet values. | 66 | // addresses, transaction ids, labels, or other wallet values. |
| 67 | int CmdWalletStorageAudit(const std::string& strJsonOut = ""); | 67 | int CmdWalletStorageAudit(const std::string& strJsonOut = ""); |
| 68 | 68 | ||
| 69 | // Diagnostic: fail closed when wallet.dat contains an internally inconsistent | ||
| 70 | // or migration-unsafe mix of storage records. | ||
| 71 | int CmdWalletStorageCheck(); | ||
| 72 | |||
| 69 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the | 73 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the |
| 70 | // given passphrase. Returns 0 on success and exits without starting the node. | 74 | // given passphrase. Returns 0 on success and exits without starting the node. |
| 71 | int CmdEncryptWallet(const std::string& strPassphrase); | 75 | int CmdEncryptWallet(const std::string& strPassphrase); |