std::unique_ptr<cryptonote::Blockchain> bc; \
const std::pair<uint8_t, uint64_t> hard_forks[3]; \
hard_forks, \
window, \
}; \
} opts; \
cryptonote::Blockchain *blockchain = bc.get(); \
Definition blockchain.h:103
bool init(BlockchainDB *db, const network_type nettype=MAINNET, bool offline=false, const cryptonote::test_options *test_options=NULL, difficulty_type fixed_difficulty=0, const GetCheckpointsCallback &get_checkpoints=nullptr)
Initialize the Blockchain state.
Definition blockchain.cpp:283
Transaction pool, handles transactions which are not part of a block.
Definition tx_pool.h:99
#define ASSERT_TRUE(condition)
Definition gtest.h:1865
@ FAKECHAIN
Definition cryptonote_config.h:306
r
Definition testupnpigd.py:61
unsigned char uint8_t
Definition stdint.h:124
unsigned __int64 uint64_t
Definition stdint.h:136
Definition cryptonote_core.h:61
Definition chaingen.h:725