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
PassType
on a vector ofMessage
. - Prepare qc from the leader
- A lock for an upgrade certificate decided by HotShot, which doubles as
PhantomData
for an instance of theVersions
trait.
Enums§
- Messages related to the sequencing consensus protocol for the DA committee.
- TODO: Put
DataResponse
content in aBox
to 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
Proposal
by converting the underlying proposal type