41 template<
size_t a_ring_size>
44 static_assert(0 < a_ring_size,
"ring_size must be greater than 0");
54 std::vector<tx_source_entry::output_entry> output_entries;
74 source_entry.
outputs.swap(output_entries);
77 source_entry.
rct =
false;
crypto::secret_key generate(const crypto::secret_key &recovery_key=crypto::secret_key(), bool recover=false, bool two_random=false)
std::vector< tx_out > vout
std::vector< cryptonote::tx_source_entry > m_sources
cryptonote::transaction m_miner_txs[ring_size]
cryptonote::account_base m_miners[ring_size]
const crypto::public_key * m_public_key_ptrs[ring_size]
static const size_t real_source_idx
crypto::public_key m_public_keys[ring_size]
static const size_t ring_size
Holds cryptonote related classes and helpers.
crypto::public_key get_tx_pub_key_from_extra(const std::vector< uint8_t > &tx_extra, size_t pk_index)
bool construct_miner_tx(size_t height, size_t median_weight, uint64_t already_generated_coins, size_t current_block_weight, uint64_t fee, const account_public_address &miner_address, transaction &tx, const blobdata &extra_nonce, size_t max_outs, uint8_t hard_fork_version, network_type nettype)
key zeroCommit(etn_amount amount)
unsigned __int64 uint64_t
crypto::public_key real_out_tx_key
std::vector< output_entry > outputs
size_t real_output_in_tx_index