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
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

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