The provisional gate allows up to _loose_limit(n) undetermined blocks. For BC6H and BC7 it summed,
per unknown history entry, the blocks whose endpoint root used it and the blocks whose index root
used it, so a block with both roots unknown counted twice: refusals read like "8/4 blocks", and
the gate was up to twice as strict as _loose_limit means. BC3 and BC5 already keep one flag per
block.
_unknown_blocks counts the blocks whose endpoint or index root is an unknown entry, once each;
BC6H (eroot/iroot) and BC7 (er/ir) both use it. The per-entry counts in the provisional notes are
unchanged.
Tests: _unknown_blocks on blocks with one, both or no unknown roots, and a 4-block BC7 chunk whose
endpoint and index all reach history entry 255, with the table check reporting it unknown: the
refusal must say 4/4 (main says 8/4).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>