376 events.push_back(blk_1);
387 std::vector<tx_source_entry> sources;
388 sources.push_back(se);
391 de.
addr = miner_account.get_keys().m_account_address;
393 std::vector<tx_destination_entry> destinations;
394 destinations.push_back(de);
397 if (!
construct_tx(miner_account.get_keys(), sources, destinations, boost::none, std::vector<uint8_t>(), tmp_tx, 0))
401 miner_tx.vin[0] = tmp_tx.
vin[0];
405 events.push_back(blk_2);
crypto::public_key real_out_tx_key
bool construct_tx(const account_keys &sender_account_keys, std::vector< tx_source_entry > &sources, const std::vector< tx_destination_entry > &destinations, const boost::optional< cryptonote::account_public_address > &change_addr, const std::vector< uint8_t > &extra, transaction &tx, uint64_t unlock_time)
std::vector< tx_out > vout
std::vector< txin_v > vin
crypto::public_key get_tx_pub_key_from_extra(const std::vector< uint8_t > &tx_extra, size_t pk_index)
#define MAKE_MINER_TX_MANUALLY(TX, BLK)
void push_output(uint64_t idx, const crypto::public_key &k, uint64_t amount)
account_public_address addr
#define REWIND_BLOCKS(VEC_EVENTS, BLK_NAME, PREV_BLOCK, MINER_ACC)
size_t real_output_in_tx_index
#define BLOCK_VALIDATION_INIT_GENERATE()
#define DO_CALLBACK(VEC_EVENTS, CB_NAME)