Module hotshot_types::message
source · Expand description
Network message types
This module contains types used to represent the various types of messages that
HotShot nodes can send among themselves.
Structs§
- Incoming message
- A wrapper type for implementing
PassTypeon a vector ofMessage. - Prepare qc from the leader
- A lock for an upgrade certificate decided by HotShot, which doubles as
PhantomDatafor an instance of theVersionstrait.
Enums§
- Messages related to the sequencing consensus protocol for the DA committee.
- TODO: Put
DataResponsecontent in aBoxto make enum smaller Messages related to sending data between nodes - Messages related to both validating and sequencing consensus.
- Enum representation of any message type
- A message type agnostic description of a message’s purpose
- List of keys to send a message to, or broadcast to all known keys
- Messages for sequencing consensus.
Functions§
- Convert a
Proposalby converting the underlying proposal type