CatapultServer  v0.5.0.1 (Elephant)
SyncSourceService.h
Go to the documentation of this file.
1 
21 #pragma once
23 
24 namespace catapult { namespace syncsource {
25 
29 }}
ChainScoreSupplier
model::ChainScoreSupplier ChainScoreSupplier
Definition: SyncSourceService.cpp:40
ServerHooksUtils.h
ServiceRegistrar.h
VerifiableStateService.h
SyncSourceService.h
ChainHandlers.h
catapult::config::NodeConfiguration
Node configuration settings.
Definition: NodeConfiguration.h:33
catapult::handlers::RegisterPushBlockHandler
void RegisterPushBlockHandler(ionet::ServerPacketHandlers &handlers, const model::TransactionRegistry &registry, const BlockRangeHandler &blockRangeHandler)
Definition: ChainHandlers.cpp:33
catapult::handlers::RegisterBlockHashesHandler
void RegisterBlockHashesHandler(ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage, uint32_t maxHashes)
Registers a block hashes handler in handlers that responds with at most maxHashes hashes in storage.
Definition: ChainHandlers.cpp:108
catapult::utils::FileSize::bytes32
uint32_t bytes32() const
Returns the number of bytes as a uint32_t.
Definition: FileSize.h:72
catapult::model::ChainScoreSupplier
supplier< ChainScore > ChainScoreSupplier
Prototype for a function that returns a chain score.
Definition: ChainScore.h:120
catapult::extensions::ServiceRegistrarPhase::Post_Range_Consumers
Requires basic range consumers (and factories) to be registered.
catapult::handlers::RegisterPullBlocksHandler
void RegisterPullBlocksHandler(ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage, const PullBlocksHandlerConfiguration &config)
Definition: ChainHandlers.cpp:153
PLUGIN_API
#define PLUGIN_API
Definition: plugins.h:30
MemoryUtCache.h
catapult::extensions::CreateBlockPushEntityCallback
BlockRangeConsumerFunc CreateBlockPushEntityCallback(const ServerHooks &hooks)
Creates a block push entity callback from hooks that only pushes when synced.
Definition: ServerHooksUtils.cpp:35
catapult::config::NodeConfiguration::MaxBlocksPerSyncAttempt
uint32_t MaxBlocksPerSyncAttempt
Maximum number of blocks per sync attempt.
Definition: NodeConfiguration.h:61
catapult::syncsource::SyncSource
DECLARE_SERVICE_REGISTRAR() SyncSource()
Definition: SyncSourceService.cpp:94
forwardsValidation.info
def info(*args)
Definition: forwardsValidation.py:12
catapult::handlers::BlockRangeHandler
RangeHandler< model::Block > BlockRangeHandler
Prototype for a function that processes a range of blocks.
Definition: HandlerTypes.h:32
catapult::handlers::PullBlocksHandlerConfiguration::MaxBlocks
uint32_t MaxBlocks
Maximum blocks to return.
Definition: ChainHandlers.h:54
TransactionHandlers.h
catapult::handlers::RegisterChainInfoHandler
void RegisterChainInfoHandler(ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage, const model::ChainScoreSupplier &chainScoreSupplier)
Definition: ChainHandlers.cpp:79
catapult::handlers::RegisterPullTransactionsHandler
void RegisterPullTransactionsHandler(ionet::ServerPacketHandlers &handlers, const UtRetriever &utRetriever)
Definition: TransactionHandlers.cpp:88
PluginManager.h
catapult::handlers::PullBlocksHandlerConfiguration::MaxResponseBytes
uint32_t MaxResponseBytes
Maximum response bytes.
Definition: ChainHandlers.h:57
PushBlockCallback
handlers::BlockRangeHandler PushBlockCallback
Definition: SyncSourceService.cpp:39
UtRetriever
handlers::UtRetriever UtRetriever
Definition: SyncSourceService.cpp:42
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::extensions::ProcessBootstrapper
Process bootstrapper.
Definition: ProcessBootstrapper.h:42
LocalNodeChainScore.h
catapult::handlers::RegisterPullBlockHandler
void RegisterPullBlockHandler(ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage)
Registers a pull block handler in handlers that responds with a block in storage.
Definition: ChainHandlers.cpp:57
DECLARE_SERVICE_REGISTRAR
#define DECLARE_SERVICE_REGISTRAR(NAME)
Declares a service registrar entry point with NAME.
Definition: ServiceRegistrar.h:61
ProcessBootstrapper.h
catapult::handlers::PullBlocksHandlerConfiguration
Configuration for pull blocks handler.
Definition: ChainHandlers.h:52
ServiceState.h
RegisterExtension
PLUGIN_API void RegisterExtension(catapult::extensions::ProcessBootstrapper &bootstrapper)
Entry point for registering a dynamic extension module with bootstrapper.
Definition: SyncSourceExtension.cpp:40
catapult::config::NodeConfiguration::MaxChainBytesPerSyncAttempt
utils::FileSize MaxChainBytesPerSyncAttempt
Maximum chain bytes per sync attempt.
Definition: NodeConfiguration.h:64
BlocksHandlerConfig
handlers::PullBlocksHandlerConfiguration BlocksHandlerConfig
Definition: SyncSourceService.cpp:41
catapult::handlers::UtRetriever
std::function< UnconfirmedTransactions(BlockFeeMultiplier, const utils::ShortHashesSet &)> UtRetriever
Prototype for a function that retrieves unconfirmed transactions given a set of short hashes.
Definition: TransactionHandlers.h:42