pub fn validate_against_parent_timestamp(
header: &SealedHeader,
parent: &SealedHeader,
) -> Result<(), ConsensusError>
Expand description
Validates the timestamp against the parent to make sure it is in the past.
pub fn validate_against_parent_timestamp(
header: &SealedHeader,
parent: &SealedHeader,
) -> Result<(), ConsensusError>
Validates the timestamp against the parent to make sure it is in the past.