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:
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 784c74c..50dc69e 100644
--- a/src/walletcmd.h
+++ b/src/walletcmd.h
@@ -79,6 +79,10 @@ int CmdWalletSQLiteExport(const std::string& strDest);
79// wallet.dat raw records. Prints counts only, never record keys or values. 79// wallet.dat raw records. Prints counts only, never record keys or values.
80int CmdWalletSQLiteVerify(const std::string& strPath); 80int CmdWalletSQLiteVerify(const std::string& strPath);
81 81
82// Diagnostic/migration staging: rebuild wallet.dat from a SQLite export in an
83// empty data directory. Refuses to overwrite an existing wallet.dat.
84int CmdWalletSQLiteRestore(const std::string& strPath);
85
82// Rewrite wallet.dat so private keys and the HD seed are encrypted with the 86// Rewrite wallet.dat so private keys and the HD seed are encrypted with the
83// given passphrase. Returns 0 on success and exits without starting the node. 87// given passphrase. Returns 0 on success and exits without starting the node.
84int CmdEncryptWallet(const std::string& strPassphrase); 88int CmdEncryptWallet(const std::string& strPassphrase);