You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Review finding: the P2MR policy table in bitcoin-core-differences.md is stale #330
User docs on P2MR standard policy are stale (missing 1 MiB rule; wrong weight charge).
Severity: low. Found in the 2026-11-04 review of the v1.0.1 change set (all 1.x.x merges since v1.0.0 plus the open PRs that target it), against 1.x.x21fee6ee8e; area: #263, #264.
The "Policy limit" table that integrators read for P2MR standardness lists 16 KiB, 128 KiB, 1,000 items and 400,000 WU, but not the new 1 MiB runtime stack-byte limit or its reject reason.
Line 134 says each non-empty data-signature attempt costs "3,730 units". Mainnet and testnet use 3,683 from genesis (src/kernel/chainparams.cpp:143,251; P2MR_VALIDATION_WEIGHT_PER_SIGOP_V2), and the spec §10 says 3,683. That line was already stale at v1.0.0.
Evidence: file read; constants at src/script/script.h:78,83.
Impact
Operator and integrator guidance should match implemented behavior. Integrators sizing P2MR scripts from this page would mis-budget validation weight and miss the new rejection reason.
Suggested fix
Add "Maximum P2MR v1 runtime stack + alt-stack bytes after each opcode | 1 MiB (policy; Standard P2MR stack byte limit exceeded)" to the table. Change 3,730 to 3,683, noting the testnet4 pre-60,000 legacy rule. In #181, reword the #163 bullet to "leaves the signing planner does not recognize".
Related: new. The #181 "Behavior changes" bullet documents the rule itself correctly.
doc/user/bitcoin-core-differences.md now has the 1 MiB main stack plus alt-stack row in the policy table, with the reject reason Standard P2MR stack byte limit exceeded.
The data-signature charge there is now 3,683 units, with the testnet4 rule for blocks below height 60,000 (3,730).
Activity
doc: correct v1.0.1 notes and docs from the release review
doc: correct v1.0.1 notes and docs from the release review
doc: correct v1.0.1 notes and docs from the release review
doc: correct v1.0.1 notes and docs from the release review
release: prepare v1.0.1 (#181)
release: prepare v1.0.1 (#181)
kiwidream commentedon Nov 12, 2026
Fixed on
1.x.xby #181 (29c0ec9b6c):doc/user/bitcoin-core-differences.mdnow has the 1 MiB main stack plus alt-stack row in the policy table, with the reject reasonStandard P2MR stack byte limit exceeded.Closing by hand, because a merge into
1.x.xdoes not close issues automatically.