diff options
| author | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-14 15:56:12 -0300 |
|---|---|---|
| committer | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-14 15:56:12 -0300 |
| commit | 59b9d11015f0e3a2475d0750fc534583c2ca9f77 (patch) | |
| tree | 0cf369cd3e1c59eca068cc05561dd59c21bf7b49 /src/walletcmd.h | |
| parent | c08a32d26cabf5acc9dabf298a22051596308174 (diff) | |
wallet: export BDB records to SQLite
Diffstat (limited to 'src/walletcmd.h')
| -rw-r--r-- | src/walletcmd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/walletcmd.h b/src/walletcmd.h index 6077669..b1a29d2 100644 --- a/src/walletcmd.h +++ b/src/walletcmd.h | |||
| @@ -70,6 +70,11 @@ int CmdWalletStorageAudit(const std::string& strJsonOut = ""); | |||
| 70 | // or migration-unsafe mix of storage records. | 70 | // or migration-unsafe mix of storage records. |
| 71 | int CmdWalletStorageCheck(); | 71 | int CmdWalletStorageCheck(); |
| 72 | 72 | ||
| 73 | // Diagnostic/migration staging: copy every raw wallet.dat record into an | ||
| 74 | // experimental SQLite key/value store, preserving serialized bytes. This does | ||
| 75 | // not change which backend the runtime wallet opens. | ||
| 76 | int CmdWalletSQLiteExport(const std::string& strDest); | ||
| 77 | |||
| 73 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the | 78 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the |
| 74 | // given passphrase. Returns 0 on success and exits without starting the node. | 79 | // given passphrase. Returns 0 on success and exits without starting the node. |
| 75 | int CmdEncryptWallet(const std::string& strPassphrase); | 80 | int CmdEncryptWallet(const std::string& strPassphrase); |