git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Default to DB_TXN_WRITE_NOSYNC for all transactional operations
[novacoin.git]
/
src
/
db.h
diff --git
a/src/db.h
b/src/db.h
index
3ce8f17
..
399b62f
100644
(file)
--- a/
src/db.h
+++ b/
src/db.h
@@
-216,7
+216,7
@@
public:
if (!pdb)
return false;
DbTxn* ptxn = NULL;
- int ret = dbenv.txn_begin(GetTxn(), &ptxn, DB_TXN_NOSYNC);
+ int ret = dbenv.txn_begin(GetTxn(), &ptxn, DB_TXN_WRITE_NOSYNC);
if (!ptxn || ret != 0)
return false;
vTxn.push_back(ptxn);