CatapultServer
v0.5.0.1 (Elephant)
|
Helper for processing height requests. More...
Static Public Member Functions | |
static HeightRequestInfo< TRequest > | Process (const io::BlockStorageView &storage, const ionet::Packet &packet, ionet::ServerPacketHandlerContext &context, bool shouldAllowZeroHeight) |
Static Private Member Functions | |
static auto | CreateResponsePacket (uint32_t payloadSize) |
Helper for processing height requests.
|
inlinestaticprivate |
|
inlinestatic |
Processes a height request (packet) using context and storage. Allows zero height requests if and only if shouldAllowZeroHeight is true
.