reth_consensus_common::validation

Function validate_header_extra_data

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

Validates the header’s extra data according to the beacon consensus rules.

From yellow paper: extraData: An arbitrary byte array containing data relevant to this block. This must be 32 bytes or fewer; formally Hx.