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 784c74c..50dc69e 100644 --- a/src/walletcmd.h +++ b/src/walletcmd.h | |||
| @@ -79,6 +79,10 @@ int CmdWalletSQLiteExport(const std::string& strDest); | |||
| 79 | // wallet.dat raw records. Prints counts only, never record keys or values. | 79 | // wallet.dat raw records. Prints counts only, never record keys or values. |
| 80 | int CmdWalletSQLiteVerify(const std::string& strPath); | 80 | int CmdWalletSQLiteVerify(const std::string& strPath); |
| 81 | 81 | ||
| 82 | // Diagnostic/migration staging: rebuild wallet.dat from a SQLite export in an | ||
| 83 | // empty data directory. Refuses to overwrite an existing wallet.dat. | ||
| 84 | int CmdWalletSQLiteRestore(const std::string& strPath); | ||
| 85 | |||
| 82 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the | 86 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the |
| 83 | // given passphrase. Returns 0 on success and exits without starting the node. | 87 | // given passphrase. Returns 0 on success and exits without starting the node. |
| 84 | int CmdEncryptWallet(const std::string& strPassphrase); | 88 | int CmdEncryptWallet(const std::string& strPassphrase); |