validation: use parallel input prevout fetching in TestBlockValidity #35751

pull andrewtoth wants to merge 1 commits into bitcoin:master from andrewtoth:testblockvalidity-startfetching changing 2 files +12 −3
  1. andrewtoth commented at 11:30 PM on July 19, 2026: contributor

    Use CoinsViewOverlay to speed up ConnectBlock in TestBlockValidity. This also has the benefit of not populating entries in the main cache.

    cs_main must be held for each place where the overlay is being used, and the reset guard ensures it will be reset for the next caller.

  2. validation: use parallel input prevout fetching in TestBlockValidity
    Use CoinsViewOverlay to speed up ConnectBlock in TestBlockValidity.
    This also has the benefit of not populating entries in the main
    cache.
    
    cs_main must be held for each place where the overlay is being used,
    and the reset guard ensures it will be reset for the next caller.
    985d248383
  3. DrahtBot added the label Validation on Jul 19, 2026
  4. DrahtBot commented at 11:30 PM on July 19, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35751.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-07-21 17:50 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me