CatapultServer  v0.5.0.1 (Elephant)
UtSynchronizer.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "RemoteNodeSynchronizer.h"
25 
26 namespace catapult { namespace api { class RemoteTransactionApi; } }
27 
28 namespace catapult { namespace chain {
29 
32 
36  BlockFeeMultiplier minFeeMultiplier,
37  const ShortHashesSupplier& shortHashesSupplier,
38  const handlers::TransactionRangeHandler& transactionRangeConsumer);
39 }}
catapult::chain::RemoteNodeSynchronizer
std::function< thread::future< ionet::NodeInteractionResultCode >(const TRemoteApi &)> RemoteNodeSynchronizer
Function signature for synchronizing with a remote node.
Definition: RemoteNodeSynchronizer.h:30
catapult::model::AnnotatedTransactionRange
AnnotatedEntityRange< Transaction > AnnotatedTransactionRange
An annotated entity range composed of transactions.
Definition: AnnotatedEntityRange.h:57
m_shortHashesSupplier
ShortHashesSupplier m_shortHashesSupplier
Definition: UtSynchronizer.cpp:54
RemoteNodeSynchronizer.h
RemoteTransactionApi.h
catapult::chain::ShortHashesSupplier
supplier< model::ShortHashRange > ShortHashesSupplier
Function signature for supplying a range of short hashes.
Definition: UtSynchronizer.h:31
catapult::supplier
std::function< T()> supplier
A (stateless) supplier function.
Definition: functions.h:39
catapult::utils::BaseValue< uint32_t, BlockFeeMultiplier_tag >
m_minFeeMultiplier
BlockFeeMultiplier m_minFeeMultiplier
Definition: UtSynchronizer.cpp:53
EntitiesSynchronizer.h
catapult::model::TransactionRange
EntityRange< Transaction > TransactionRange
An entity range composed of transactions.
Definition: RangeTypes.h:32
m_transactionRangeConsumer
handlers::TransactionRangeHandler m_transactionRangeConsumer
Definition: UtSynchronizer.cpp:55
UtSynchronizer.h
catapult::chain::CreateUtSynchronizer
RemoteNodeSynchronizer< api::RemoteTransactionApi > CreateUtSynchronizer(BlockFeeMultiplier minFeeMultiplier, const ShortHashesSupplier &shortHashesSupplier, const handlers::TransactionRangeHandler &transactionRangeConsumer)
Definition: UtSynchronizer.cpp:59
catapult::handlers::TransactionRangeHandler
RangeHandler< model::Transaction > TransactionRangeHandler
Prototype for a function that processes a range of transactions.
Definition: HandlerTypes.h:35
catapult::BlockFeeMultiplier
utils::BaseValue< uint32_t, BlockFeeMultiplier_tag > BlockFeeMultiplier
Definition: src/catapult/types.h:91
catapult
Definition: AddressExtractionExtension.cpp:28
HandlerTypes.h
catapult::chain::CreateRemoteNodeSynchronizer
RemoteNodeSynchronizer< typename TSynchronizer::RemoteApiType > CreateRemoteNodeSynchronizer(const std::shared_ptr< TSynchronizer > &pSynchronizer)
Creates a remote node synchronizer around pSynchronizer.
Definition: RemoteNodeSynchronizer.h:34
catapult::Key
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41
Name
static constexpr auto Name
Definition: UtSynchronizer.cpp:31
RangeTypes.h