Summary
- add BIP360 P2MR script/type/policy plumbing
- add witness-v2 P2MR functional coverage
- fix P2MR control-path merkle parsing in the interpreter
Key Changes
- script/interpreter: P2MR commitment verification path for witness v2
- policy: standardness and mempool input checks for P2MR spends
- solver/sign/rpc/wallet wiring for the new script type
- tests: unit updates plus
feature_p2mr.pyregistered in functional test runner
Validation
ctest --output-on-failure -j6(pass)- focused functional tests (pass):
feature_p2mr.pyfeature_taproot.pymempool_accept.pymempool_packages.pymempool_package_limits.py
test_runner.py --extended --jobs=6(pass; environment-dependent skips only)- previously skipped actionable tests now enabled and passed:
tool_bench_sanity_check.pytool_bitcoin_chainstate.pywallet_backwards_compatibility.pywallet_migration.pymempool_compatibility.pyfeature_coinstatsindex_compatibility.pyfeature_unsupported_utxo_db.py