pub fn validate_header_denylist(
header: &BlockHeader,
denylist: &[Hash],
) -> Result<(), Error>Expand description
Validate header against an explicit “denylist” of header hashes. Returns a “Block” error which is “bad_data” and will result in peer being banned.