CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace io {
class BlockStorageCache; } }
26 namespace catapult {
namespace handlers {
void RegisterSubCacheMerkleRootsHandler(ionet::ServerPacketHandlers &handlers, const io::BlockStorageCache &storage)
Definition: MerkleHandlers.cpp:51
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
void registerHandler(PacketType type, const PacketHandler &handler)
Registers a handler for the specified packet type.
Definition: PacketHandlers.cpp:100
static constexpr auto Packet_Type
Definition: RemoteNodeApi.cpp:33
Definition: BlockStorageCache.h:97
def info(*args)
Definition: forwardsValidation.py:12
static HeightRequestInfo< TRequest > Process(const io::BlockStorageView &storage, const ionet::Packet &packet, ionet::ServerPacketHandlerContext &context, bool shouldAllowZeroHeight)
Definition: HeightRequestProcessor.h:66
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
EntityRange< Hash256 > HashRange
An entity range composed of hashes.
Definition: RangeTypes.h:35
Definition: AddressExtractionExtension.cpp:28
A collection of packet handlers where there is at most one handler per packet type.
Definition: PacketHandlers.h:62