Expand description

This module defines the DiemNet v1 message types, how they are serialized/deserialized, and provides a Sink and Stream implementation for sending NetworkMessages over an abstract IO object (presumably a socket).

The DiemNet specification describes in greater detail how these messages are sent and received over-the-wire.

Structs

Enums

  • Most primitive message type set on the network.
  • Flags an unsupported network message. This is a message that a peer can parse its header information but does not have a handler.
  • Errors from reading and deserializing network messages off the wire.
  • Errors from serializing and sending network messages on the wire.

Functions

Type Definitions