fn validate_tipset_against_cache(
    bad_block_cache: &BadBlockCache,
    tipset: &TipsetKey,
    descendant_blocks: &[Cid],
) -> Result<(), TipsetRangeSyncerError>
Expand description

Check if any CID in tipset is a known bad block. If so, add all their descendants to the bad block cache and return an error.