CatapultServer  v0.5.0.1 (Elephant)
catapult::harvesting::HarvestingUtFacade::Impl Class Reference
Collaboration diagram for catapult::harvesting::HarvestingUtFacade::Impl:

Public Member Functions

 Impl (Timestamp blockTime, const cache::CatapultCache &cache, const model::BlockChainConfiguration &blockChainConfig, const chain::ExecutionConfiguration &executionConfig)
 
Height height () const
 
bool apply (const model::TransactionInfo &transactionInfo)
 
void unapply (const model::TransactionInfo &transactionInfo)
 
std::unique_ptr< model::Blockcommit (const model::BlockHeader &blockHeader, const model::Transactions &transactions)
 

Private Types

using Processor = predicate< const validators::stateful::NotificationValidator &, const validators::ValidatorContext &, const observers::NotificationObserver &, observers::ObserverContext & >
 

Private Member Functions

bool process (const Processor &processor)
 
bool apply (const model::WeakEntityInfo &weakEntityInfo)
 
void unapply (const model::WeakEntityInfo &weakEntityInfo)
 

Private Attributes

Timestamp m_blockTime
 
model::BlockChainConfiguration m_blockChainConfig
 
chain::ExecutionConfiguration m_executionConfig
 
cache::CatapultCacheDetachableDelta m_cacheDetachableDelta
 
cache::CatapultCacheDetachedDelta m_cacheDetachedDelta
 
std::unique_ptr< cache::CatapultCacheDeltam_pCacheDelta
 
model::BlockStatementBuilder m_blockStatementBuilder
 

Member Typedef Documentation

◆ Processor

Constructor & Destructor Documentation

◆ Impl()

catapult::harvesting::HarvestingUtFacade::Impl::Impl ( Timestamp  blockTime,
const cache::CatapultCache cache,
const model::BlockChainConfiguration blockChainConfig,
const chain::ExecutionConfiguration executionConfig 
)
inline

Member Function Documentation

◆ apply() [1/2]

bool catapult::harvesting::HarvestingUtFacade::Impl::apply ( const model::TransactionInfo transactionInfo)
inline
Here is the caller graph for this function:

◆ apply() [2/2]

bool catapult::harvesting::HarvestingUtFacade::Impl::apply ( const model::WeakEntityInfo weakEntityInfo)
inlineprivate
Here is the call graph for this function:

◆ commit()

std::unique_ptr<model::Block> catapult::harvesting::HarvestingUtFacade::Impl::commit ( const model::BlockHeader blockHeader,
const model::Transactions transactions 
)
inline
Here is the call graph for this function:

◆ height()

Height catapult::harvesting::HarvestingUtFacade::Impl::height ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ process()

bool catapult::harvesting::HarvestingUtFacade::Impl::process ( const Processor processor)
inlineprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ unapply() [1/2]

void catapult::harvesting::HarvestingUtFacade::Impl::unapply ( const model::TransactionInfo transactionInfo)
inline
Here is the call graph for this function:

◆ unapply() [2/2]

void catapult::harvesting::HarvestingUtFacade::Impl::unapply ( const model::WeakEntityInfo weakEntityInfo)
inlineprivate
Here is the call graph for this function:

Member Data Documentation

◆ m_blockChainConfig

model::BlockChainConfiguration catapult::harvesting::HarvestingUtFacade::Impl::m_blockChainConfig
private

◆ m_blockStatementBuilder

model::BlockStatementBuilder catapult::harvesting::HarvestingUtFacade::Impl::m_blockStatementBuilder
private

◆ m_blockTime

Timestamp catapult::harvesting::HarvestingUtFacade::Impl::m_blockTime
private

◆ m_cacheDetachableDelta

cache::CatapultCacheDetachableDelta catapult::harvesting::HarvestingUtFacade::Impl::m_cacheDetachableDelta
private

◆ m_cacheDetachedDelta

cache::CatapultCacheDetachedDelta catapult::harvesting::HarvestingUtFacade::Impl::m_cacheDetachedDelta
private

◆ m_executionConfig

chain::ExecutionConfiguration catapult::harvesting::HarvestingUtFacade::Impl::m_executionConfig
private

◆ m_pCacheDelta

std::unique_ptr<cache::CatapultCacheDelta> catapult::harvesting::HarvestingUtFacade::Impl::m_pCacheDelta
private

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