#include <block_validation.h>
|
| bool | generate (std::vector< test_event_entry > &events) const |
| | gen_block_accepted_base () |
| bool | check_block_accepted (cryptonote::core &c, size_t, const std::vector< test_event_entry > &) |
| 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 > &) |
Definition at line 93 of file block_validation.h.
◆ generate()
| bool gen_block_ts_not_checked::generate |
( |
std::vector< test_event_entry > & | events | ) |
const |
Definition at line 104 of file block_validation.cpp.
105{
108
109 block blk_1;
111 events.push_back(blk_1);
112
114
115 return true;
116}
#define BLOCK_VALIDATION_INIT_GENERATE()
#define DO_CALLBACK(VEC_EVENTS, CB_NAME)
#define REWIND_BLOCKS_N(VEC_EVENTS, BLK_NAME, PREV_BLOCK, MINER_ACC, COUNT)
#define BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW
The documentation for this struct was generated from the following files:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/core_tests/block_validation.h
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/core_tests/block_validation.cpp