#include <block_validation.h>
|
| bool | generate (std::vector< test_event_entry > &events) const |
| |
| | gen_block_verification_base () |
| |
| bool | check_block_verification_context (const cryptonote::block_verification_context &bvc, size_t event_idx, const cryptonote::block &) |
| |
| bool | check_block_purged (cryptonote::core &c, size_t ev_index, const std::vector< test_event_entry > &events) |
| |
| 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 194 of file block_validation.h.
◆ generate()
Definition at line 505 of file block_validation.cpp.
513 uint64_t portion = amount / tx_out_count;
514 uint64_t remainder = amount % tx_out_count;
516 miner_tx.vout.clear();
517 for (
size_t i = 0; i < tx_out_count; ++i)
522 miner_tx.vout.push_back(o);
529 miner_tx.vout.push_back(o);
538 events.push_back(blk_1);
uint64_t get_outs_etn_amount(const transaction &tx)
boost::variant< txout_to_script, txout_to_scripthash, txout_to_key, txout_to_key_public > txout_target_v
unsigned __int64 uint64_t
#define MAKE_MINER_TX_MANUALLY(TX, BLK)
#define BLOCK_VALIDATION_INIT_GENERATE()
#define DO_CALLBACK(VEC_EVENTS, CB_NAME)
#define CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1
The documentation for this struct was generated from the following files: