diff options
| author | Bitflash <admin@bitflash.network> | 2026-08-14 16:53:01 -0300 |
|---|---|---|
| committer | Bitflash <admin@bitflash.network> | 2026-08-14 16:53:01 -0300 |
| commit | 35f6c752f9f879ca94478985978e4a9c862ede3e (patch) | |
| tree | a32b59dde39832f1fc7a21a29681b77c95de40cb /src/walletcmd.h | |
| parent | 0c58896a045246c3518d5d379f217172defdfd91 (diff) | |
| parent | 99c6b5f2971da51cca1c739b5e982ae2022acc85 (diff) | |
Merge pull request 'wallet: verify SQLite wallet exports' (#50) from wallet-sqlite-verify into main
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 b1a29d2..784c74c 100644 --- a/src/walletcmd.h +++ b/src/walletcmd.h | |||
| @@ -75,6 +75,10 @@ int CmdWalletStorageCheck(); | |||
| 75 | // not change which backend the runtime wallet opens. | 75 | // not change which backend the runtime wallet opens. |
| 76 | int CmdWalletSQLiteExport(const std::string& strDest); | 76 | int CmdWalletSQLiteExport(const std::string& strDest); |
| 77 | 77 | ||
| 78 | // Diagnostic/migration staging: compare a SQLite wallet export with the current | ||
| 79 | // wallet.dat raw records. Prints counts only, never record keys or values. | ||
| 80 | int CmdWalletSQLiteVerify(const std::string& strPath); | ||
| 81 | |||
| 78 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the | 82 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the |
| 79 | // given passphrase. Returns 0 on success and exits without starting the node. | 83 | // given passphrase. Returns 0 on success and exits without starting the node. |
| 80 | int CmdEncryptWallet(const std::string& strPassphrase); | 84 | int CmdEncryptWallet(const std::string& strPassphrase); |