referrerpolicy=no-referrer-when-downgrade

Crate pallet_babe

source ·
Expand description

Consensus extension module for BABE consensus. Collects on-chain randomness from VRF outputs and manages epoch transitions.

Re-exports§

Modules§

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs§

  • Randomness produced semi-freshly with each block, but inherits limitations of RandomnessFromTwoEpochsAgo from which it derives.
  • BABE equivocation offence report.
  • BABE equivocation offence report system.
  • A type signifying to BABE that an external trigger for epoch changes (e.g. pallet-session) is used.
  • Randomness produced semi-freshly with each block, but inherits limitations of RandomnessFromTwoEpochsAgo from which it derives.
  • 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 usable by consensus protocols that depend upon finality and take action based upon on-chain commitments made during the epoch before the previous epoch.
  • A type signifying to BABE that it should perform epoch changes with an internal trigger, recycling the same authorities forever.

Traits§

Type Aliases§

  • 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.