diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-26 12:18:42 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-26 12:19:12 +0100 |
commit | 8204e19abed6c6ee8dca4a00943abfc52ea68fab (patch) | |
tree | 630099e9f695ed98b34cc0f4be992bb581c98a19 /src/db.h | |
parent | b01a435c34f0669affece2b3d90f92c347588d69 (diff) | |
parent | 44bc988e7becb492a78ed92ea1052f4789012534 (diff) |
Merge pull request #4805
44bc988 [Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..) (Cozz Lovan)
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -97,8 +97,9 @@ protected: std::string strFile; DbTxn* activeTxn; bool fReadOnly; + bool fFlushOnClose; - explicit CDB(const std::string& strFilename, const char* pszMode = "r+"); + explicit CDB(const std::string& strFilename, const char* pszMode = "r+", bool fFlushOnCloseIn=true); ~CDB() { Close(); } public: |