453 std::vector<tx_source_entry> sources;
454 std::vector<tx_destination_entry> destinations;
458 builder.step1_init();
459 builder.step2_fill_inputs(miner_account.get_keys(), sources);
460 txin_to_key& in_to_key = boost::get<txin_to_key>(builder.m_tx.vin.front());
461 in_to_key.
key_offsets.front() = std::numeric_limits<uint64_t>::max();
462 builder.step3_fill_outputs(destinations);
463 builder.step4_calc_hash();
464 builder.step5_sign(sources);
467 events.push_back(builder.m_tx);
void fill_tx_sources_and_destinations(const std::vector< test_event_entry > &events, const block &blk_head, const cryptonote::account_base &from, const cryptonote::account_public_address &to, uint64_t amount, uint64_t fee, size_t nmix, std::vector< tx_source_entry > &sources, std::vector< tx_destination_entry > &destinations)
std::vector< uint64_t > key_offsets
#define TESTS_DEFAULT_FEE
#define MAKE_GENESIS_BLOCK(VEC_EVENTS, BLK_NAME, MINER_ACC, TS)
unsigned __int64 uint64_t
#define REWIND_BLOCKS(VEC_EVENTS, BLK_NAME, PREV_BLOCK, MINER_ACC)
#define GENERATE_ACCOUNT(account)
#define DO_CALLBACK(VEC_EVENTS, CB_NAME)