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

Go to the source code of this file.

Classes

struct  catapult::handlers::PullBlocksHandlerConfiguration
 Configuration for pull blocks handler. More...
 

Namespaces

 catapult
 
 catapult::io
 
 catapult::handlers
 

Functions

void catapult::handlers::RegisterPushBlockHandler (ionet::ServerPacketHandlers &handlers, const model::TransactionRegistry &registry, const BlockRangeHandler &blockRangeHandler)
 
void catapult::handlers::RegisterPullBlockHandler (ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage)
 Registers a pull block handler in handlers that responds with a block in storage. More...
 
void catapult::handlers::RegisterChainInfoHandler (ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage, const model::ChainScoreSupplier &chainScoreSupplier)
 
void catapult::handlers::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. More...
 
void catapult::handlers::RegisterPullBlocksHandler (ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage, const PullBlocksHandlerConfiguration &config)