|
| | test_generator () |
| | test_generator (const test_generator &other) |
| void | get_block_chain (std::vector< block_info > &blockchain, const crypto::hash &head, size_t n) const |
| void | get_last_n_block_weights (std::vector< size_t > &block_weights, const crypto::hash &head, size_t n) const |
| uint64_t | get_already_generated_coins (const crypto::hash &blk_id) const |
| uint64_t | get_already_generated_coins (const cryptonote::block &blk) const |
| void | add_block (const cryptonote::block &blk, size_t tsx_size, std::vector< size_t > &block_weights, uint64_t already_generated_coins, uint64_t block_reward, uint8_t hf_version=1) |
| bool | construct_block (cryptonote::block &blk, uint64_t height, const crypto::hash &prev_id, const cryptonote::account_base &miner_acc, uint64_t timestamp, uint64_t already_generated_coins, std::vector< size_t > &block_weights, const std::list< cryptonote::transaction > &tx_list, const boost::optional< uint8_t > &hf_ver=boost::none) |
| bool | construct_block (cryptonote::block &blk, const cryptonote::account_base &miner_acc, uint64_t timestamp) |
| bool | construct_block (cryptonote::block &blk, const cryptonote::block &blk_prev, const cryptonote::account_base &miner_acc, const std::list< cryptonote::transaction > &tx_list=std::list< cryptonote::transaction >(), const boost::optional< uint8_t > &hf_ver=boost::none) |
| bool | construct_block_manually (cryptonote::block &blk, const cryptonote::block &prev_block, const cryptonote::account_base &miner_acc, int actual_params=bf_none, uint8_t major_ver=0, uint8_t minor_ver=0, uint64_t timestamp=0, const crypto::hash &prev_id=crypto::hash(), const cryptonote::difficulty_type &diffic=1, const cryptonote::transaction &miner_tx=cryptonote::transaction(), const std::vector< crypto::hash > &tx_hashes=std::vector< crypto::hash >(), size_t txs_sizes=0, size_t max_outs=999, uint8_t hf_version=1, uint64_t fees=0) |
| bool | construct_block_manually_tx (cryptonote::block &blk, const cryptonote::block &prev_block, const cryptonote::account_base &miner_acc, const std::vector< crypto::hash > &tx_hashes, size_t txs_size) |
| void | fill_nonce (cryptonote::block &blk, const cryptonote::difficulty_type &diffic, uint64_t height) |
| void | set_events (const std::vector< test_event_entry > *events) |
| void | set_network_type (const cryptonote::network_type nettype) |