Function validate_against_parent_timestamp

Source
pub fn validate_against_parent_timestamp<H: BlockHeader>(
    header: &H,
    parent: &H,
) -> Result<(), ConsensusError>
Expand description

Validates the timestamp against the parent to make sure it is in the past.