Use adaptive step size for database cache and prune size #966

pull HaraldNordgren wants to merge 1 commits into bitcoin-core:master from HaraldNordgren:adaptive_step_type changing 2 files +13 −2
  1. HaraldNordgren commented at 12:16 PM on September 30, 2026: none

    These spin boxes have no upper bound but step by 1, which is slow for large values such as a database cache of several thousand MiB.

    I created this functionality within Qt itself a few years back, see documentation here: https://doc.qt.io/qt-6/qspinbox.html#setStepType

    It's already used by qBittorrent for its upload and download limits: https://github.com/qbittorrent/qBittorrent/pull/21138. Maybe it can be useful here too?

  2. qt: Use adaptive step size for database cache and prune size
    These spin boxes have no upper bound but step by 1, which is slow for
    the large values, such as a database cache of several thousand MiB.
    413378af82
  3. DrahtBot commented at 12:16 PM on September 30, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process.

    Type Reviewers
    ACK jpk68

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. jpk68 approved
  5. jpk68 commented at 4:52 PM on October 21, 2026: contributor

    ACK 413378af820c25ac98d867d5064aade403adea97

  6. maflcko commented at 11:20 AM on October 29, 2026: contributor

    Given the QML gui, maybe this should be closed and then fixed there instead (if relevant)?

  7. hebasto renamed this:
    qt: Use adaptive step size for database cache and prune size
    Use adaptive step size for database cache and prune size
    on Nov 21, 2026
  8. hebasto commented at 1:52 PM on November 21, 2026: member

    Thank you for your contribution.

    There is a rough consensus among Bitcoin Core developers that the current Widgets-based GUI will be replaced with the modern QML-based one (https://github.com/bitcoin-core/gui-qml). Review capacity for the GUI is limited, and time spent on the current code delays its replacement. For that reason, the Widgets-based GUI is now effectively in maintenance mode: only fixes for regressions and serious bugs, and updates required by changes in the core code, are being considered.

    This PR falls outside that scope, so I am closing it. This is not a judgement on the quality of the work.

    If the underlying problem or idea is still relevant for the QML GUI, please consider raising or addressing it in https://github.com/bitcoin-core/gui-qml, where it will get more attention. If you believe this PR was closed in error, leave a comment here, and it can be reconsidered.

  9. hebasto closed this on Nov 21, 2026


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-12-06 01:20 UTC

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