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:
authorBitflash <admin@bitflash.network>2026-08-14 16:06:39 -0300
committerBitflash <admin@bitflash.network>2026-08-14 16:06:39 -0300
commit25b1eb8e17bb4012a59166667c7e37564a2af939 (patch)
tree0cf369cd3e1c59eca068cc05561dd59c21bf7b49 /src/walletcmd.h
parentc08a32d26cabf5acc9dabf298a22051596308174 (diff)
parent59b9d11015f0e3a2475d0750fc534583c2ca9f77 (diff)
Merge pull request 'wallet: export BDB records to SQLite' (#48) from wallet-sqlite-migration into main
Diffstat (limited to 'src/walletcmd.h')
-rw-r--r--src/walletcmd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/walletcmd.h b/src/walletcmd.h
index 6077669..b1a29d2 100644
--- a/src/walletcmd.h
+++ b/src/walletcmd.h
@@ -70,6 +70,11 @@ int CmdWalletStorageAudit(const std::string& strJsonOut = "");
70// or migration-unsafe mix of storage records. 70// or migration-unsafe mix of storage records.
71int CmdWalletStorageCheck(); 71int CmdWalletStorageCheck();
72 72
73// Diagnostic/migration staging: copy every raw wallet.dat record into an
74// experimental SQLite key/value store, preserving serialized bytes. This does
75// not change which backend the runtime wallet opens.
76int CmdWalletSQLiteExport(const std::string& strDest);
77
73// Rewrite wallet.dat so private keys and the HD seed are encrypted with the 78// Rewrite wallet.dat so private keys and the HD seed are encrypted with the
74// given passphrase. Returns 0 on success and exits without starting the node. 79// given passphrase. Returns 0 on success and exits without starting the node.
75int CmdEncryptWallet(const std::string& strPassphrase); 80int CmdEncryptWallet(const std::string& strPassphrase);