Expand description
Provides the core consensus types
Re-exportsΒ§
StructsΒ§
- Consensus
Metrics Value - Contains several
ConsensusMetricsthat weβre interested in from the consensus interfaces - Participation
Tracker - Tracks proposal and vote participation per validator across epochs.
- Payload
With Metadata - This struct holds a payload and its metadata
- Validator
Participation π - Vote
Participation π
FunctionsΒ§
Type AliasesΒ§
- Commitment
Map - A type alias for
HashMap<Commitment<T>, T> - Validator
Participation πMap - VidShares
- A type alias for
BTreeMap<T::Time, HashMap<T::SignatureKey, BTreeMap<T::Epoch, Proposal<T, VidDisperseShare<T>>>>> - Vote
Participation πMap