diff options
author | warptangent <warptangent@tutanota.com> | 2016-02-04 23:05:11 -0800 |
---|---|---|
committer | warptangent <warptangent@tutanota.com> | 2016-02-08 08:50:51 -0800 |
commit | 8f863e742d2cd6a959361ec232c4c93473914568 (patch) | |
tree | 8a16cd8b53c8eaa44ab228f64dc4d7b27995ba76 /src/cryptonote_core/blockchain.h | |
parent | fake_core: Check if hard fork subdbs need reset at start (diff) | |
download | monero-8f863e742d2cd6a959361ec232c4c93473914568.tar.xz |
Blockchain: Optionally pass in HardFork object
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r-- | src/cryptonote_core/blockchain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h index 89f623f90..5299fed99 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -92,6 +92,7 @@ namespace cryptonote Blockchain(tx_memory_pool& tx_pool); bool init(BlockchainDB* db, const bool testnet = false, const bool fakechain = false); + bool init(BlockchainDB* db, HardFork*& hf, const bool testnet = false, const bool fakechain = false); bool deinit(); void set_checkpoints(checkpoints&& chk_pts) { m_checkpoints = chk_pts; } |