Module binary_protocol

Module binary_protocol 

Source
Expand description

Binary Protocol for High-Speed IPFRS Communication

Provides a compact binary message format for efficient operations:

  • Lower overhead than JSON/HTTP
  • Protocol versioning for backward compatibility
  • Zero-copy deserialization where possible
  • Support for all major IPFRS operations

Structs§

BatchGetRequest
Batch get request
BinaryMessage
Binary protocol message
ErrorResponse
Error response
GetBlockRequest
Get block request
HasBlockRequest
Has block request
PutBlockRequest
Put block request
SuccessResponse
Success response

Enums§

MessageType
Binary protocol message type identifiers
ProtocolError
Binary protocol errors

Constants§

MAGIC
Magic bytes to identify IPFRS binary protocol
MAX_MESSAGE_SIZE
Maximum message size (16MB)
PROTOCOL_VERSION
Current protocol version