74{
76
77 std::vector<block> block_list;
80
81 std::vector<block> blocks(block_list.begin(), block_list.end());
82
84
87
88 cryptonote::account_base bob_account = boost::get<cryptonote::account_base>(events[1]);
89 cryptonote::account_base alice_account = boost::get<cryptonote::account_base>(events[2]);
90
91 std::vector<cryptonote::block> chain;
97
98 return true;
99}
bool find_block_chain(const std::vector< test_event_entry > &events, std::vector< cryptonote::block > &blockchain, map_hash2tx_t &mtx, const crypto::hash &head)
uint64_t get_balance(const cryptonote::account_base &addr, const std::vector< cryptonote::block > &blockchain, const map_hash2tx_t &mtx)
#define DEFINE_TESTS_ERROR_CONTEXT(text)
std::unordered_map< crypto::hash, const cryptonote::transaction * > map_hash2tx_t
#define CHECK_TEST_CONDITION(cond)
#define TESTS_DEFAULT_FEE
size_t get_pool_transactions_count() const
get the total number of transactions in the pool
size_t get_alternative_blocks_count() const
returns the number of alternative blocks stored
bool get_blocks(uint64_t start_offset, size_t count, std::vector< std::pair< cryptonote::blobdata, block > > &blocks, std::vector< cryptonote::blobdata > &txs) const
static const size_t expected_blockchain_height
static const uint64_t send_amount
#define CRYPTONOTE_MINED_ETN_UNLOCK_WINDOW
crypto::hash get_block_hash(uint64_t height)