1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

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