reth_consensus_common::validation

Function validate_against_parent_timestamp

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

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