rpc: report background validation progress in getchainstates #36219

pull arejula27 wants to merge 2 commits into bitcoin:master from arejula27:rpc-getchainstates-background-progress changing 2 files +9 −0
  1. arejula27 commented at 2:49 PM on September 10, 2026: none

    Follow-up to #33259, which added GetBackgroundVerificationProgress() and exposed it in getblockchaininfo.

    getchainstates still reports verificationprogress relative to the network tip for every chainstate. This modifies verificationprogress to report the correct value, relative to

  2. rpc: add background validation progress to getchainstates
    getchainstates reports verificationprogress relative to the network tip for
    every chainstate. A chainstate validating the chain underneath a snapshot
    stops at the snapshot base, so its value saturates below 1.0 and the
    chainstate disappears from the list before reaching it.
    
    Expose GetBackgroundVerificationProgress, which is relative to that target
    block, as a separate optional field rather than changing the meaning of the
    existing one.
    37d20aab23
  3. test: check background validation progress in getchainstates 5f36c8cb62
  4. DrahtBot added the label RPC/REST/ZMQ on Sep 10, 2026
  5. DrahtBot commented at 2:49 PM on September 10, 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/36219.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

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

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  6. arejula27 closed this on Sep 10, 2026


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-09-10 21:50 UTC

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