db_lmdb: enable batch transactions by default
This commit is contained in:
parent
8a7b3ff138
commit
149da420e9
|
@ -166,7 +166,7 @@ struct mdb_txn_safe
|
||||||
class BlockchainLMDB : public BlockchainDB
|
class BlockchainLMDB : public BlockchainDB
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BlockchainLMDB(bool batch_transactions=false);
|
BlockchainLMDB(bool batch_transactions=true);
|
||||||
~BlockchainLMDB();
|
~BlockchainLMDB();
|
||||||
|
|
||||||
virtual void open(const std::string& filename, const int mdb_flags=0);
|
virtual void open(const std::string& filename, const int mdb_flags=0);
|
||||||
|
|
Loading…
Reference in New Issue