Type Alias pallet_babe::pallet::EpochStart

source ·
pub type EpochStart<T: Config> = StorageValue<_GeneratedPrefixForStorageEpochStart<T>, (BlockNumberFor<T>, BlockNumberFor<T>), ValueQuery>;
Expand description

The block numbers when the last and current epoch have started, respectively N-1 and N. NOTE: We track this is in order to annotate the block number when a given pool of entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in slots, which may be skipped, the block numbers may not line up with the slot numbers.

Storage type is [StorageValue] with value type (BlockNumberFor < T > , BlockNumberFor < T >).

Aliased Type§

struct EpochStart<T: Config>(/* private fields */);