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-18 16:35:42 -0300
committerBitflash <admin@bitflash.network>2026-08-18 16:35:42 -0300
commitb1c6d19fe2855c30d839dbc484165da58a8ee120 (patch)
treec320e5c1f6e486affdf255a1a4ac806a01b9da7c /src/walletcmd.h
parentf3fb7ce6759ac98a7cc39d586fc2824982c74acd (diff)
parent477d57b9a01102b6f79ad9b10b2dcfd280faa1cb (diff)
Merge pull request 'wallet/gui: SQLite is the default for new wallets + a first-run conversion wizard' (#62) from wallet-sqlite-default into main
Diffstat (limited to 'src/walletcmd.h')
-rw-r--r--src/walletcmd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/walletcmd.h b/src/walletcmd.h
index d993856..38cbfdb 100644
--- a/src/walletcmd.h
+++ b/src/walletcmd.h
@@ -75,6 +75,15 @@ 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// Export the currently-loaded wallet to a SQLite file (shared by the command
79// above and the GUI wizard). Returns false with an error on any failure.
80bool ExportActiveWalletToSQLite(const std::string& strDest, int& nCopiedRet,
81 std::string& strErrorRet);
82
83// Convert the running Berkeley DB wallet to SQLite and record the backend
84// marker so the next start opens it. wallet.dat is left untouched as fallback.
85bool DoConvertWalletToSQLite(int& nCopiedRet, std::string& strErrorRet);
86
78// Diagnostic/migration staging: compare a SQLite wallet export with the current 87// Diagnostic/migration staging: compare a SQLite wallet export with the current
79// wallet.dat raw records. Prints counts only, never record keys or values. 88// wallet.dat raw records. Prints counts only, never record keys or values.
80int CmdWalletSQLiteVerify(const std::string& strPath); 89int CmdWalletSQLiteVerify(const std::string& strPath);