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-14 16:34:43 -0300
committerNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-14 16:47:43 -0300
commit99c6b5f2971da51cca1c739b5e982ae2022acc85 (patch)
treea32b59dde39832f1fc7a21a29681b77c95de40cb /src/walletcmd.h
parent0c58896a045246c3518d5d379f217172defdfd91 (diff)
wallet: verify SQLite wallet exports
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 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.
76int CmdWalletSQLiteExport(const std::string& strDest); 76int 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.
80int 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.
80int CmdEncryptWallet(const std::string& strPassphrase); 84int CmdEncryptWallet(const std::string& strPassphrase);