sp_consensus_subspace::consensus

Function is_proof_of_time_valid

source
pub fn is_proof_of_time_valid(
    parent_hash: BlockHash,
    slot: SlotNumber,
    proof_of_time: WrappedPotOutput,
    quick_verification: bool,
) -> bool
Expand description

Verify whether proof_of_time is valid at specified slot if built on top of parent_hash fork of the chain.