aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-01-26 12:18:42 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-01-26 12:19:12 +0100
commit8204e19abed6c6ee8dca4a00943abfc52ea68fab (patch)
tree630099e9f695ed98b34cc0f4be992bb581c98a19 /src/db.h
parentb01a435c34f0669affece2b3d90f92c347588d69 (diff)
parent44bc988e7becb492a78ed92ea1052f4789012534 (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db.h b/src/db.h
index 393978633f..d208907c89 100644
--- a/src/db.h
+++ b/src/db.h
@@ -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: