Allow disabling default consistency checks on regtest #33059

pull benthecarman wants to merge 1 commits into bitcoin:master from benthecarman:regtest-opt changing 4 files +4 −1
  1. benthecarman commented at 7:02 pm on July 24, 2025: contributor

    This stems from a twitter conversation with @instagibbs and @stickies-v (https://x.com/Stphnvlstk/status/1948352236456714326). Currently trying to sync a 2.5M block regtest chain and its only done 1.3M headers in a few days. This adds the option to disable fDefaultConsistencyChecks so it can sync at a normal speed.

    I am running this currently running this and it is infinitely faster and no longer using 100% CPU.

  2. Allow disabling default consistency checks on regtest a6948d48c6
  3. DrahtBot commented at 7:02 pm on July 24, 2025: contributor

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

    Code Coverage & Benchmarks

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

    Reviews

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

    LLM Linter (✨ experimental)

    Possible typos and grammar issues:

    • “Disables extra block indexes checks done in regtest” -> “Disables extra block index checks done in regtest” [“indexes checks” is awkward; “index checks” is the intended phrase]

    drahtbot_id_4_m

  4. mzumsande commented at 7:06 pm on July 24, 2025: contributor
    I think you can just do -checkblockindex=0
  5. benthecarman commented at 7:13 pm on July 24, 2025: contributor

    I think you can just do -checkblockindex=0

    ah missed that, thank you!

  6. benthecarman closed this on Jul 24, 2025

  7. benthecarman deleted the branch on Jul 24, 2025

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: 2025-08-31 09:13 UTC

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