fuzz: gate mempool entry based on weight #33985

pull instagibbs wants to merge 1 commits into bitcoin:master from instagibbs:2025-12-txgraph_fuzz_package_rbf changing 1 files +3 −2
  1. instagibbs commented at 3:24 pm on December 1, 2025: member

    The mempool implementation now uses TxGraph with entries using FeePerWeight, not vsize. This means our package_rbf harness will erroneously add more transaction weight than we can support inside of FeeFrac. Gate more aggressively using WITNESS_SCALE_FACTOR.

    Fixes https://github.com/bitcoin/bitcoin/issues/33981

  2. DrahtBot added the label Tests on Dec 1, 2025
  3. DrahtBot commented at 3:24 pm on December 1, 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/33985.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK sdaftuar, ismaelsadeeq, dergoegge

    If your review is incorrectly listed, please copy-paste <!–meta-tag:bot-skip–> into the comment that the bot should ignore.

  4. fuzz: gate mempool entry based on weight
    The mempool implementation now uses TxGraph with entries
    using FeePerWeight, not vsize. This means our package_rbf
    harness will erroneously add more transaction weight than we
    can support inside of FeeFrac. Gate more aggressively using
    WITNESS_SCALE_FACTOR.
    804329400a
  5. instagibbs force-pushed on Dec 1, 2025
  6. maflcko added this to the milestone 31.0 on Dec 1, 2025
  7. DrahtBot added the label CI failed on Dec 1, 2025
  8. instagibbs commented at 3:30 pm on December 1, 2025: member
  9. DrahtBot removed the label CI failed on Dec 1, 2025
  10. sdaftuar commented at 6:26 pm on December 1, 2025: member
    Looks right to me, and I was able to generate a fuzz crash on master that was fixed by this PR. Going to continue fuzzing for a bit to see if there are any other issues.
  11. sdaftuar commented at 1:49 pm on December 2, 2025: member
    ACK 804329400a73df00dfd7a5209c659d4a22b9ce47
  12. fanquake added the label Fuzzing on Dec 2, 2025
  13. fanquake commented at 1:51 pm on December 2, 2025: member
  14. ismaelsadeeq approved
  15. ismaelsadeeq commented at 2:45 pm on December 2, 2025: member
    utACK 804329400a73df00dfd7a5209c659d4a22b9ce47
  16. dergoegge approved
  17. dergoegge commented at 2:54 pm on December 2, 2025: member
    utACK 804329400a73df00dfd7a5209c659d4a22b9ce47
  18. fanquake merged this on Dec 2, 2025
  19. fanquake closed this on Dec 2, 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-12-23 03:13 UTC

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