Function validate_header_extradata

pub fn validate_header_extradata<H>(header: &H) -> Result<(), ConsensusError>
where H: BlockHeader,
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.