mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-01 03:33:14 +00:00
db_lmdb: enable batch transactions by default
This commit is contained in:
parent
8a7b3ff138
commit
149da420e9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue