Monero
Classes | Namespaces | Typedefs | Functions | Variables
tx_verification_utils.h File Reference
#include "common/data_cache.h"
#include "cryptonote_basic/cryptonote_basic.h"
#include "cryptonote_basic/verification_context.h"
Include dependency graph for tx_verification_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cryptonote::pool_supplement
 Used to provide transaction info that skips the mempool to block handling code. More...
 

Namespaces

 cryptonote
 Holds cryptonote related classes and helpers.
 

Typedefs

using cryptonote::rct_ver_cache_t = ::tools::data_cache<::crypto::hash, RCT_VER_CACHE_SIZE >
 

Functions

uint64_t cryptonote::get_transaction_weight_limit (uint8_t hf_version)
 Get the maximum transaction weight for a given hardfork. More...
 
bool cryptonote::ver_rct_non_semantics_simple_cached (transaction &tx, const rct::ctkeyM &mix_ring, rct_ver_cache_t &cache, std::uint8_t rct_type_to_cache)
 Cached version of rct::verRctNonSemanticsSimple. More...
 
bool cryptonote::ver_mixed_rct_semantics (std::vector< const rct::rctSig * > rvv)
 Verify the semantics of a group of RingCT signatures as a batch (if applicable) More...
 
bool cryptonote::ver_non_input_consensus (const transaction &tx, tx_verification_context &tvc, std::uint8_t hf_version)
 Verify every non-input consensus rule for a group of non-coinbase transactions. More...
 
bool cryptonote::ver_non_input_consensus (const pool_supplement &ps, tx_verification_context &tvc, const std::uint8_t hf_version)
 

Variables

static constexpr const size_t cryptonote::RCT_VER_CACHE_SIZE = 8192