darkfi::net

Module message

Source
Expand description

Defines how to decode generic messages as well as implementing the common network messages that are sent between nodes as described by the protocol submodule.

Implements a type called Packet which is the base message type. Packets are converted into messages and passed to an event loop.

Structs§

Traits§