diff options
| author | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-14 17:44:09 -0300 |
|---|---|---|
| committer | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-14 17:44:09 -0300 |
| commit | 3e778dd6cc9045862e99503b5b9af80ec682826f (patch) | |
| tree | 4a055fb61ea1c6fde9edc65c8ec7356baa8c9c07 /src/walletcmd.h | |
| parent | 307d1a79d4f9bdecd3f834f9ab4987f46d16d177 (diff) | |
wallet: check SQLite exports against loader types
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 50dc69e..d993856 100644 --- a/src/walletcmd.h +++ b/src/walletcmd.h | |||
| @@ -83,6 +83,10 @@ int CmdWalletSQLiteVerify(const std::string& strPath); | |||
| 83 | // empty data directory. Refuses to overwrite an existing wallet.dat. | 83 | // empty data directory. Refuses to overwrite an existing wallet.dat. |
| 84 | int CmdWalletSQLiteRestore(const std::string& strPath); | 84 | int CmdWalletSQLiteRestore(const std::string& strPath); |
| 85 | 85 | ||
| 86 | // Diagnostic/migration staging: parse a SQLite wallet export as the runtime | ||
| 87 | // wallet loader would. Prints counts only, never record keys or values. | ||
| 88 | int CmdWalletSQLiteLoadCheck(const std::string& strPath); | ||
| 89 | |||
| 86 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the | 90 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the |
| 87 | // given passphrase. Returns 0 on success and exits without starting the node. | 91 | // given passphrase. Returns 0 on success and exits without starting the node. |
| 88 | int CmdEncryptWallet(const std::string& strPassphrase); | 92 | int CmdEncryptWallet(const std::string& strPassphrase); |