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 17:44:09 -0300
committerNsable-sh <nsable-sh@noreply.git.bitflash.network>2026-08-14 17:44:09 -0300
commit3e778dd6cc9045862e99503b5b9af80ec682826f (patch)
tree4a055fb61ea1c6fde9edc65c8ec7356baa8c9c07 /src/walletcmd.h
parent307d1a79d4f9bdecd3f834f9ab4987f46d16d177 (diff)
wallet: check SQLite exports against loader types
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 50dc69e..d993856 100644
--- a/src/walletcmd.h
+++ b/src/walletcmd.h
@@ -83,6 +83,10 @@ int CmdWalletSQLiteVerify(const std::string& strPath);
83// empty data directory. Refuses to overwrite an existing wallet.dat. 83// empty data directory. Refuses to overwrite an existing wallet.dat.
84int CmdWalletSQLiteRestore(const std::string& strPath); 84int CmdWalletSQLiteRestore(const std::string& strPath);
85 85
86// Diagnostic/migration staging: parse a SQLite wallet export as the runtime
87// wallet loader would. Prints counts only, never record keys or values.
88int CmdWalletSQLiteLoadCheck(const std::string& strPath);
89
86// Rewrite wallet.dat so private keys and the HD seed are encrypted with the 90// Rewrite wallet.dat so private keys and the HD seed are encrypted with the
87// given passphrase. Returns 0 on success and exits without starting the node. 91// given passphrase. Returns 0 on success and exits without starting the node.
88int CmdEncryptWallet(const std::string& strPassphrase); 92int CmdEncryptWallet(const std::string& strPassphrase);