CatapultServer  v0.5.0.1 (Elephant)
ChainSynchronizer.h File Reference
Include dependency graph for ChainSynchronizer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  catapult::chain::ChainSynchronizerConfiguration
 Configuration for customizing a chain synchronizer. More...
 

Namespaces

 catapult
 
 catapult::api
 
 catapult::model
 
 catapult::chain
 

Typedefs

using catapult::chain::BlockRangeConsumerFunc = consumer< model::BlockRange && >
 Function signature for delivering a block range to a consumer. More...
 
using catapult::chain::CompletionAwareBlockRangeConsumerFunc = std::function< disruptor::DisruptorElementId(model::AnnotatedBlockRange &&, const disruptor::ProcessingCompleteFunc &)>
 Function signature for delivering a block range to a consumer with an additional completion handler. More...
 

Functions

RemoteNodeSynchronizer< api::RemoteChainApi > catapult::chain::CreateChainSynchronizer (const std::shared_ptr< const api::ChainApi > &pLocalChainApi, const ChainSynchronizerConfiguration &config, const CompletionAwareBlockRangeConsumerFunc &blockRangeConsumer)