Expand description
Provides a generic rust implementation of the HotShot
BFT protocol
Re-exports§
pub use rand;
Modules§
- Contains helper functions for the crate
- Provides a number of tasks that run continuously
- Contains traits consumed by
SystemContext
- Contains types used by the crate
Structs§
- A
TwinsHandlerState
that forwards each message to both twins, and returns messages from each of them. - initializer struct for creating starting block
- Wrapper for all marketplace config that needs to be passed when creating a new instance of HotShot
- A
TwinsHandlerState
that randomly forwards a message to either twin, and returns messages from both. - Holds the state needed to participate in
HotShot
consensus
Enums§
- Reexport error type Error type for
HotShot
Constants§
- Length, in bytes, of a 256 bit hash
- Length, in bytes, of a 512 bit hash
Traits§
- Trait for handling messages for a node with a twin copy of consensus
Type Aliases§
- Channel 🔒An async broadcast channel