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:
warptangent 2016-02-08 07:51:57 -08:00
parent fd46c96dce
commit 3800875406
No known key found for this signature in database
GPG key ID: 0E490BEBFBE4E92D
5 changed files with 18 additions and 0 deletions

View file

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