CatapultServer
v0.5.0.1 (Elephant)
|
const auto & blockRangeConsumerFactory() const
Gets the factory for creating a BlockRangeConsumerFunc bound to an input source.
Definition: ServerHooks.h:161
auto chainSyncedPredicate() const
Gets the chain synced predicate.
Definition: ServerHooks.h:181
predicate<> ChainSyncedPredicate
Predicate for determining if a chain is synced.
Definition: ServerHooks.h:69
handlers::TransactionRangeHandler TransactionRangeConsumerFunc
Function signature for delivering a transaction range to a consumer.
Definition: ServerHooks.h:60
BlockRangeConsumerFunc CreateBlockPushEntityCallback(const ServerHooks &hooks)
Creates a block push entity callback from hooks that only pushes when synced.
Definition: ServerHooksUtils.cpp:35
TransactionRangeConsumerFunc CreateTransactionPushEntityCallback(const ServerHooks &hooks)
Creates a transaction push entity callback from hooks that only pushes when synced.
Definition: ServerHooksUtils.cpp:39
handlers::BlockRangeHandler BlockRangeConsumerFunc
Function signature for delivering a block range to a consumer.
Definition: ServerHooks.h:50
Hooks that can be used to configure server behavior.
Definition: ServerHooks.h:77
const auto & transactionRangeConsumerFactory() const
Gets the factory for creating a TransactionRangeConsumerFunc bound to an input source.
Definition: ServerHooks.h:171
Definition: AddressExtractionExtension.cpp:28
std::function< void(TArgs...)> consumer
A consumer function.
Definition: functions.h:35