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