upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/walletcmd.h
diff options
context:
space:
mode:
authorNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-13 17:36:09 -0300
committerNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-13 17:59:25 -0300
commit8e62e362e2fbe6fd6c5d66ddb354ec544f8cf0db (patch)
treed9773fd4b52f3ae7c316c6ff11fc2ab4d924a122 /src/walletcmd.h
parentc0f886f0683ebd1321751355ddc0c757496320c9 (diff)
wallet: add storage audit command
Diffstat (limited to 'src/walletcmd.h')
-rw-r--r--src/walletcmd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/walletcmd.h b/src/walletcmd.h
index 007b8b5..4a703db 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.
63int CmdRecoveryAudit(); 63int CmdRecoveryAudit();
64 64
65// Diagnostic: count wallet.dat record types without printing keys,
66// addresses, transaction ids, labels, or other wallet values.
67int CmdWalletStorageAudit();
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.
67int CmdEncryptWallet(const std::string& strPassphrase); 71int CmdEncryptWallet(const std::string& strPassphrase);