diff options
author | Cozz Lovan <cozzlovan@yahoo.com> | 2014-08-31 05:55:27 +0200 |
---|---|---|
committer | Cozz Lovan <cozzlovan@yahoo.com> | 2014-10-03 05:11:27 +0200 |
commit | 44bc988e7becb492a78ed92ea1052f4789012534 (patch) | |
tree | e7ce5489c4f331b71bc55c24cfcd89393097f069 /src/db.h | |
parent | 29f96e8bc652cb14c6fdefe5279ee983054faa2a (diff) |
[Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..)
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: |