diff options
| author | Bitflash <admin@bitflash.network> | 2026-08-14 08:56:40 -0300 |
|---|---|---|
| committer | Bitflash <admin@bitflash.network> | 2026-08-14 08:56:40 -0300 |
| commit | 5306542f6121e0c0b4ed1210e24d55fa4fbb7127 (patch) | |
| tree | 5faf35daa569d987b87dbb161bb18ec170f944b0 /src/walletcmd.h | |
| parent | 9e39a50d1f110020b0841d31e4b931aa877cc448 (diff) | |
| parent | 805c5757b801d80ea575c6a8b58e2855254f9046 (diff) | |
Merge pull request 'wallet: audit Berkeley DB wallet storage' (#38) from wallet-storage-audit-bdb 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 007b8b5..c6342a6 100644 --- a/src/walletcmd.h +++ b/src/walletcmd.h | |||
| @@ -62,6 +62,10 @@ int CmdShowDerived(int nCount); | |||
| 62 | // by the installed recovery phrase or still depends on wallet.dat-only keys. | 62 | // by the installed recovery phrase or still depends on wallet.dat-only keys. |
| 63 | int CmdRecoveryAudit(); | 63 | int CmdRecoveryAudit(); |
| 64 | 64 | ||
| 65 | // Diagnostic: count wallet.dat record types without printing keys, | ||
| 66 | // addresses, transaction ids, labels, or other wallet values. | ||
| 67 | int CmdWalletStorageAudit(const std::string& strJsonOut = ""); | ||
| 68 | |||
| 65 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the | 69 | // Rewrite wallet.dat so private keys and the HD seed are encrypted with the |
| 66 | // given passphrase. Returns 0 on success and exits without starting the node. | 70 | // given passphrase. Returns 0 on success and exits without starting the node. |
| 67 | int CmdEncryptWallet(const std::string& strPassphrase); | 71 | int CmdEncryptWallet(const std::string& strPassphrase); |