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:
parent
db77273f3f
commit
5b7063c15a
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,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…
Add table
Add a link
Reference in a new issue