CatapultServer  v0.5.0.1 (Elephant)
catapult::chain::UtUpdater::Impl Class Referencefinal
Collaboration diagram for catapult::chain::UtUpdater::Impl:

Public Member Functions

 Impl (cache::UtCache &transactionsCache, const cache::CatapultCache &confirmedCatapultCache, BlockFeeMultiplier minFeeMultiplier, const ExecutionConfiguration &executionConfig, const TimeSupplier &timeSupplier, const FailedTransactionSink &failedTransactionSink, const Throttle &throttle)
 
void update (const std::vector< model::TransactionInfo > &utInfos)
 
void update (const utils::HashPointerSet &confirmedTransactionHashes, const std::vector< model::TransactionInfo > &utInfos)
 

Private Member Functions

void apply (const ApplyState &applyState, const std::vector< model::TransactionInfo > &utInfos, TransactionSource transactionSource)
 
void apply (const ApplyState &applyState, const std::vector< model::TransactionInfo > &utInfos, TransactionSource transactionSource, const predicate< const model::TransactionInfo & > &filter)
 
bool throttle (const model::TransactionInfo &utInfo, TransactionSource transactionSource, const ApplyState &applyState, cache::ReadOnlyCatapultCache &cache) const
 
void addAll (cache::UtCacheModifierProxy &modifier, const std::vector< model::TransactionInfo > &utInfos)
 

Private Attributes

cache::UtCachem_transactionsCache
 
cache::RelockableDetachedCatapultCache m_detachedCatapultCache
 
BlockFeeMultiplier m_minFeeMultiplier
 
ExecutionConfiguration m_executionConfig
 
TimeSupplier m_timeSupplier
 
FailedTransactionSink m_failedTransactionSink
 
UtUpdater::Throttle m_throttle
 

Constructor & Destructor Documentation

◆ Impl()

catapult::chain::UtUpdater::Impl::Impl ( cache::UtCache transactionsCache,
const cache::CatapultCache confirmedCatapultCache,
BlockFeeMultiplier  minFeeMultiplier,
const ExecutionConfiguration executionConfig,
const TimeSupplier timeSupplier,
const FailedTransactionSink failedTransactionSink,
const Throttle throttle 
)
inline

Member Function Documentation

◆ addAll()

void catapult::chain::UtUpdater::Impl::addAll ( cache::UtCacheModifierProxy modifier,
const std::vector< model::TransactionInfo > &  utInfos 
)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ apply() [1/2]

void catapult::chain::UtUpdater::Impl::apply ( const ApplyState &  applyState,
const std::vector< model::TransactionInfo > &  utInfos,
TransactionSource  transactionSource 
)
inlineprivate
Here is the caller graph for this function:

◆ apply() [2/2]

void catapult::chain::UtUpdater::Impl::apply ( const ApplyState &  applyState,
const std::vector< model::TransactionInfo > &  utInfos,
TransactionSource  transactionSource,
const predicate< const model::TransactionInfo & > &  filter 
)
inlineprivate
Here is the call graph for this function:

◆ throttle()

bool catapult::chain::UtUpdater::Impl::throttle ( const model::TransactionInfo utInfo,
TransactionSource  transactionSource,
const ApplyState &  applyState,
cache::ReadOnlyCatapultCache cache 
) const
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update() [1/2]

void catapult::chain::UtUpdater::Impl::update ( const std::vector< model::TransactionInfo > &  utInfos)
inline
Here is the call graph for this function:

◆ update() [2/2]

void catapult::chain::UtUpdater::Impl::update ( const utils::HashPointerSet confirmedTransactionHashes,
const std::vector< model::TransactionInfo > &  utInfos 
)
inline
Here is the call graph for this function:

Member Data Documentation

◆ m_detachedCatapultCache

cache::RelockableDetachedCatapultCache catapult::chain::UtUpdater::Impl::m_detachedCatapultCache
private

◆ m_executionConfig

ExecutionConfiguration catapult::chain::UtUpdater::Impl::m_executionConfig
private

◆ m_failedTransactionSink

FailedTransactionSink catapult::chain::UtUpdater::Impl::m_failedTransactionSink
private

◆ m_minFeeMultiplier

BlockFeeMultiplier catapult::chain::UtUpdater::Impl::m_minFeeMultiplier
private

◆ m_throttle

UtUpdater::Throttle catapult::chain::UtUpdater::Impl::m_throttle
private

◆ m_timeSupplier

TimeSupplier catapult::chain::UtUpdater::Impl::m_timeSupplier
private

◆ m_transactionsCache

cache::UtCache& catapult::chain::UtUpdater::Impl::m_transactionsCache
private

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