Expand description
Consensus extension module for BABE consensus. Collects on-chain randomness from VRF outputs and manages epoch transitions.
Re-exports§
pub use pallet::*;
Modules§
- migrations
- pallet
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs§
- Current
Block Randomness Deprecated - Randomness produced semi-freshly with each block, but inherits limitations of
RandomnessFromTwoEpochsAgo
from which it derives. - Equivocation
Offence - BABE equivocation offence report.
- Equivocation
Report System - BABE equivocation offence report system.
- External
Trigger - A type signifying to BABE that an external trigger for epoch changes (e.g. pallet-session) is used.
- Parent
Block Randomness - Randomness produced semi-freshly with each block, but inherits limitations of
RandomnessFromTwoEpochsAgo
from which it derives. - Randomness
From OneEpoch Ago - Randomness usable by on-chain code that does not depend upon finality and takes action based upon on-chain commitments made during the previous epoch.
- Randomness
From TwoEpochs Ago - Randomness usable by consensus protocols that depend upon finality and take action based upon on-chain commitments made during the epoch before the previous epoch.
- Same
Authorities Forever - A type signifying to BABE that it should perform epoch changes with an internal trigger, recycling the same authorities forever.
Traits§
- Epoch
Change Trigger - Trigger an epoch change, if any should take place.
- Weight
Info
Type Aliases§
- Authority
Id - A Babe authority identifier. Necessarily equivalent to the schnorrkel public key used in the main Babe module. If that ever changes, then this must, too.