diff options
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 | ||