549 std::vector<tx_source_entry> sources;
550 std::vector<tx_destination_entry> destinations;
554 builder.step1_init();
555 builder.step2_fill_inputs(miner_account.get_keys(), sources);
557 txin_to_key& in_to_key = boost::get<txin_to_key>(builder.m_tx.vin.front());
558 in_to_key.
k_image = generate_invalid_key_image();
560 builder.step3_fill_outputs(destinations);
561 builder.step4_calc_hash();
564 builder.m_tx.signatures.resize(1);
565 builder.m_tx.signatures[0].resize(1);
566 builder.m_tx.signatures[0][0] = boost::value_initialized<crypto::signature>();
569 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)
#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)
crypto::key_image k_image
#define GENERATE_ACCOUNT(account)
#define DO_CALLBACK(VEC_EVENTS, CB_NAME)