CatapultServer  v0.5.0.1 (Elephant)
catapult::local::BlockChainLoader Class Reference
Collaboration diagram for catapult::local::BlockChainLoader:

Public Member Functions

 BlockChainLoader (const BlockDependentNotificationObserverFactory &observerFactory, const plugins::PluginManager &pluginManager, const extensions::LocalNodeStateRef &stateRef, Height startHeight)
 
model::ChainScore loadAll (const NotifyProgressFunc &notifyProgress) const
 

Private Types

using NotifyProgressFunc = consumer< Height, Height >
 

Private Member Functions

Hash256 execute (const model::BlockElement &blockElement) const
 

Private Attributes

BlockDependentNotificationObserverFactory m_observerFactory
 
const plugins::PluginManagerm_pluginManager
 
const extensions::LocalNodeStateRefm_stateRef
 
Height m_startHeight
 

Member Typedef Documentation

◆ NotifyProgressFunc

Constructor & Destructor Documentation

◆ BlockChainLoader()

catapult::local::BlockChainLoader::BlockChainLoader ( const BlockDependentNotificationObserverFactory observerFactory,
const plugins::PluginManager pluginManager,
const extensions::LocalNodeStateRef stateRef,
Height  startHeight 
)
inline

Member Function Documentation

◆ execute()

Hash256 catapult::local::BlockChainLoader::execute ( const model::BlockElement blockElement) const
inlineprivate

◆ loadAll()

model::ChainScore catapult::local::BlockChainLoader::loadAll ( const NotifyProgressFunc notifyProgress) const
inline

Member Data Documentation

◆ m_observerFactory

BlockDependentNotificationObserverFactory catapult::local::BlockChainLoader::m_observerFactory
private

◆ m_pluginManager

const plugins::PluginManager& catapult::local::BlockChainLoader::m_pluginManager
private

◆ m_startHeight

Height catapult::local::BlockChainLoader::m_startHeight
private

◆ m_stateRef

const extensions::LocalNodeStateRef& catapult::local::BlockChainLoader::m_stateRef
private

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