script: add BIP360 P2MR validation, policy plumbing, and tests #35108

pull arturschuch wants to merge 1 commits into bitcoin:master from arturschuch:bip360-p2mr-clean changing 16 files +309 −13
  1. arturschuch commented at 2:36 PM on April 18, 2026: none

    Adds draft BIP360 P2MR wiring across validation/policy/type handling and test coverage.

    Changes in scope:

    • witness v2 P2MR validation path in script interpreter
    • policy/standardness handling for P2MR spends
    • script type plumbing updates for WITNESS_V2_P2MR
    • functional test feature_p2mr.py plus related unit test updates

    Tested:

    • ctest --output-on-failure -j6
    • targeted functional tests including feature_p2mr.py, feature_taproot.py, and mempool package tests
    • test_runner.py --extended --jobs=6
    • compatibility/tool tests requiring extra build/release artifacts
  2. script: add BIP360 P2MR validation, policy plumbing, and tests e131b70922
  3. DrahtBot added the label Consensus on Apr 18, 2026
  4. DrahtBot commented at 2:36 PM on April 18, 2026: contributor

    ♻️ Automatically closing for now based on heuristics. Please leave a comment, if this was erroneous. Generally, please focus on creating high-quality, original content that demonstrates a clear understanding of the project's requirements and goals.

    📝 Moderators: If this is spam, please replace the title with ., so that the thread does not appear in search results.

  5. DrahtBot closed this on Apr 18, 2026

  6. DrahtBot commented at 2:37 PM on April 18, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

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

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

    LLM Linter (✨ experimental)

    Possible places where named args for integral literals may be used (e.g. func(x, /*named_arg=*/0) in C++, and func(x, named_arg=0) in Python):

    • AddCoins(coins, CTransaction{tx_create}, 0, false) in src/test/transaction_tests.cpp
    • AddCoins(coins, CTransaction{tx_create}, 0, false) in src/test/transaction_tests.cpp

    <sup>2026-04-18 14:37:21</sup>

  7. arturschuch commented at 2:38 PM on April 18, 2026: none

    This appears to be an automated false positive.

    This PR is a tested, single-commit technical change (BIP360 P2MR wiring in interpreter/policy/type handling + tests), not spam content.

    Could a maintainer please review and reopen for normal code review? I can immediately split this into smaller PRs if preferred.

Labels

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-04-21 09:12 UTC

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