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§
- Message
- Incoming message
- Messages
- A wrapper type for implementing
PassType
on a vector ofMessage
. - Proposal
- Prepare qc from the leader
- Upgrade
Lock - A lock for an upgrade certificate decided by HotShot, which doubles as
PhantomData
for an instance of theVersions
trait.
Enums§
- DaConsensus
Message - Messages related to the sequencing consensus protocol for the DA committee.
- Data
Message - TODO: Put
DataResponse
content in aBox
to make enum smaller Messages related to sending data between nodes - General
Consensus Message - Messages related to both validating and sequencing consensus.
- Message
Kind - Enum representation of any message type
- Message
Purpose - A message type agnostic description of a message’s purpose
- Recipient
List - List of keys to send a message to, or broadcast to all known keys
- Sequencing
Message - Messages for sequencing consensus.
Functions§
- convert_
proposal - Convert a
Proposal
by converting the underlying proposal type