referrerpolicy=no-referrer-when-downgrade

find_next_epoch_digest

Function find_next_epoch_digest 

Source
pub fn find_next_epoch_digest<B: BlockT>(
    header: &B::Header,
) -> Result<Option<NextEpochDescriptor>, Error<B>>
Expand description

Extract the BABE epoch change digest from the given header, if it exists.