mirror of
https://github.com/monero-project/monero.git
synced 2025-08-15 17:00:23 -04:00
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:
parent
fd46c96dce
commit
3800875406
5 changed files with 18 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue