Function polkadot_node_primitives::approval::babe_unsafe_vrf_info
source · pub fn babe_unsafe_vrf_info(header: &Header) -> Option<UnsafeVRFOutput>
Expand description
Extract the slot number and relay VRF from a header.
This fails if either there is no BABE PreRuntime
digest or
the digest has type SecondaryPlain
, which Substrate nodes do
not produce or accept anymore.