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
PassTypeon a vector ofMessage. - Proposal
- Prepare qc from the leader
- Upgrade
Lock - A lock for an upgrade certificate decided by HotShot, which doubles as
PhantomDatafor an instance of theVersionstrait.
Enums§
- DaConsensus
Message - Messages related to the sequencing consensus protocol for the DA committee.
- Data
Message - TODO: Put
DataResponsecontent in aBoxto 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.
Constants§
- EXTERNAL_
MESSAGE_ VERSION - The version we should expect for external messages
Functions§
- convert_
proposal - Convert a
Proposalby converting the underlying proposal type