Type Definition sp_consensus_babe::BabeBlockWeight
source · pub type BabeBlockWeight = u32;
Expand description
The cumulative weight of a BABE block, i.e. sum of block weights starting at this block until the genesis block.
Primary blocks have a weight of 1 whereas secondary blocks have a weight of 0 (regardless of whether they are plain or vrf secondary blocks).