Monero
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version > Class Template Reference

#include <construct_tx.h>

Inheritance diagram for test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >:
Inheritance graph
[legend]
Collaboration diagram for test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >:
Collaboration graph
[legend]

Public Types

typedef multi_tx_test_base< a_in_count > base_class
 

Public Member Functions

bool init ()
 
bool test ()
 

Static Public Attributes

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
 
static const size_t in_count = a_in_count
 
static const size_t out_count = a_out_count
 
static const bool rct = a_rct
 

Private Attributes

cryptonote::account_base m_alice
 
std::vector< cryptonote::tx_destination_entrym_destinations
 
cryptonote::transaction m_tx
 
- Private Attributes inherited from multi_tx_test_base< a_in_count >
cryptonote::account_base m_miners [ring_size]
 
cryptonote::transaction m_miner_txs [ring_size]
 
uint64_t m_source_amount
 
std::vector< cryptonote::tx_source_entrym_sources
 
crypto::public_key m_public_keys [ring_size]
 
const crypto::public_keym_public_key_ptrs [ring_size]
 

Additional Inherited Members

- Private Member Functions inherited from multi_tx_test_base< a_in_count >
bool init ()
 
- Static Private Attributes inherited from multi_tx_test_base< a_in_count >
static const size_t ring_size
 
static const size_t real_source_idx
 

Member Typedef Documentation

◆ base_class

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>
typedef multi_tx_test_base<a_in_count> test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::base_class

Member Function Documentation

◆ init()

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>
bool test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::init ( )
inline

◆ test()

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>
bool test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::test ( )
inline

Member Data Documentation

◆ in_count

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>
const size_t test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::in_count = a_in_count
static

◆ loop_count

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>
const size_t test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::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
static

◆ m_alice

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>
cryptonote::account_base test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::m_alice
private

◆ m_destinations

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>
std::vector<cryptonote::tx_destination_entry> test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::m_destinations
private

◆ m_tx

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>
cryptonote::transaction test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::m_tx
private

◆ out_count

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>
const size_t test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::out_count = a_out_count
static

◆ rct

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>
const bool test_construct_tx< a_in_count, a_out_count, a_rct, range_proof_type, bp_version >::rct = a_rct
static

The documentation for this class was generated from the following file: