Module vincenzo::daemon_wire
source · Expand description
Framed messages sent to/from Daemon
Structs
- The daemon messages follow the same logic as the peer messages: The first
u32
is the len of the entire payload that comes after itself. Followed by anu8
which is the message_id. The rest of the bytes depends on the message type.
Enums
- Messages of
DaemonCodec
, check the struct documentation to read how to send messages.