Type Definition sp_consensus_babe::BabeBlockWeight[][src]

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