40 template<
size_t a_in_count,
size_t a_out_count,
bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean,
int bp_version = 2>
43 static_assert(0 < a_in_count,
"in_count must be greater than 0");
44 static_assert(0 < a_out_count,
"out_count must be greater than 0");
47 static const size_t loop_count = (a_in_count + a_out_count < 10) ? (a_rct ? 10 : 200) : (a_in_count + a_out_count) < 100 ? (a_rct ? 5 : 25) : 5;
50 static const bool rct = a_rct;
74 std::vector<crypto::secret_key> additional_tx_keys;
75 std::unordered_map<crypto::public_key, cryptonote::subaddress_index> subaddresses;
78 return cryptonote::construct_tx_and_get_tx_key(this->m_miners[this->
real_source_idx].get_keys(), subaddresses, this->
m_sources, m_destinations,
cryptonote::account_public_address{}, std::vector<uint8_t>(), m_tx, 0, tx_key, additional_tx_keys,
rct, rct_config);
83 std::vector<cryptonote::tx_destination_entry> m_destinations;
cryptonote::account_base m_miners[ring_size]
static const size_t real_source_idx
const account_keys & get_keys() const
Holds cryptonote related classes and helpers.
crypto::public_key m_spend_public_key
account_public_address m_account_address
static const size_t in_count
static const size_t out_count
std::vector< cryptonote::tx_source_entry > m_sources
bool construct_tx_and_get_tx_key(const account_keys &sender_account_keys, const std::unordered_map< crypto::public_key, subaddress_index > &subaddresses, std::vector< tx_source_entry > &sources, 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, crypto::secret_key &tx_key, std::vector< crypto::secret_key > &additional_tx_keys, bool rct, const rct::RCTConfig &rct_config, rct::multisig_out *msout, const uint32_t account_major_offset, const cryptonote::network_type nettype)
static const size_t loop_count
multi_tx_test_base< a_in_count > base_class