Monero
Loading...
Searching...
No Matches
test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version > Class Template Reference

#include <check_tx_signature.h>

Inheritance diagram for test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >:
Collaboration diagram for test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >:

Public Types

typedef multi_tx_test_base< a_ring_size > base_class

Public Member Functions

bool init ()
bool test ()

Static Public Attributes

static const size_t loop_count = a_rct ? (a_ring_size <= 2 ? 50 : 10) : a_ring_size < 100 ? 100 : 10
static const size_t ring_size = a_ring_size
static const size_t outputs = a_outputs
static const bool rct = a_rct

Private Attributes

cryptonote::account_base m_alice
cryptonote::transaction m_tx
crypto::hash m_tx_prefix_hash
Private Attributes inherited from multi_tx_test_base< a_ring_size >
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_ring_size >
bool init ()
Static Private Attributes inherited from multi_tx_test_base< a_ring_size >
static const size_t ring_size = a_ring_size
static const size_t real_source_idx = ring_size / 2

Member Typedef Documentation

◆ base_class

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
typedef multi_tx_test_base<a_ring_size> test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::base_class

Member Function Documentation

◆ init()

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
bool test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::init ( )
inline

◆ test()

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
bool test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::test ( )
inline

Member Data Documentation

◆ loop_count

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
const size_t test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::loop_count = a_rct ? (a_ring_size <= 2 ? 50 : 10) : a_ring_size < 100 ? 100 : 10
static

◆ m_alice

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
cryptonote::account_base test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::m_alice
private

◆ m_tx

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
cryptonote::transaction test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::m_tx
private

◆ m_tx_prefix_hash

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
crypto::hash test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::m_tx_prefix_hash
private

◆ outputs

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
const size_t test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::outputs = a_outputs
static

◆ rct

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
const bool test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::rct = a_rct
static

◆ ring_size

template<size_t a_ring_size, size_t a_outputs, bool a_rct, rct::RangeProofType range_proof_type = rct::RangeProofBorromean, int bp_version = 2>
const size_t test_check_tx_signature< a_ring_size, a_outputs, a_rct, range_proof_type, bp_version >::ring_size = a_ring_size
static

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