db_lmdb: enable batch transactions by default

This commit is contained in:
stoffu
2018-06-14 11:15:53 +09:00
committed by wowario
parent db77273f3f
commit 5b7063c15a

View File

@@ -157,7 +157,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);