Expand description
Provides a generic rust implementation of the HotShot
BFT protocol
Re-exports§
pub use rand;
Modules§
- documentation
- helpers
- Contains helper functions for the crate
- tasks
- Provides a number of tasks that run continuously
- traits
- Contains traits consumed by
SystemContext
- types
- Contains types used by the crate
Structs§
- Double
Twins Handler - A
TwinsHandlerState
that forwards each message to both twins, and returns messages from each of them. - HotShot
Initializer - initializer struct for creating starting block
- Initializer
Epoch Info - Random
Twins Handler - A
TwinsHandlerState
that randomly forwards a message to either twin, and returns messages from both. - System
Context - Holds the state needed to participate in
HotShot
consensus
Enums§
- HotShot
Error - Reexport error type
Error type for
HotShot
Constants§
Traits§
- Twins
Handler State - Trait for handling messages for a node with a twin copy of consensus
Functions§
Type Aliases§
- Channel 🔒
- An async broadcast channel