CatapultServer  v0.5.0.1 (Elephant)
MerkleHandlers.h
Go to the documentation of this file.
1 
21 #pragma once
23 
24 namespace catapult { namespace io { class BlockStorageCache; } }
25 
26 namespace catapult { namespace handlers {
27 
30  void RegisterSubCacheMerkleRootsHandler(ionet::ServerPacketHandlers& handlers, const io::BlockStorageCache& storage);
31 }}
catapult::handlers::RegisterSubCacheMerkleRootsHandler
void RegisterSubCacheMerkleRootsHandler(ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage)
Definition: MerkleHandlers.cpp:51
PacketPayloadFactory.h
catapult::model::EntityRange::CopyFixed
static EntityRange CopyFixed(const uint8_t *pData, size_t numElements)
Creates an entity range around numElements fixed size elements pointed to by pData.
Definition: EntityRange.h:278
catapult::ionet::ServerPacketHandlers::registerHandler
void registerHandler(PacketType type, const PacketHandler &handler)
Registers a handler for the specified packet type.
Definition: PacketHandlers.cpp:100
PacketHandlers.h
Packet_Type
static constexpr auto Packet_Type
Definition: RemoteNodeApi.cpp:33
MerkleHandlers.h
catapult::io::BlockStorageCache
Definition: BlockStorageCache.h:97
forwardsValidation.info
def info(*args)
Definition: forwardsValidation.py:12
catapult::handlers::HeightRequestProcessor::Process
static HeightRequestInfo< TRequest > Process(const io::BlockStorageView &storage, const ionet::Packet &packet, ionet::ServerPacketHandlerContext &context, bool shouldAllowZeroHeight)
Definition: HeightRequestProcessor.h:66
catapult::ionet::PacketPayloadFactory::FromFixedSizeRange
static PacketPayload FromFixedSizeRange(PacketType type, model::EntityRange< TStructure > &&range)
Creates a packet payload with the specified packet type around a fixed size structure range.
Definition: PacketPayloadFactory.h:45
catapult::model::HashRange
EntityRange< Hash256 > HashRange
An entity range composed of hashes.
Definition: RangeTypes.h:35
ChainPackets.h
catapult
Definition: AddressExtractionExtension.cpp:28
BlockStorageCache.h
catapult::ionet::ServerPacketHandlers
A collection of packet handlers where there is at most one handler per packet type.
Definition: PacketHandlers.h:62
HeightRequestProcessor.h