Monero
Loading...
Searching...
No Matches
gen_simple_chain_split_1 Class Reference

#include <chain_split_1.h>

Inheritance diagram for gen_simple_chain_split_1:
Collaboration diagram for gen_simple_chain_split_1:

Public Member Functions

 gen_simple_chain_split_1 ()
bool generate (std::vector< test_event_entry > &events) const
bool check_split_not_switched (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
bool check_split_not_switched2 (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
bool check_split_switched (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
bool check_split_not_switched_back (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
bool check_split_switched_back_1 (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
bool check_split_switched_back_2 (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
bool check_mempool_1 (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
bool check_mempool_2 (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
Public Member Functions inherited from test_chain_unit_base
void register_callback (const std::string &cb_name, verify_callback cb)
bool verify (const std::string &cb_name, cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)
bool check_block_verification_context (const cryptonote::block_verification_context &bvc, size_t event_idx, const cryptonote::block &)
bool check_tx_verification_context (const cryptonote::tx_verification_context &tvc, bool, size_t, const cryptonote::transaction &)
bool check_tx_verification_context_array (const std::vector< cryptonote::tx_verification_context > &tvcs, size_t, size_t, const std::vector< cryptonote::transaction > &)

Additional Inherited Members

Public Types inherited from test_chain_unit_base
typedef boost::function< bool(cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events)> verify_callback
typedef std::map< std::string, verify_callbackcallbacks_map

Constructor & Destructor Documentation

◆ gen_simple_chain_split_1()

gen_simple_chain_split_1::gen_simple_chain_split_1 ( )

Member Function Documentation

◆ check_mempool_1()

bool gen_simple_chain_split_1::check_mempool_1 ( cryptonote::core & c,
size_t ev_index,
const std::vector< test_event_entry > & events )

◆ check_mempool_2()

bool gen_simple_chain_split_1::check_mempool_2 ( cryptonote::core & c,
size_t ev_index,
const std::vector< test_event_entry > & events )

◆ check_split_not_switched()

bool gen_simple_chain_split_1::check_split_not_switched ( cryptonote::core & c,
size_t ev_index,
const std::vector< test_event_entry > & events )

◆ check_split_not_switched2()

bool gen_simple_chain_split_1::check_split_not_switched2 ( cryptonote::core & c,
size_t ev_index,
const std::vector< test_event_entry > & events )

◆ check_split_not_switched_back()

bool gen_simple_chain_split_1::check_split_not_switched_back ( cryptonote::core & c,
size_t ev_index,
const std::vector< test_event_entry > & events )

◆ check_split_switched()

bool gen_simple_chain_split_1::check_split_switched ( cryptonote::core & c,
size_t ev_index,
const std::vector< test_event_entry > & events )

◆ check_split_switched_back_1()

bool gen_simple_chain_split_1::check_split_switched_back_1 ( cryptonote::core & c,
size_t ev_index,
const std::vector< test_event_entry > & events )

◆ check_split_switched_back_2()

bool gen_simple_chain_split_1::check_split_switched_back_2 ( cryptonote::core & c,
size_t ev_index,
const std::vector< test_event_entry > & events )

◆ generate()

bool gen_simple_chain_split_1::generate ( std::vector< test_event_entry > & events) const

The documentation for this class was generated from the following files: