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
5 changed files with 18 additions and 0 deletions
+2
View File
@@ -781,6 +781,8 @@ BlockchainBDB::BlockchainBDB(bool batch_transactions) :
m_batch_transactions = batch_transactions;
m_write_txn = nullptr;
m_height = 0;
m_hardfork = nullptr;
}
void BlockchainBDB::open(const std::string& filename, const int db_flags)