Electroneum
Classes | Functions | Variables
cryptonote::anonymous_namespace{tx_pool.cpp} Namespace Reference

Classes

class  LockedTXN
 

Functions

uint64_t get_relay_delay (time_t now, time_t received)
 
uint64_t template_accept_threshold (uint64_t amount)
 
uint64_t get_transaction_weight_limit (uint8_t version)
 

Variables

time_t const MIN_RELAY_TIME = (60 * 5)
 
time_t const MAX_RELAY_TIME = (60 * 60 * 4)
 
float const ACCEPT_THRESHOLD = 1.0f
 

Function Documentation

◆ get_relay_delay()

uint64_t cryptonote::anonymous_namespace{tx_pool.cpp}::get_relay_delay ( time_t  now,
time_t  received 
)

◆ get_transaction_weight_limit()

uint64_t cryptonote::anonymous_namespace{tx_pool.cpp}::get_transaction_weight_limit ( uint8_t  version)

◆ template_accept_threshold()

uint64_t cryptonote::anonymous_namespace{tx_pool.cpp}::template_accept_threshold ( uint64_t  amount)

Variable Documentation

◆ ACCEPT_THRESHOLD

float const cryptonote::anonymous_namespace{tx_pool.cpp}::ACCEPT_THRESHOLD = 1.0f

◆ MAX_RELAY_TIME

time_t const cryptonote::anonymous_namespace{tx_pool.cpp}::MAX_RELAY_TIME = (60 * 60 * 4)

◆ MIN_RELAY_TIME

time_t const cryptonote::anonymous_namespace{tx_pool.cpp}::MIN_RELAY_TIME = (60 * 5)