reth::consensus_common::validation

Function validate_header_extradata

pub fn validate_header_extradata(header: &Header) -> Result<(), ConsensusError>
Expand description

Validates the header’s extradata 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.