Make HardFork object available to BlockchainDB and derived DB implementations
This will later allow the HardFork object's DB update functions to be called when the DB transaction that persists across block add/remove is open.
This commit is contained in:
@@ -945,6 +945,8 @@ BlockchainLMDB::BlockchainLMDB(bool batch_transactions)
|
||||
m_write_batch_txn = nullptr;
|
||||
m_batch_active = false;
|
||||
m_height = 0;
|
||||
|
||||
m_hardfork = nullptr;
|
||||
}
|
||||
|
||||
void BlockchainLMDB::open(const std::string& filename, const int mdb_flags)
|
||||
|
||||
Reference in New Issue
Block a user