aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-06-14 11:15:53 +0900
committervictorsintnicolaas <vicsn@users.noreply.github.com>2018-06-14 20:56:11 +0200
commit149da420e9f6ca83efd471d7a52cd665e6f1cf2e (patch)
tree547e7c6db3d1ce6d3b7d4394b34f988a9cfe6098
parentMerge pull request #3866 (diff)
downloadmonero-149da420e9f6ca83efd471d7a52cd665e6f1cf2e.tar.xz
db_lmdb: enable batch transactions by default
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index cc1b06ca0..4580573eb 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -166,7 +166,7 @@ struct mdb_txn_safe
class BlockchainLMDB : public BlockchainDB
{
public:
- BlockchainLMDB(bool batch_transactions=false);
+ BlockchainLMDB(bool batch_transactions=true);
~BlockchainLMDB();
virtual void open(const std::string& filename, const int mdb_flags=0);