sp_consensus_subspace::digests

Function extract_subspace_digest_items

source
pub fn extract_subspace_digest_items<Header, RewardAddress>(
    header: &Header,
) -> Result<SubspaceDigestItems<RewardAddress>, Error>
where Header: HeaderT, RewardAddress: Decode,
Expand description

Extract the Subspace global randomness from the given header.