diff options
| author | Bitflash <admin@bitflash.network> | 2026-08-18 16:35:42 -0300 |
|---|---|---|
| committer | Bitflash <admin@bitflash.network> | 2026-08-18 16:35:42 -0300 |
| commit | b1c6d19fe2855c30d839dbc484165da58a8ee120 (patch) | |
| tree | c320e5c1f6e486affdf255a1a4ac806a01b9da7c /src/db.h | |
| parent | f3fb7ce6759ac98a7cc39d586fc2824982c74acd (diff) | |
| parent | 477d57b9a01102b6f79ad9b10b2dcfd280faa1cb (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/db.h')
| -rw-r--r-- | src/db.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -357,7 +357,7 @@ private: | |||
| 357 | // peer discovery is entirely Nostr/.btf-based now. | 357 | // peer discovery is entirely Nostr/.btf-based now. |
| 358 | 358 | ||
| 359 | bool WalletSQLiteRuntimeActive(); | 359 | bool WalletSQLiteRuntimeActive(); |
| 360 | bool WalletSQLiteRuntimeOpen(const string& strPath, string& strErrorRet); | 360 | bool WalletSQLiteRuntimeOpen(const string& strPath, string& strErrorRet, bool fMustExist=true); |
| 361 | void WalletSQLiteRuntimeClose(); | 361 | void WalletSQLiteRuntimeClose(); |
| 362 | bool WalletSQLiteRuntimeReadRecord(const vector<unsigned char>& vchKey, | 362 | bool WalletSQLiteRuntimeReadRecord(const vector<unsigned char>& vchKey, |
| 363 | vector<unsigned char>& vchValueRet); | 363 | vector<unsigned char>& vchValueRet); |
| @@ -370,6 +370,9 @@ bool WalletSQLiteRuntimeCommitTxn(); | |||
| 370 | void WalletSQLiteRuntimeRollbackTxn(); | 370 | void WalletSQLiteRuntimeRollbackTxn(); |
| 371 | bool WalletSQLiteRuntimeOpenReadOnly(const string& strPath, string& strErrorRet); | 371 | bool WalletSQLiteRuntimeOpenReadOnly(const string& strPath, string& strErrorRet); |
| 372 | bool WalletSQLiteRuntimeCheckpoint(string& strErrorRet); | 372 | bool WalletSQLiteRuntimeCheckpoint(string& strErrorRet); |
| 373 | string ReadWalletBackendMarker(); | ||
| 374 | bool WriteWalletBackendMarker(const string& strBackend); | ||
| 375 | bool CreateNewSQLiteWallet(const string& strPath); | ||
| 373 | 376 | ||
| 374 | 377 | ||
| 375 | 378 | ||