db_lmdb: enable batch transactions by default

This commit is contained in:
stoffu 2018-06-14 11:15:53 +09:00 committed by victorsintnicolaas
parent 8a7b3ff138
commit 149da420e9

View File

@ -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);