New BIP: Adaptive Block Weight Limit #2352

pull jQrgen wants to merge 1 commits into bitcoin:master from jQrgen:adaptive-block-weight-limit changing 2 files +322 −0
  1. jQrgen commented at 7:07 PM on November 10, 2026: none

    This PR adds a draft BIP, bip-adaptive-blocksize.mediawiki, for a hard fork that replaces the fixed 4,000,000 weight unit block limit with a limit recomputed for every block.

    Rule. The maximum weight of the next block is

    min(max(10 × max(median of last 12,961 block weights, median of last 52,561 block weights), 4,000,000), C)

    The windows are about 90 and 365 days of blocks. The sigop cost limit scales with it at the current ratio of 50 weight units per sigop cost.

    Source. The algorithm is adapted from the adaptive block size algorithm in the Nexa full node (src/consensus/adaptive_blocksize.cpp). It uses the same multiplier (10) and the same 90/365-day windows as Nexa, applied to BIP 141 weight instead of serialized size. Every constant taken from Nexa is linked to a pinned file and line in the document.

    Status. Draft. No number is requested; please refer to it by title until an editor assigns one. Open questions, all listed in the document:

    • activation mechanism and height
    • floor (draft: 4,000,000 WU) and absolute cap (open)
    • whether a multiplier of 10 is appropriate for Bitcoin
    • whether the windows include pre-activation blocks
    • whether to require BIP 54 or other worst-case validation limits

    Discussion. A mailing-list post to bitcoin-devel will follow shortly. This PR is being opened first so the draft text can be linked from that post.

    Reference implementation. None for Bitcoin yet. The Nexa implementation is linked as prior art, and a Python model plus test vectors are included in the document and in bip-adaptive-blocksize/reference.py.

    License: BSD-2-Clause.

  2. Add draft BIP: Adaptive Block Weight Limit
    Unnumbered draft (BIP: ?). Includes a Python model and test vectors in bip-adaptive-blocksize/.
    f3b74e3fc9
  3. jonatack added the label New BIP on Nov 10, 2026
  4. murchandamus commented at 7:51 PM on November 13, 2026: member

    Thanks @jQrgen, we only accept submissions that have been discussed on the mailing list or Delving Bitcoin before. I’m going to close this pull request until it has been discussed and received some interest.

    Regarding the document on first skim: this proposal needs more work before it should be opened here. The Motivation should explain what problem the proposal addresses and why the proposed approach improves the situation. Your list of “concerns to be addressed” includes some of the hardest parts of what a dynamic blocksize proposal would need to address to be of any interest: would adoption of the proposal guarantee CONOP to remain acceptable, would adoption be detrimental to decentralization, and is it worth to attempt a hard fork? The Rationale section should address those concerns and provide rationale for why the algorithm is a good choice. “Doing the same as Nexa” is not sufficient reasoning when Nexa is not representative in any dimension for Bitcoin with fewer than four transactions per block in average.

    Algorithms are a dime a dozen, the question is whether any proposed blocksize adjustment algorithm has attractive properties. E.g., it would be interesting to see some discussion how this algorithm would behave if all blocks are always full (as has been the situation for Bitcoin in 41 of the last 45 months). Further, I would suggest that any dynamic blocksize algorithm that would be considered for Bitcoin would need some mechanism that creates downward pressure on the available blockspace. I can’t imagine that any proposal which posits essentially unlimited blockspace would garner any interest.

  5. murchandamus closed this on Nov 13, 2026

  6. jQrgen commented at 10:27 AM on November 23, 2026: none

    Thanks for the review, @murchandamus.

    Fair point on process: I opened the PR first to have a stable link for the mailing-list post, and I will post the draft to bitcoindev (and/or Delving Bitcoin) so discussion can happen there per BIP 3.

    On the editorial bar, though, BIP 3 is explicit that editors evaluate on-topicness, technical soundness, and completeness—not whether a proposal is likely to be adopted or popular ("Editors do NOT evaluate whether the proposal is likely to be adopted"). Whether the community ultimately wants a hard fork or a dynamic limit is a question for the community to decide, not a reason to keep a complete specification out of the repository.

    I'm happy to strengthen Motivation and Rationale to meet BIP 3's editorial criteria directly:

    • Motivation: State clearly why a deterministic, chain-derived limit is proposed—avoiding repeated ad-hoc consensus changes by tying capacity to sustained historical usage rather than a fixed constant.
    • Full-block behavior and cap: Clarify that the algorithm does not posit unlimited blockspace; the cap C bounds worst-case growth, and I will add an explicit analysis of how the 90/365-day median behaves under sustained full blocks and how M and C bound the growth rate.
    • Downward pressure: Add rationale comparing market-side downward pressure (propagation delay, orphan risk, and validation overhead borne by miners) with protocol-level penalties such as Monero's, and explain why this draft avoids a reward penalty.
    • CONOP, decentralization, and Nexa: Nexa is cited as prior art and a deployed reference implementation, not as evidence that its traffic profile matches Bitcoin's. I will expand Rationale to address CONOP, propagation/centralization trade-offs, and hard-fork risks on Bitcoin's own terms rather than leaving them as an unaddressed list.

    Once I post the discussion thread and push those revisions to Motivation and Rationale, please reopen this PR so it can be reviewed against BIP 3's editorial criteria.

Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-11-24 00:10 UTC

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