Consensus extension module for BABE consensus. Collects on-chain randomness from VRF outputs and manages epoch transitions.
Current epoch authorities.
A BABE equivocation offence report.
Current slot number.
Current epoch index.
Generic equivocation handler. This type implements
A type signifying to BABE that an external trigger for epoch changes (e.g. pallet-session) is used.
Genesis config for the module, allow to build genesis storage.
The slot at which the first epoch actually started. This is 0 until the first block of the chain.
The BABE Pallet
The epoch randomness for the current epoch.
A type signifying to BABE that it should perform epoch changes with an internal trigger, recycling the same authorities forever.
The length of the public key
The length of the Randomness.
Length of VRF output.
Trigger an epoch change, if any should take place.
A trait with utility methods for handling equivocation reports in BABE. The trait provides methods for reporting an offence triggered by a valid equivocation report, checking the current block author (to declare as the reporter), and also for creating and submitting equivocation report extrinsics (useful only in offchain context).
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.
A BABE public key