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