BIP 54 Consensus Cleanup
What stands between this and activation?
A soft fork that bundles four long-standing fixes: it closes the timewarp attack, caps the worst-case time to validate a block, removes Merkle tree weaknesses, and makes duplicate transactions impossible without BIP 30 checks. The specification is complete; what it still needs is activation.
The spec is complete (for 6 months) and consensus code in bitcoin core is in progress. What blocks activation: activation method, which doesn’t exist yet.
Road to activation · 8 of 13 steps done
Pending review- a2025-01-23No timewarp templatesbitcoin/bitcoin #31376
- 12025-04-11Number assignedSpec header
- b2025-05-09Coinbase locked to heightbitcoin/bitcoin #32155
- c2025-07-18Sigops-heavy transactions non-standardbitcoin/bitcoin #32521
- 22025-11-25Test vectors mergedbitcoin/bips #2015
- 32026-02-06Running on signetbitcoin-inquisition/bitcoin #99
- 42026-05-22Spec complete · 1.0.0bitcoin/bips #2172
- 52026-07-24Consensus code in Bitcoin Corebitcoin/bitcoin #35793
- d2026-09-07Murch–Zawy rule in the minerbitcoin/bitcoin #35949
- 6–Activation methodSpec: no Deployment section
- 7–Activation client releasedNot started
- 8–Signaling and lock-inNot started
- 9–Active on mainnetNot started
BIP 54 assigned to Antoine Poinsot and Matt Corallo.
Test vectors for all four fixes merged into bitcoin/bips.
Bitcoin Inquisition merged an implementation and enforces the rules on signet since release 29.2.
The authors finished the planned work and moved the BIP to Complete.
Implements the rules enabled only on regtest, without mainnet activation, so it can merge before any activation decision.
The spec has no deployment section: no signaling mechanism and no parameters. Whether to delay activation so pools have time is still open.
A release that enforces the rules on mainnet once activated.
Depends on the method. Tracked from block headers once it exists.
For a soft fork, Deployed means activated and enforced.
Bitcoin Core's block builder never creates a template that exploits the timewarp bug.
Bitcoin Core's own block builder sets the coinbase nLockTime the way BIP 54 requires. Pool software is separate.
Transactions over the legacy signature operations limit are no longer relayed or mined by Bitcoin Core.
Bitcoin Core's block builder enforces the rule against negative-duration difficulty periods.
Activation method. The spec has no deployment section: no signaling mechanism and no parameters. Whether to delay activation so pools have time is still open.
Overview
Four fixes, one soft fork · who has to act for each
3 need nothing from anyone today; duplicate transactions needs others to change software.Pending review
Timewarp
- The rule
- The first block of each difficulty period can't be timestamped more than 2 hours before the block before it, and a period can't end before it started (the Murch–Zawy rule).
- What it stops
- A majority-hashrate miner pushing difficulty to its minimum within weeks, then mining blocks far faster and taking future subsidy early.
- The spec
“In the worst case, an attacker can bring down the difficulty to its minimum within 38 days of starting the attack.”
Motivation · @335eaac- Already safe in
- Bitcoin Core 29.0 and later
“and later will not generate a block template that violates the timestamp restrictions introduced in this BIP.”
- Who has to act
- Nobody. Miners already take the timestamp from getblocktemplate's curtime or mintime.
- How it changed
- The grace period grew from 10 minutes to 2 hours after review, and the Murch–Zawy rule was added against negative-duration periods. A late request to leave room for a future fix of the 2106 timestamp overflow was opposed by the author. See how it was argued out →
Slow blocks
- The rule
- A transaction counting more than 2,500 legacy signature operations across its inputs is invalid.
- What it stops
- A crafted block taking minutes to validate on fast hardware and much longer on slow hardware, usable against competing miners.
- The spec
“Such a limit reduces the worst case block validation time by a factor of 40”
Rationale · @335eaac- Already safe in
- Bitcoin Core 30.0 and later
“and later will not generate a block template including a transaction that violates the signature operations limit introduced in this BIP.”
- Who has to act
- Nobody. No non-pathological standard transaction is affected.
- How it changed
- It started as restrictions on legacy Script that raised confiscation concerns, and settled on a per-transaction signature operations limit. Fixing the old SIGHASH_SINGLE bug in the same soft fork was proposed and left out. See how it was argued out →
64-byte transactions
- The rule
- A transaction whose witness-stripped size is exactly 64 bytes is invalid.
- What it stops
- Fake inclusion proofs that trick SPV verifiers into accepting a transaction that isn't in the block.
- The spec
“They have also been non-standard since 2019 and never been used since 2016.”
Rationale · @335eaac- Already safe in
- Bitcoin Core 0.16.1 and later
“and later will neither relay nor create block templates that include transactions whose witness-stripped serialized size is exactly 64 bytes.”
- Who has to act
- Nobody.
- How it changed
- The most contested fix. evoskuil objected that SPV verifiers can avoid the problem more cheaply without a consensus change; harding, ajtowns and the author argued for fixing the root cause. See how it was argued out →
Duplicate transactions
- The rule
- The coinbase's nLockTime must be the block height minus 1, and its nSequence can't be final.
- What it stops
- Full BIP 30 duplicate-transaction checks returning in future blocks, adding validation overhead and ruling out some designs, such as Utreexo.
- The spec
“The coinbase transaction's `nLockTime` field must be set to the height of the block minus 1”
Specification · @335eaac- Already safe in
- Bitcoin Core's own block builder since May 2025 (bitcoin/bitcoin
“there does not exist an open source reference broadly in use today for such software.”
- Who has to act
- Mining pools. Their software builds the coinbase.
- How it changed
- It moved from a mandatory witness commitment to the coinbase nLockTime in 2024, then to height minus 1 with a non-final nSequence. Getting miners to run it before activation parameters exist is still open. See how it was argued out →
Will pools be ready for the duplicate transactions rule? · a checklist for the one fix that needs others to act
- DoneBitcoin Core's own block builder complies
Since May 2025 Bitcoin Core sets the coinbase nLockTime the way BIP 54 requires.
- UnknownPool coinbase software
The spec knows of no open-source pool software broadly in use, so nobody can check it for them.
“there does not exist an open source reference broadly in use today for such software.”
- OpenGet miners running it before activation parameters exist
Encourage miners to run the coinbase rule early to find problems nobody knows of yet.
“we could encourage miners to run this well before any activation parameters are set, to figure out if there is a problem we're not aware of.”
- OpenDelay activation if pools need more than a node upgrade?
Whether to activate a year or more later if miners have to change more than their node.
“Perhaps it should activate a (few) year(s) later, if it turns out miners have to do more than just upgrade their node.”
- AddressedDelay only the coinbase rule?
Turning on the nLockTime requirement some time after the rest of the fork; marked addressed.
“the nLockTime requirement only turns on two years later or whatever.”
- Not measuredShare of recent blocks that already comply
Can be checked in code from every block's coinbase, per pool. Needs the chain series.
Not collected yet
Who implements it
2 tracked implementations · 1 shipped
| Implementation | State | Where | Source |
|---|---|---|---|
| Bitcoin Inquisitionnode | Shipped | node, signet | Bitcoin Inquisition, the signet node for testing proposed soft forks, enforces the BIP 54 rules on signet since release 29.2 (February 2026), from its implementation in PR #99. |
| Bitcoin Corenode | In review | – | Bitcoin Core has the BIP 54 rules in review as PR #35793, enabled only on regtest. Whether and how to activate them on mainnet is left for later. |
Where it’s discussed · claims by venue, and the spec’s discussion links
- 215GitHub
- 161Mailing list
- 100Forum
- 1Release notes
What it needs · 0 to 5, where 5 means no help needed
Generated 2026-11-30 · pending reviewSummarised from the 477 claims on this page. Pick a card to see the work behind it.
A public signet demo showed that slow-to-validate blocks can be crafted and are rejected once the rules apply, which supports the validation-time fix. Little outside evidence is recorded for the other three fixes, and one critic argues the timewarp attack is unlikely and easily countered.
The spec is complete, and many design disputes are settled, including the coinbase uniqueness rule, the grace period and sigop counting. Still open are objections to banning 64-byte transactions (presigned and covenant transactions, layer-2 protocols) and a confiscation risk from the sigop limit, along with requested security analysis, extra test vectors and review of the Bitcoin Core code.
Nothing recorded yet shows how wallets or users would run into these rules, beyond a request to document the effects for wallet and off-chain protocol developers. No dedicated work on user flows has been noted.
Bitcoin Inquisition ships the rules, Bitcoin Core's implementation is in review, and Core already makes transactions over the 2500 sigop limit non-standard. Open engineering includes a regtest getblocktemplate break, enforcing the Murch–Zawy rule in Core's block templates, and updating mining pool software to set the new coinbase fields.
Mining engineers were consulted on the coinbase changes, and the proposal has broad developer support, but sustained objections remain. Miners and pools still need to learn of and adopt the coinbase changes, and coinjoin and multi-party protocol maintainers have not yet been told about the effects of the sigop policy.
Activation has not been set up: it is still undecided where the deployment parameters will live, whether the four fixes ship together or separately, or whether BIP 54 is bundled with other changes. Mining pools must also update their coinbase handling, and the getblocktemplate fields for the coinbase locktime and sequence are not yet specified.
What needs doing · 115 open · 195 already addressed
Raised in public discussion, by type of work and by the piece it belongs to. Most open work is about BIP 54 itself, across 10 pieces.
Holds the BIP back and was raised in the last 90 days. Grouped by BipWatch from the type of work, the needs scores, the BIP's status and the item's age, unless a person set the group; nobody has reviewed these items yet.
- bitcoin core implementationObjectionEngineeringopenpending reviewAddress the regtest getblocktemplate break in the Bitcoin Core BIP 54 implementation, where clients must now list "consensuscleanup" in rules: either document it in release notes or make the rule optional (gbt_optional_rule = true).Needs attention Behind the Implementations (3/5) score · Raised 5 weeks ago
“This is a behavior change that warrants mentioning in release notes. Making the rule optional (`gbt_optional_rule = true`) is another option for discussion.”quote matched
Raised by optout21 · 2026-10-27 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskReviewopenpending reviewReview and test the Bitcoin Core reference implementation of BIP 54Needs attention Raised 2 times by 2 people · Behind the Technical maturity (3/5) score · Raised 5 weeks agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Review the Bitcoin Core implementation of BIP 54 (bitcoin/bitcoin PR 35793).
“reviewing the BIP, one of the implementation in a full-node ( https://github.com/bitcoin/bitcoin/pull/35793 )”quote matched
ariard · 2026-10-22 · Forum · Softfork before GTA VI? · Open the messageReview and test the Bitcoin Core reference implementation of BIP 54 more thoroughly.
“more review and testing of the reference implementation is obviously needed.”quote matched
Antoine Riard · 2026-10-02 · Mailing list · Getting BIP54 past the finish line · Open the message
- slow blocks signet demoTaskTestingopenpending reviewRun more live demonstrations on signet of the vulnerabilities that BIP 54 fixes.Needs attention Behind the Problem evidence (3/5) score · Raised 8 weeks ago
“Doing more real-live testing of the vulnerabilities like it has been done on signet might be very valuable again.”quote matched
Raised by Antoine Riard · 2026-10-02 · Mailing list · Getting BIP54 past the finish lineOpen the message - BIP 54 itselfTaskCoordinationopenpending reviewResolve the remaining disagreement among developers over the rule that invalidates 64-byte transactions.Needs attention Holds back Coordination (1/5) · Raised 8 weeks ago
“resolving the open technical conservations, especially on the disagreement about the 64 bye transactions”quote matched
Raised by Antoine Riard · 2026-10-02 · Mailing list · Getting BIP54 past the finish lineOpen the message - BIP 54 itselfOpen questionActivationopenpending reviewDecide whether BIP 54 should be deployed as a standalone soft fork or bundled with other changes such as covenant or rebindable-signature opcodes.Needs attention Holds back Coordination (1/5) · Raised 2 months ago
“It will be released alone? Or will it come in a package with rebindable opcodes and so?”quote matched
Raised by cmp_ancp · 2026-09-24 · Forum · Softfork before GTA VI?Open the message - BIP 54 itselfTaskEngineeringopenpending reviewMake Bitcoin Core's block template generation enforce the BIP 54 Murch–Zawy timestamp rule, with an accompanying test, submitted as a separate pull request.Important Behind the Implementations (3/5) score · Raised 3 months ago
“The miner currently does not enforce the murch-zawy rule but I think it should.”quote matched
Raised by fjahr · 2026-08-03 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfObjectionProtocol designopenpending reviewAddress the concern that invalidating 64-byte transactions forces layer-2 protocols that assemble transactions from several parties' contributions to check that the result is never exactly 64 bytes, and removes burn and anyone-can-spend constructions that protocols such as spacechains and miner fee bumping use.Important Behind the Technical maturity (3/5) score · Raised 5 months ago
“if you're a l2 client and you're receiving txn contributions from another party, now you have to be sure that result(txn_contributions) != 64 byte. and yes burning funds as been used few times to design protocols e.g spacechain it's an interesting primitive.”quote matched
Raised by ariard · 2026-06-03 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfOpen questionActivationopenpending reviewDecide whether deployment parameters go in BIP 54 itself or in a separate deployment documentImportant Raised 3 times by 2 people · Holds back Coordination (1/5) · Raised 6 months agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Decide where BIP 54's deployment parameters should be specified: in the BIP itself after it reaches Complete, or in a separate activation document such as bip-0054/activation-202605.md.
“the activation params aren't being managed by the proposal authors and should therefore be under a different bip. That could be done as something like `bip-0009/bip-0054-202605.md` or `bip-0054/activation-202605.md` or similar”quote matched
ajtowns · 2026-05-27 · GitHub · BIP 54: progress to Complete · Open the messageResolve the objection that BIP 54 was marked Complete without deployment parameters, which could be added or changed later; consider moving them to a separate deployment-parameters BIP that stays incomplete until the deployment is buried.
“Having a Separate Deployment Params BIP which stays incomplete till buried seems better?”quote matched
JeremyRubin · 2026-05-26 · GitHub · BIP 54: progress to Complete · Open the messageDecide whether BIP 54's activation parameters will be added to the BIP itself after it reached Complete, or specified in a separate deployment BIP.
“will activation params for bip54 go in a separate bip (similar to 448 vs 446/348/349?), or something else?”quote matched
ajtowns · 2026-05-23 · GitHub · BIP 54: progress to Complete · Open the message
- mining pool supportTaskCoordinationopenpending reviewGet mining pool software to set BIP 54-compatible coinbase nLockTime and nSequence before activationImportant Raised 2 times by 2 people · Holds back Coordination (1/5) · Behind the Ecosystem awareness (2/5) score · Raised 7 months agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Get mining pools to update their software so coinbase transactions set BIP 54-compatible nLockTime and nSequence values ahead of activation.
“forward compatibility of mining pools (setting BIP 54 compatible coinbase nLockTime/nSequence) is being discussed at BNOC”quote matched
Antoine Poinsot · 2026-04-27 · Forum · Great Consensus Cleanup Revival · Open the messageUpdate mining pool software (Stratum v1 stacks relying on getblocktemplate) to craft coinbase transactions with the required nLockTime and nSequence before activation.
“upgrading their stratum v1 stack to something that supports a completely new BIP, otherwise they won't set `nLockTime`, is absolutely critical”quote matched
Sjors · 2025-04-02 · GitHub · BIP 54: Consensus Cleanup · Open the message
- mining pool supportTaskProtocol designopenpending reviewSpecify getblocktemplate fields giving pools the required coinbase nLockTime and nSequenceImportant Raised 2 times by 2 people · Behind the Coordination (1/5) score · Raised 9 months agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Specify getblocktemplate fields (coinbase_locktime and coinbase_sequence) so node software tells mining pools the coinbase nLockTime and nSequence values that BIP 54 requires.
“it seems appropriate and convenient to have node software provide these values via the getblocktemplate RPC.”quote matched
Sjors Provoost · 2026-02-09 · Mailing list · Bip54: add sequence, timestamp (and version) to GBT · Open the messageDecide whether BIP 54 should specify new getblocktemplate (BIP 22) fields `lock_time` and `sequence` that give miners the required coinbase values, and review the Bitcoin Core implementation of them.
“This PR extends BIP54 with the following BIP22 fields (`getblocktemplate` RPC):”quote matched
Sjors · 2026-02-09 · GitHub · bip54: add coinbase locktime and sequence to GBT · Open the message
- bitcoin core policyTaskCoordinationopenpending reviewInform coinjoin and other multi-party transaction protocol maintainers that the 2500 legacy sigop policy rule lets a participant contribute an input that makes the shared transaction unrelayable, so they can validate contributed inputs.Important Holds back Coordination (1/5) · Behind the Ecosystem awareness (2/5) score · Raised 16 months ago
“it's wise to advertise more towards multi-party use-cases maintainers and devs the potential implications of the deployment of this rule, as soon as it's policy.”quote matched
Raised by Antoine Riard · 2025-07-12 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardOpen the message - BIP 54 itselfTaskSpec writingopenpending reviewClarify the 64-byte transaction rule by explicitly referencing BIP 144 so it is unambiguous whether the witness marker and flag bytes count toward the witness-stripped serialized size.Can wait Raised 0 days ago
“"Transactions whose witness-stripped serialized size is exactly 64 bytes are invalid" would win to explicitly reference BIP 144.”quote matched
Raised by ariard · 2026-12-01 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskTestingopenpending reviewAdd a test assertion in the Bitcoin Core BIP 54 implementation that a sigops-limit violation returns a TX_CONSENSUS validation result, now that the check is consensus-critical.Can wait Raised 1 days ago
“maybe add `BOOST_CHECK(state.GetResult() == TxValidationResult::TX_CONSENSUS);` ?”quote matched
Raised by polespinasa · 2026-11-30 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskReviewopenpending reviewReview and verify the proposed correction to footnote 4, which would change the expected block interval reduction under attack with a 2-hour grace period from ~2.2 to ~3.3 seconds.Can wait Raised 1 days ago
“It is a one-number change in footnote 4, ~2.2 to ~3.3 seconds, and the working is in the description.”quote matched
Raised by treib-holdings · 2026-11-30 · GitHub · BIP54: correct the block interval figure in footnote 4Open the message - bitcoin core implementationTaskEngineeringopenpending reviewInvestigate why ContextualCheckBlock can be reached with a null pindexPrev during ImportBlocks (seen in the kernel test), and make sure the BIP 54 checks handle that case safely.Can wait Raised 4 days ago
“I seem to get an error around `test/kernel/test_kernel.cpp(935)` (so `chainman->ImportBlocks`) if I add a `pindexPrev != nullptr` assert at the top of `ContextualCheckBlock`; haven't looked in any further detail.”quote matched
Raised by ajtowns · 2026-11-27 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskTestingopenpending reviewIn the Bitcoin Core BIP 54 tests, disable the deployment with a NEVER_ACTIVE start time (-vbparams=consensuscleanup:-2:0) instead of 0:0, so it cannot lock in and activate when the node mines enough signalling blocks itself.Can wait Raised 5 days ago
“I think for disabling BIP 54, setting the start time to -2 ([NEVER_ACTIVE](https://github.com/bitcoin/bitcoin/blob/63a3c03235b3263cda1ded2459188106c838438d/src/consensus/params.h#L82)), e.g. `-vbparams=consensuscleanup:-2:0`, would be more robust here.”quote matched
Raised by Sebastian Falbesoner · 2026-11-26 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationObjectionTestingopenpending reviewTest whether a relayed valid block can be mutated by changing the coinbase nSequence so that it is wrongly treated as invalid, given that CheckBlock() runs before ContextualCheckBlock() in some code paths such as AcceptBlock().Can wait Raised 8 days ago
“I have not test it but lacking to do so, it sounds you can mutate a valid coinbase to alter its nSequence field and provoke the invalidity of the whole block.”quote matched
Raised by ariard · 2026-11-23 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationOpen questionEngineeringopenpending reviewDecide whether the stateless coinbase nSequence check should be performed in CheckTransaction() or CheckBlock() so that badly crafted coinbases are rejected early.Can wait Raised 8 days ago
“E.g I wonder if the check should be added in `CheckTransaction()` and be used in the `PreChecks()` code path”quote matched
Raised by ariard · 2026-11-23 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskReviewopenpending reviewCheck whether the BIP152 compact block reception code validates the prefilled coinbase against the new rule before committing resources after CMPCTBLOCK.Can wait Raised 8 days ago
“This is unsure if the compact block validation code already sanitize on the reception of a coinbase (to avoid fulfilling resources after the `CMPCTBLOCK`)”quote matched
Raised by ariard · 2026-11-23 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskReviewopenpending reviewReview the Bitcoin Core BIP 54 implementation for bad interactions with the disconnectpool during reorgs caused by the new coinbase rules or the sigops limit on spends of old inputs.Can wait Raised 8 days ago
“re-check if there is no bad interactions with the `disconnectpool` due to the new rules applying on the coinbase or the max sigops for old inputs spends”quote matched
Raised by ariard · 2026-11-23 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskTestingopenpending reviewUpdate the BIP 54 test vectors once the Bitcoin Core implementation PR, with its new fixes and tests, is merged.Can wait Raised 2 weeks ago
“I plan to do another round of updates of the BIP test vectors (similar to https://github.com/bitcoin/bips/pull/2122) after this PR is merged.”quote matched
Raised by Antoine Poinsot · 2026-11-17 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskSpec writingopenpending reviewAdd release notes to the Bitcoin Core BIP 54 implementation stating which chains enforce BIP 54 (regtest), the new and changed error cases on those chains, and the changed getblocktemplate requirement.Can wait Raised 2 weeks ago
“I think a release not would make sense, mentioning:”quote matched
Raised by optout21 · 2026-11-17 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskTestingopenpending reviewUpdate the BIP 54 sigops and txsize test vector files in the BIPs repository to match the vectors generated by the Bitcoin Core implementation, which now differ.Can wait Raised 2 weeks ago
“The generated .json test vector files (`bip54_{sigops,txsize}.json.gen`) both differ from the ones currently [included in the BIPs repo]”quote matched
Raised by Sebastian Falbesoner · 2026-11-17 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - libbitcoin implementationTaskReviewopenpending reviewReview and test the libbitcoin implementation of BIP 54 against the Bitcoin Core implementation to check for any logical discrepancies.Can wait Raised 2 weeks ago
“On my todo to review / test it, and with bitcoin core code too under the eyes, to check if there is any logical discrepancy”quote matched
Raised by ariard · 2026-11-16 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskTestingopenpending reviewUpdate the BIP 54 test vectors to fix errors found in the pre-generated tests, including an off-by-one in the timestamps JSON.Can wait Raised 2 weeks ago
“I'll update the test vectors in the BIP in time, but i want to check for more similar human slop in the pre-generated tests first (my bot already detected an off-by-one in the timestamps JSON).”quote matched
Raised by Antoine Poinsot · 2026-11-13 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskSpec writingopenpending reviewCorrect footnote 4 so the expected block interval reduction under a timewarp attack with a two-hour grace period reads ~3.3 seconds instead of ~2.2 seconds, matching the cited simulation and the closed form.Can wait Raised 4 weeks ago
“This changes ~2.2 to ~3.3. The rationale is unaffected: the two-hour grace still only trivially worsens the block rate under attack.”quote matched
Raised by treib-holdings · 2026-11-02 · GitHub · BIP54: correct the block interval figure in footnote 4Open the message - BIP 54 itselfTaskSpec writingopenpending reviewAdd a footnote to BIP 54 explaining why the "forward blocks" idea is not secure enough for Bitcoin, and why narrowing the timewarp attack surface is a reasonable trade-off despite the objection that the fix rules out forward blocks.Can wait Raised 4 weeks ago
“I'll go to propose to add a short footnote on the BIP54 document, explaining why the "forward block" idea is not reasonable secure enough for the bitcoin network”quote matched
Raised by Antoine Riard · 2026-10-31 · Mailing list · BIP54: On fixing time-warp and the (unsoundness) of the forward block ideaOpen the message - bitcoin core implementationTaskTestingopenpending reviewFix the timewarp test's timestamp for period 2 to use start_time + 2 * 4 * interval_expected_sec, so difficulty falls D -> D/4 -> D/16 as intended instead of returning to D.Can wait Raised 4 weeks ago
“nit: this should be `start_time + 2 * 4 * interval_expected_sec`. As is, period 2's elapsed time is 0, so difficulty goes D -> D/4 -> D -> 4D instead of D -> D/4 -> D/16 -> D/4.”quote matched
Raised by ViniciusCestarii · 2026-10-28 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskEngineeringopenpending reviewFix the getblocktemplate breakage on regtest introduced by the 64-byte transaction changes in the Bitcoin Core BIP 54 implementation.Can wait Raised 5 weeks ago
“notably about `getblocktemplate` breakage (on regtest)”quote matched
Raised by optout21 · 2026-10-27 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskTestingopenpending reviewAdd a unit test checking that the BIP 54 64-byte transaction rule is not enforced on mainnet at current heights (non-active chain).Can wait Raised 5 weeks ago
“The 64-byte rule is tested on BIP54-active chain (RegTest) only, not on non-active chain. I recommend adding a test on mainnet, to verify non-activation on mainnet (at current heights).”quote matched
Raised by optout21 · 2026-10-27 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskEngineeringopenpending reviewDocument in the Bitcoin Core BIP 54 implementation (code comment, commit message, PR description and possibly release notes) that 64-byte transactions are now rejected from the mempool with a consensus error even where BIP 54 is not active, unlike block validation.Can wait Raised 5 weeks ago
“Nonetheless, I think it would make sense to explicitly mention this inconsistency in:”quote matched
Raised by optout21 · 2026-10-27 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskEngineeringopenpending reviewMove the BIP 54 64-byte transaction invalidity check before the IsStandardTx call in the Bitcoin Core implementation, so that transactions failing both checks are reported as invalid rather than non-standard.Can wait Raised 5 weeks ago
“I propose moving the 64-byte invalid check before the `IsStandardTx` call before.”quote matched
Raised by optout21 · 2026-10-27 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskEngineeringopenpending reviewMake the rejection reason for 64-byte transactions consistent between mempool and block acceptance on chains where BIP 54 is not active, in the Bitcoin Core implementation.Can wait Raised 5 weeks ago
“the inconsistency in mempool vs. block acceptance rejection reason in non-BIP54-active chains”quote matched
Raised by optout21 · 2026-10-27 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskTestingopenpending reviewAdd tests catching BIP 54 rules enforced one block off from the activation heightCan wait Raised 2 times by 2 people · Raised 5 weeks agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Add tests to the Bitcoin Core BIP 54 implementation that check the sigops limit, timewarp rule and coinbase locktime rule start applying at exactly the activation block, so the three surviving mutants that shift enforcement by one block are caught.
“I ran some mutation testing and found 3 live mutants besides https://github.com/bitcoin/bitcoin/pull/35793#discussion_r4338365979. These 3 move BIP54 enforcement by one block at activation.”quote matched
ViniciusCestarii · 2026-10-27 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activation · Open the messageAdd tests to the Bitcoin Core BIP 54 implementation that catch each rule being enforced one block later than the activation height, since the existing test suites do not detect this.
“only thing that wasn't killed was a test where rules are enforced *one block late, for each rule*.”quote matched
Gregory Sanders · 2026-10-21 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activation · Open the message
- BIP 54 itselfTaskTestingopenpending reviewAdd a regtest check to feature_bip54.py that a 2501-sigop transaction is rejected by testmempoolaccept when the deployment is only started, so the reported mutant is caught.Can wait Raised 5 weeks ago
“Under the mutant it is accepted, while `feature_bip54.py`, `mempool_sigoplimit.py` and `mempool_accept.py` still pass. That check could go in `feature_bip54.py`.”quote matched
Raised by fametrano · 2026-10-25 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskTestingopenpending reviewAdd a test covering pre-activation mempool enforcement of the BIP 54 sigops checkCan wait Raised 2 times · Raised 5 weeks agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Add a test that catches changes to pre-activation mainnet mempool behaviour of the BIP 54 sigops check, exercising the enforce_bip54 value PreChecks actually passes instead of a hardcoded true.
“the mutant changes behaviour on mainnet before activation and no test catches that.”quote matched
ViniciusCestarii · 2026-10-22 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activation · Open the messageAdd a pre-activation testmempoolaccept rejection check (bad-txns-legacy-sigops) for the many-sigops transaction in feature_bip54.py, run with -acceptnonstdtxn=1, so the mempool rule that applies on mainnet before activation is covered.
“Maybe add a `testmempoolaccept` rejection (`bad-txns-legacy-sigops`) for the many-sigops tx in the pre-activation section of `feature_bip54.py`?”quote matched
ViniciusCestarii · 2026-10-21 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activation · Open the message
- bitcoin core implementationOpen questionEngineeringopenpending reviewDecide whether the Bitcoin Core implementation should enforce BIP 54 from the hardcoded genesis block or start at height 1.Can wait Raised 6 weeks ago
“Given that Genesis blocks of chains are hardcoded, should it be active for the Genesis block? Wouldn’t height 1 make more sense?”quote matched
Raised by Murch · 2026-10-16 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskTestingopenpending reviewTest that the Bitcoin Core implementation of BIP 54 agrees with one or more other implementations, such as the btcd one in progress.Can wait Raised 8 weeks ago
“Testing inter-compatibility with one or more other implementations is likely also valuable, to assert there is no shortcoming with the design.”quote matched
Raised by Antoine Riard · 2026-10-02 · Mailing list · Getting BIP54 past the finish lineOpen the message - BIP 54 itselfTaskSpec writingopenpending reviewDocument for wallet and off-chain protocol developers how they are affected by the 2500 signature operation limit on pre-segwit scripts and by the 64-byte transaction rule.Can wait Raised 8 weeks ago
“some parts of the BIP would be better to be more documented for any wallet or off-chain protocol, in function of what they're doing it's good for them to be aware of the proposed new 2500 pre-segwit script tx limit, and the 64 byte outlawing rule”quote matched
Raised by Antoine Riard · 2026-10-02 · Mailing list · Getting BIP54 past the finish lineOpen the message - BIP 54 itselfTaskTestingopenpending reviewAdd tests in the Bitcoin Core BIP 54 implementation covering interactions of the new sigops limit and 64-byte transaction rule with the disconnect pool, mempool reorg handling (including a reorg across the activation block), and the script execution and signature caches.Can wait Raised 2 months ago
“I don't remember to have seen test coverage for all those edge cases, even if it's to demonstrate there is no unexpected interactions”quote matched
Raised by ariard · 2026-09-29 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskSpec writingopenpending reviewRewrite the unclear paragraph in the BIP 54 test vectors README, especially the sentence starting "Instead of `extensions`", so that it makes sense.Can wait Raised 2 months ago
“This paragraph needs to be improved. Especially “Instead of `extensions`”… makes no sense.”quote matched
Raised by Murch · 2026-09-25 · GitHubOpen the message - BIP 54 itselfObjectionSpec writingopenpending reviewCorrect the claim that a timestamp below getblocktemplate's mintime always produces an invalid block, since Core's template floor uses a 600-second grace period while BIP 54 allows 7200 seconds.Can wait Raised 2 months ago
“The last sentence of the paragraph says a timestamp below `mintime` "already leads to creating an invalid block". That is not categorically true: Core's template floor uses `MAX_TIMEWARP = 600` while this BIP permits”quote matched
Raised by douglaz · 2026-09-18 · GitHub · bip-0054: distinguish miner enforcement of the two timestamp restrictionsOpen the message - BIP 54 itselfTaskReviewopenpending reviewReview the Lean theorem statements that formalize the chain-length and chain-work bounds under BIP 54's timewarp rules, to confirm they model Bitcoin's consensus rules correctly; Pieter Wuille notes the LLM-generated proof has not been reviewed.Can wait Raised 2 months ago
“Assuming no bugs in Lean and Mathlib, this means only the statements being proven need to be reviewed.”quote matched
Raised by Pieter Wuille · 2026-09-17 · Forum · Bounds on chain length with BIP-54 timewarp fixesOpen the message - BIP 54 itselfTaskSpec writingopenpending reviewExpress the timewarp rule's 2016/2015 constants in terms of the network's difficulty adjustment intervalCan wait Raised 3 times by 2 people · Raised 3 months agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Express the timewarp rule's 2016 and 2015 height constants in terms of the difficulty adjustment interval, so that networks with a different interval such as regtest are covered by the specification.
“was just wondering if we could update the BIP to make 2016 and 2015 variables”quote matched
l0rinc · 2026-08-12 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activation · Open the messageClarify in the BIP text that the 2016 and 2015 values in the timewarp rules come from the network's difficulty adjustment period rather than being fixed constants.
“could we adjust the BIP text, or add a note here to clarify that these values are derived from the network's adjustment period rather than fixed constants?”quote matched
l0rinc · 2026-08-06 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activation · Open the messageRevise the BIP 54 text so the timewarp rules do not hardcode mainnet's 2016-block difficulty period, following how other BIPs handle network-specific parameters.
“I think the BIP could indeed avoid hardcoding mainnet's 2016 figure. I'll try to see how other BIPs dealt with that and adjust the BIP text.”quote matched
Antoine Poinsot · 2026-01-21 · GitHub · BIP54 "Consensus Cleanup" implementation · Open the message
- bitcoin core implementationTaskTestingopenpending reviewAdd a test that exercises the sigops counting with a P2SH redeemScript containing deeply nested control flow (e.g. 10-deep OP_IF/OP_ELSE around OP_CHECKSIG), since fuzzing may never generate such structured scripts.Can wait Raised 3 months ago
“getting tortuous and valid control flow redeemScript with 10-depth OP_IF then the OP_CHECKSIG, then 10-depth OP_ENDIF, or with OP_ELSE to exerciser the consensus sigops script parser”quote matched
Raised by ariard · 2026-08-08 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfObjectionProtocol designopenpending reviewJustify or reconsider counting a bare CHECKMULTISIG as 20 signature operations versus 1 for OP_1 CHECKMULTISIG, since a party to a collaborative transaction could cheaply push it over the 2500 sigops limit.Can wait Raised 4 months ago
“in any collaborative txn among multi parties, one can force the tx to reach the new 2500 limit at a vbyte cost inferior rather than putting a `OP_1 CHECKMULTISIG` coming with a higher absolute vbyte cost, whatever the feerate.”quote matched
Raised by ariard · 2026-07-29 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationOpen questionEngineeringopenpending reviewDecide whether to move the BIP 54 sigops check out of ValidateInputsStandardness so that mempool PreChecks returns a consensus or standardness error depending on BIP 54 activation, and ConnectBlock checks it only once BIP 54 is active.Can wait Raised 4 months ago
“we should also move `Consensus::CheckSigopsBIP54` outside of `ValidateInputsStandardness`. It would have to be checked once in `PreChecks`, returning a consensus or stdness error depending on the BIP 54 activation status”quote matched
Raised by Antoine Poinsot · 2026-07-08 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin core implementationOpen questionEngineeringopenpending reviewDecide whether the implementation should report BIP 54 violations as consensus errors or standardness errors before BIP 54 activation, keeping the sigops and 64-byte transaction errors consistent.Can wait Raised 4 months ago
“Actually this approach makes it so this now reports a consensus error rather than a standardness one before 54 activation. So it's not clear to me that it's better.”quote matched
Raised by Antoine Poinsot · 2026-07-08 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin core implementationOpen questionEngineeringopenpending reviewDecide whether the Bitcoin Core implementation should report both the 64-byte transaction and tx-sigops violations as consensus errors or as standardness errors, so that the two are consistent.Can wait Raised 4 months ago
“Either way the 64-byte transaction error and the tx-sigops error need to be consistent with each other.”quote matched
Raised by Antoine Poinsot · 2026-07-08 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin core implementationOpen questionEngineeringopenpending reviewDecide whether the implementation should return consensus errors for BIP 54 violations only once BIP 54 is active, which would mean duplicating the checks outside `CheckTxInputs` instead of failing them as consensus errors before activation.Can wait Raised 4 months ago
“If we think it's important to only return a consensus error after 54 becomes active, then we should go back to duplicating the check instead of having it as part of `CheckTxInputs`”quote matched
Raised by Antoine Poinsot · 2026-07-08 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - mining pool supportOpen questionSpec writingopenpending reviewDecide where to specify the getblocktemplate coinbase locktime and sequence requirementsCan wait Raised 3 times by 3 people · Raised 6 months agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Decide whether the getblocktemplate fields for the coinbase locktime and sequence should be specified in a separate BIP rather than in BIP 54 itself.
“it seems like the advice above is that it would be best as a separate BIP from the actually protocl changes?”quote matched
JeremyRubin · 2026-05-28 · GitHub · bip54: add coinbase locktime and sequence to GBT · Open the messageDecide where to specify BIP 54's coinbase locktime and sequence requirements for getblocktemplate: in the getblocktemplate BIPs, in PR 2177, or in a separate document.
“Modulo the idea of adding this to GBT BIP(s), perhaps this change could be added to https://github.com/bitcoin/bips/pull/2177, if it moves forward.”quote matched
jonatack · 2026-05-28 · GitHub · bip54: add coinbase locktime and sequence to GBT · Open the messagePick up the abandoned change that adds the BIP 54 coinbase nLockTime and nSequence requirements to the getblocktemplate (GBT) specification, likely as a separate document.
“Closing this as up for grabs.”quote matched
Sjors · 2026-05-28 · GitHub · bip54: add coinbase locktime and sequence to GBT · Open the message
- slow blocks signet demoTaskReviewopenpending reviewReview the instructions for joining the slow blocks Signet demo on MacOS, Windows and Linux to check they are correct and clear for non-technical users.Can wait Raised 7 months ago
“These instructions are aimed at non-technical users who would like to participate and i could use review to make sure they are (correct and) clear enough.”quote matched
Raised by Antoine Poinsot · 2026-04-06 · Forum · Consensus Cleanup: demo of slow blocks on SignetOpen the message - testing handbookTaskTestingopenpending reviewWrite a handbook explaining how node operators can test each BIP 54 fix (timewarp, long block validation, Merkle tree malleability, duplicate coinbase) on regtest before and after the rules apply, without writing their own Python tests.Can wait Raised 8 months ago
“an alternative could be to have a handbook explaining how to test on a regtest pre / after BIP 54 fixes each one of the fix”quote matched
Raised by Antoine Riard · 2026-03-31 · Mailing list · BIP 54 active on Bitcoin InquisitionOpen the message - getblocktemplate supportObjectionProtocol designopenpending reviewDecide whether getblocktemplate should expose coinbase locktime and sequence or leave miners to derive themCan wait Raised 2 times by 2 people · Raised 9 months agoGrouped as one request by BipWatch, not yet reviewed. Each message:
Decide whether getblocktemplate should expose the BIP 54 coinbase locktime and sequence fields; Antoine Poinsot argues they are redundant with the block height pools already have, and that requiring a newer Bitcoin Core may raise the bar for compatibility rather than lower it.
“i don't think providing the fields in the GBT response is materially lowering the bar to make their software compatible”quote matched
Antoine Poinsot · 2026-02-10 · GitHub · bip54: add coinbase locktime and sequence to GBT · Open the messageDecide whether getblocktemplate should supply the required coinbase nLockTime and a suggested nSequence, or leave miners to derive them from the existing height field.
“provide the _required_ `nLockTime` and a _suggested_ `nSequence` (only 1 bit is required)”quote matched
Sjors · 2025-04-30 · GitHub · BIP 54: Consensus Cleanup · Open the message
- bitcoin inquisitionTaskReviewopenpending reviewReview the BIP 54 implementation for Bitcoin Inquisition further, including after it is merged for signet testing.Can wait Raised 9 months ago
“If people are so inclined, i'd love it to get more review still after it's merged.”quote matched
Raised by Antoine Poinsot · 2026-02-02 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - adoption trackingTaskEngineeringopenpending reviewAdd an efficient way in Bitcoin Core (not just Inquisition) to query coinbase nLockTime values, so node operators can track whether miners have adopted the BIP54 coinbase locktime rule before activation.Can wait Raised 10 months ago
“node operators should be able to easily evaluate whether activating BIP54 is safe, and being able to answer "have miners adopted the proposed nlocktime changes?" is important for that.”quote matched
Raised by ajtowns · 2026-01-23 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin core implementationTaskTestingopenpending reviewAdd a test case covering the accurate sigop accounting of CHECKMULTISIG(VERIFY) preceded by OP_1 through OP_16 when it appears in the scriptSig, not only in the scriptPubKey.Can wait Raised 10 months ago
“Good point that we should also have a test case covering the "accurate" accounting of sigops in the scriptSig.”quote matched
Raised by Antoine Poinsot · 2026-01-22 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin core implementationObjectionEngineeringopenpending reviewReconsider the Bitcoin Core implementation's move of the BIP54 sigops check from the node library to the common library, which was done only because policy.cpp, needed by bitcoin-wallet, now calls CheckSigopsBIP54.Can wait Raised 10 months ago
“I guess this was moved from node to common because policy/policy.cpp is in common and now calls CheckSigopsBIP54”quote matched
Raised by ajtowns · 2026-01-19 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin inquisitionOpen questionEngineeringopenpending reviewDecide whether the implementation's timewarp checks should be skipped when fPowNoRetargeting is set, exempting regtest.Can wait Raised 10 months ago
“Should this be conditional on `consensusParams.fPowNoRetargeting` -- ie exempted for regtest?”quote matched
Raised by ajtowns · 2026-01-19 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin inquisitionTaskEngineeringopenpending reviewRefactor the timewarp checks into standalone functions so unit tests can check them directly on header chains rebuilt from timestamps alone. This would avoid PoW and -vbparams setup and shrink the test JSON file by about 3.6MB.Can wait Raised 10 months ago
“I think it would be better to expose these tests as separate functions”quote matched
Raised by ajtowns · 2026-01-19 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin core implementationTaskEngineeringopenpending reviewAdd a faster way in Bitcoin Core to query coinbase nLockTime values, such as a dedicated RPC or a runtime cache of the last ~4032 blocks' coinbase nLockTimes.Can wait Raised 10 months ago
“IMO we should add either some rpc that's faster; if necessary adding a runtime cache of the last 4032 (?) blocks' coinbases' nlocktimes.”quote matched
Raised by ajtowns · 2026-01-19 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin core policyTaskSpec writingopenpending reviewAdd a release note to the policy change warning developers of collaborative transaction protocols (such as coinjoins) that the new legacy sigops limit could let a participant make the joint transaction non-standard.Can wait Raised 16 months ago
“mentioning in release notes that the limit might affect tx collaborative construction for downstream softwares devs and that action might have to be taken at their appreciation”quote matched
Raised by Antoine Riard · 2025-07-23 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardOpen the message - bitcoin core policyTaskEngineeringopenpending reviewBackport the non-standardness of transactions exceeding 2500 legacy signature operations to earlier Bitcoin Core versions.Can wait Raised 16 months ago
“as well as backported to previous versions”quote matched
Raised by Antoine Poinsot · 2025-07-02 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardOpen the message - getblocktemplate supportTaskReviewopenpending reviewCheck whether and how the Stratum v2 template code handles BIP 54 rule signaling, so the version field signals support only when the mining client supports it.Can wait Raised 19 months ago
“I need to check if / how the stratum v2 template code handles this.”quote matched
Raised by Sjors · 2025-04-30 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionSpec writingopenpending reviewQualify the Motivation's claim that users of Merkle proofs need not even know a workaround is necessary: multi-party protocols that cache pre-signed transactions (e.g. Lightning on a BIP157 client) would now have to make sure counterparty contributions cannot produce a 64-byte transaction.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“if you've a software client caching pre-signed transactions on top of a SPV client (e.g bip157 + lightning) carefulness about not accepting a transaction input vector turning the result as a 64 byte tx will become necessary”quote matched
Raised by ariard · 2026-05-20 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskSpec writingopenpending reviewRevise the rationale's description of 64-byte transactions as anyone-can-spend so it distinguishes immediately spendable outputs from timelocked anyone-can-spend outputs (e.g. 1 CSV, 52416 CSV), which create different miner incentives.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“it is not true that OP_TRUE, 52416 CSV, and 1 CSV are all equivalent.”quote matched
Raised by jeremy · 2026-05-06 · Mailing list · [BIP-0054] 64-Byte Transactions and Potential Legitimate UsesRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfObjectionProtocol designopenpending reviewAddress in the rationale whether invalidating 64-byte transactions complicates future introspection or covenant constructions that would need a valid way to add a padding byte without upsetting a state machine.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“with introspection opcodes, it might create substantive additional complexity to ensure that there is always a valid way to add a padding byte without upsetting a state machine.”quote matched
Raised by jeremy · 2026-05-01 · Mailing list · [BIP-0054] 64-Byte Transactions and Potential Legitimate UsesRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskTestingopenpending reviewShrink the BIP 54 timewarp header test vector JSON by dropping redundant data (repeated headers, null coinbases, prevhash, fixed version/nbits) so the vectors are easier to use.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“Even keeping the header checks, the json file is pretty absurd; dropping the redundancies (repeated headers, null coinbases, prevhash, fixed version/nbits etc) to reduce the file size is probably worth doing.”quote matched
Raised by ajtowns · 2026-01-23 · GitHub · BIP54 "Consensus Cleanup" implementationRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskTestingopenpending reviewAdjust the generated BIP 54 sigops limit test vectors so they don't fail block validation for unrelated reasons, such as missing outputs or a non-final transaction caused by BIP68.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“But the smaller adaptions in the unit tests might be worth it to add, so that the vectors are more useful, in the sense that they don't unnecessarily fail in a block validation context for other reasons.”quote matched
Raised by Sebastian Falbesoner · 2026-01-23 · GitHub · BIP54 "Consensus Cleanup" implementationRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskTestingopenpending reviewAdd test vectors reproducing Murch–Zawy attack scenarios that BIP 54 rejectsMay be outdated Raised 2 times · Raised on before the spec was versioned; the spec is now v1.0.0Grouped as one request by BipWatch, not yet reviewed. Each message:
Build a valid test vector reproducing the Murch–Zawy attack, possibly at reduced hashrate cost, that a post-BIP54 implementation rejects as invalid.
“Back to have a [valid test vector](https://github.com/bitcoin/bips/pull/2015#discussion_r2560287424) for the Murch-Zarwy attack”quote matched
ariard · 2026-01-20 · GitHub · BIP54 "Consensus Cleanup" implementation · Open the messageAdd more test vectors covering Murch-Zawy attack scenarios for the timestamp rules.
“more Murch-Zawy attack”quote matched
ariard · 2025-12-01 · GitHub · BIP54: Consensus Cleanup test vectors · Open the message
Raised on before the spec was versioned. The spec is now at v1.0.0; check it still applies. - BIP 54 itselfTaskTestingopenpending reviewFix the BIP 54 sigops test code so that assigning spent_script2 to the script reference no longer overwrites spent_script; otherwise the restored inputs end up with far too few sigops.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“Would feel better not to clobber `spent_script` as we do when assigning `spent_script2` to the `script` reference here on line 260.”quote matched
Raised by hodlinator · 2026-01-16 · GitHub · BIP54 "Consensus Cleanup" implementationRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfObjectionActivationopenpending reviewDecide whether to split the four fixes into separate proposals, each with its own deployment bit, instead of a single bundled activation.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“separating the consensus changes in 4 distinct proposals is better development and deployment practice”quote matched
Raised by Antoine Riard · 2026-01-08 · Mailing list · Addressing remaining points on BIP 54Raised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskTestingopenpending reviewAdd sigops-limit test vectors for segwit scripts using CHECKMULTISIG preceded by OP_2 through OP_16.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“max-sigops: segwit from OP_2 to OP_16”quote matched
Raised by ariard · 2025-12-01 · GitHub · BIP54: Consensus Cleanup test vectorsRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskTestingopenpending reviewAdd a test vector for a Taproot transaction with an annex near the 64-byte size boundary, for example a 65-byte transaction whose 1-byte annex is stripped, to check the size rule has no unintended interaction with annex handling.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“What if a 65-byte Taproot transaction is stripped of its 1-byte annex at the p2p-level, normally the annex is committed in the taproot signature so it should fail at signature verification, but the tx should be now rejected early due to its 64-byte size.”quote matched
Raised by ariard · 2025-12-01 · GitHub · BIP54: Consensus Cleanup test vectorsRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskTestingopenpending reviewTest the BIP 54 implementation for unintended interactions between the new consensus code and other components such as p2p.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“verify there is no unintended interaction of the novel code with things like p2p”quote matched
Raised by ariard · 2025-12-01 · GitHub · BIP54: Consensus Cleanup test vectorsRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskTestingopenpending reviewAdd test vectors for 64-byte Taproot transactions whose witness carries an empty or full annexMay be outdated Raised 4 times by 3 people · Raised on before the spec was versioned; the spec is now v1.0.0Grouped as one request by BipWatch, not yet reviewed. Each message:
Add test vectors for 64-byte transactions that carry a full or an empty Taproot annex.
“64-byte transaction with Taproot annex full / empty”quote matched
ariard · 2025-12-01 · GitHub · BIP54: Consensus Cleanup test vectors · Open the messageAdd a transaction-size test vector for a 64-byte Taproot transaction whose witness includes an annex.
“The annex is just another witness stack element, so i'm not sure it would add more value, but it also doesn't hurt to have. I'm happy to add it in a follow-up.”quote matched
Antoine Poinsot · 2025-11-25 · GitHub · BIP54: Consensus Cleanup test vectors · Open the messageAdd BIP 54 test vectors for 64-byte transactions that are Taproot spends with an empty or a full annex.
“probably few vectors missings like for the 64 byte and Taproot transaction with empty or full annex”quote matched
Antoine Riard · 2025-11-10 · Mailing list · BIP54 implementation and test vectors · Open the messageAdd 64-byte transaction test vectors for Taproot spends with an empty annex and with a full annex.
“having cases for a Taproot + annex (empty) and a Taproot + annex (full) to be sure that the 64-byte verification logic is checking the code correctly”quote matched
ariard · 2025-11-10 · GitHub · BIP54: Consensus Cleanup test vectors · Open the message
Raised on before the spec was versioned. The spec is now at v1.0.0; check it still applies. - BIP 54 itselfTaskTestingopenpending reviewExtend the sigops test vectors to cover future Segwit versions up to version 16May be outdated Raised 2 times by 2 people · Raised on before the spec was versioned; the spec is now v1.0.0Grouped as one request by BipWatch, not yet reviewed. Each message:
Add a BIP 54 test vector covering a Segwit version 16 case, beyond the existing versions 0, 1 and 2.
“Maybe i could add a version 16 in a followup if you really think it's worthwhile.”quote matched
Antoine Poinsot · 2025-11-25 · GitHub · BIP54: Consensus Cleanup test vectors · Open the messageExtend the sigops test vector that mixes inputs reaching exactly 2500 BIP54 sigops with a future Segwit program input so it covers future Segwit versions beyond 0, 1 and 2 (for example up to version 16).
“I think it could be valuable to multiply it for the whole range of future Segwit program (i.e from OP_02 to OP_16) to ensure the `CheckSigopsBIP54` parser works well.”quote matched
ariard · 2025-11-10 · GitHub · BIP54: Consensus Cleanup test vectors · Open the message
Raised on before the spec was versioned. The spec is now at v1.0.0; check it still applies. - BIP 54 itselfTaskResearchopenpending reviewFind someone with enough hashrate to demonstrate a Murch–Zawy attack on testnet4 by privately mining at least three difficulty adjustment periods.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“A Murch-Zawy can also be done on testnet4, for what it's worth. If we can find someone with some hashrate that could be interesting to do.”quote matched
Raised by Antoine Poinsot · 2025-11-25 · GitHub · BIP54: Consensus Cleanup test vectorsRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskResearchopenpending reviewBuild worst-case transactions that hit the 2500 sigops limit while maximizing UTXO fetches, and measure whether the limit makes prevout lookup DoS cheaper for an attacker, especially on low-memory nodes.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“if worst-case transactions samples binding to the 2500 limit have been crafted to maximize the number of UTXOs fetches”quote matched
Raised by Antoine Riard · 2025-10-27 · Mailing list · BIP54 implementation and test vectorsRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskSpec writingopenpending reviewState in BIP 54 that the 2500 sigops limit is only meant to mitigate CPU DoS, and say whether other costs such as UTXO fetches, disk IO and bandwidth were evaluated when choosing the value.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“This would be a fair point to modify BIP54 to say that the new sigops limit is only aimed to mitigate CPU DoS”quote matched
Raised by Antoine Riard · 2025-10-27 · Mailing list · BIP54 implementation and test vectorsRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskReviewopenpending reviewHave developers of alternative Bitcoin clients review the BIP 54 test vectors and check them against their own implementations.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“I'm seeking feedback on these test vectors from everybody but in particular developers of alternative Bitcoin clients”quote matched
Raised by Antoine Poinsot · 2025-10-21 · Mailing list · BIP54 implementation and test vectorsRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfObjectionProtocol designopenpending reviewAddress the confiscation risk of BIP 54's per-transaction signature operation limit: transactions breaking that rule have already been mined (e.g. txid bb41a757…), and outputs that could be spent the same way already exist on-chain.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“I would actually go as far as to say the confiscation risk is higher with the TX limit proposed in BIP54 as we actually have proof of redemption of TXs that break that rule and the input set to do this already exists on-chain”quote matched
Raised by PortlandHODL · 2025-10-18 · Mailing list · [BIP Proposal] Limit ScriptPubkey Size >= 520 Bytes Consensus.Raised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskSpec writingopenpending reviewClarify in the sigop limit specification that Segwit spends are excluded and always count zero, and define what counts as a legacy input.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“I do think it would be clearer to say that Segwit spends are logically excluded due to a) a Segwit spend's scriptSig must be always empty”quote matched
Raised by Antoine Riard · 2025-07-12 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskActivationopenpending reviewHold off BIP 54 activation until there is good reason to believe the vast majority of hashrate will not mine blocks containing transactions that exceed the 2500 legacy sigop limit.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“hold off activation of BIP54 until we have good reasons to believe that the vast majority of the hashrate won't create a block containing such a transaction”quote matched
Raised by Antoine Poinsot · 2025-07-02 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskSpec writingopenpending reviewExplain what happens to the coinbase nLockTime rule once height reaches LOCKTIME_THRESHOLDMay be outdated Raised 2 times by 2 people · Raised on before the spec was versioned; the spec is now v1.0.0Grouped as one request by BipWatch, not yet reviewed. Each message:
Add a note to the rationale explaining what happens to the coinbase nLockTime height rule once block height reaches LOCKTIME_THRESHOLD (500,000,000).
“It would be useful to mention the implication of reaching block `LOCKTIME_THRESHOLD` 500,000,000”quote matched
Antoine Poinsot · 2025-04-28 · GitHub · BIP 54: Consensus Cleanup · Open the messageExplain in the spec what happens to the coinbase nLockTime rule once block height reaches LOCKTIME_THRESHOLD (500,000,000), when the value would be interpreted as a timestamp.
“It would be useful to mention the implication of reaching block `LOCKTIME_THRESHOLD` 500,000,000”quote matched
Sjors · 2025-04-24 · GitHub · BIP 54: Consensus Cleanup · Open the message
Raised on before the spec was versioned. The spec is now at v1.0.0; check it still applies. - BIP 54 itselfObjectionSpec writingopenpending reviewSubstantiate or drop the motivation's claim that bundling the fixes amortizes the fixed cost of deploying a soft fork, given that SegWit and Taproot were each deployed as multiple BIPs.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“the claim seems unsubstantiated to erroneous. How does bundling BIPs constitute a material difference in the deployment cost; the activations of both SegWit and Taproot consisted of multiple BIPs. Suggest dropping the sentence entirely.”quote matched
Raised by jonatack · 2025-04-23 · GitHub · BIP 54: Consensus CleanupRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskSpec writingopenpending reviewState explicitly in the BIP that miners must update their coinbase transaction construction before activation, unlike the optional BIP 145 upgrade for SegWit.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“this BIP should point out that it's mandatory and has to be done _before_ activation.”quote matched
Raised by Sjors · 2025-04-04 · GitHub · BIP 54: Consensus CleanupRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskResearchopenpending reviewBuild an example bridge that verifies Bitcoin transaction inclusion using a proposed covenant opcode, and compare how complex it is with and without the 64-byte transaction ban.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“It could be a useful illustration if someone implements such a bridge using any of the proposed covenant op codes, and shows the difference in complexity between having the 64 byte limit and not having it.”quote matched
Raised by Sjors Provoost · 2025-03-29 · Mailing list · Consensus Cleanup BIP draftRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfObjectionProtocol designopenpending reviewAddress the risk that invalidating 64-byte transactions leaves presigned SegWit transactions signed with SIGHASH_ALL, or committed inside a CTV tree, permanently unconfirmable because they cannot be malleated to a different size.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“But a SIGHASH_ALL could get stuck (can't be confirmed, can't be modified). And IIUC with OP_CTV even a SIGHASH_SINGLE | SIGHASH_ANYONECANPAY, once committed inside a CTV tree, can't be modified.”quote matched
Raised by Sjors Provoost · 2025-03-28 · Mailing list · Consensus Cleanup BIP draftRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskResearchopenpending reviewShow whether every consensus-valid 64-byte transaction can be third-party malleated to add or remove a byte, to settle concerns that invalidating them could confiscate funds.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“If you can additionally demonstrate that any 64 byte transaction is ("third party") malleable in a way that adds or removes a byte, then that would completely alleviate any concerns about confiscatory surface.”quote matched
Raised by Sjors · 2025-03-27 · GitHub · BIP 54: Consensus CleanupRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskSpec writingopenpending reviewExplain in the BIP why a 64-byte transaction can only have an output script that lets anyone spend the funds or that burns them.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“It would be good to elaborate on these two specific claims.”quote matched
Raised by Sjors · 2025-03-27 · GitHub · BIP 54: Consensus CleanupRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskReviewopenpending reviewReview the BIP 54 implementation(s) beyond the timewarp fix, covering the signature operations limit, the 64-byte transaction ban and the coinbase nLockTime rule.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“I also still need to see and study the implementation(s), outside the timewarp fix”quote matched
Raised by Sjors · 2025-03-27 · GitHub · BIP 54: Consensus CleanupRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskSpec writingopenpending reviewGive the new per-transaction limit its own name, distinct from the existing "sigop" count, to avoid confusing the two limits.May be outdated Raised on before the spec was versioned; the spec is now v1.0.0
“I think it would be helpful if we could have distinct names for the two limits here -- keep "sigop" for signatures that appear in the p2sh, p2wsh and the output scriptPubKey, and use something new for the new limit”quote matched
Raised by ajtowns · 2025-02-06 · Forum · Great Consensus Cleanup RevivalRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskResearchopenpending reviewShow, with a careful analysis, that invalidating 64-byte transactions actually fixes the Merkle root weaknesses, and compare it with the minimal sufficient check for rejecting a malleated block, such as validating the coinbase null point.May be outdated Raised 2.0 years ago
“So I think more that the minimal sufficient check to reject a block should be more carefully analyzed, rather than advocating that forbidding some magic value obviously fix an issue”quote matched
Raised by Antoine Riard · 2024-11-28 · Mailing list · Great Consensus Cleanup RevivalRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - mining pool supportTaskEngineeringopenpending reviewCheck, and update where needed, each block template provider other than Bitcoin Core (other getblocktemplate implementations, Stratum V2) so it sets the first block's timestamp of a difficulty period in line with the timewarp fix.May be outdated Raised 2.3 years ago
“this upgrade behavior is far from being ported in any other block template providers (e.g getblocktemplate other implementations, stratum v2) in the mining ecosystem”quote matched
Raised by Antoine Riard · 2024-08-25 · Mailing list · Timewarp fix, Mining software and ClocksOpen the message - BIP 54 itselfOpen questionActivationopenpending reviewDecide whether to delay activation by one or more years in case miners need to change custom coinbase-processing software beyond upgrading their node.May be outdated Raised 2.3 years ago
“Perhaps it should activate a (few) year(s) later, if it turns out miners have to do more than just upgrade their node.”quote matched
Raised by sjors · 2024-08-20 · Forum · Great Consensus Cleanup RevivalRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskCoordinationopenpending reviewEncourage miners to run software that sets the coinbase nLockTime well before activation parameters are set, to uncover unknown compatibility problems.May be outdated Raised 2.3 years ago
“we could encourage miners to run this well before any activation parameters are set, to figure out if there is a problem we're not aware of.”quote matched
Raised by sjors · 2024-08-20 · Forum · Great Consensus Cleanup RevivalRaised on before the spec was versioned. The spec is now at v1.0.0; check it still applies.Open the message - BIP 54 itselfTaskSpec writingaddressedpending reviewAdd a short footnote to BIP 54 noting that its timewarp fix rules out the "forward blocks" scaling proposal, linking to the original paper and to the discussion of it.
“in my view it's better to add a succinct note mentioning the impact BIP54 has on the "forward block" idea”quote matched
Raised by ariard · 2026-11-07 · GitHub · BIP54: Add a footnote mentioning the rule-out of forward blockOpen the messageAddressed · found by BipWatch, not yet reviewed“One such design is the "[forward blocks](https://freico.in/forward-blocks-scalingbitcoin-paper.pdf)" proposal by Mark Friedenbach (Scaling Bitcoin 2018), which pairs a higher-capacity "forward" chain with a "compatibility" chain whose block rate is increased via timestamp manipulation”
Read the spec - BIP 54 itselfTaskSpec writingaddressedpending reviewAdd a footnote to BIP 54 acknowledging that its timewarp mitigation rules out the "forward blocks" scaling proposal, briefly introducing and linking that proposal for historical context.
“I'm thinking it's good to add a footnote about the technical outlaw of this idea”quote matched
Raised by ariard · 2026-11-04 · GitHub · BIP54: Add a footnote mentioning the rule-out of forward blockOpen the messageAddressed · found by BipWatch, not yet reviewed“This precludes scaling designs that depend on deliberately exploiting that malleability to accelerate block production.”
Read the spec - BIP 54 itselfObjectionSpec writingaddressedpending reviewClarify whether the genesis block is exempt from the coinbase nLockTime/nSequence rule and the timewarp timestamp rule, since the test vectors start from genesis and genesis has no previous block.
“The timewarp rule has the same gap: at N=0 there is no T<sub>N−1</sub>, and `timestamps.json` also starts from genesis. One sentence could exempt genesis from both rules.”quote matched
Raised by fametrano · 2026-10-09 · GitHub · bip54: exempt genesis from coinbase checksOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewMake clear in the specification that the genesis block is exempt from the new coinbase nLockTime and nSequence rules, as the reference implementation already skips it.
“The BIP54 reference implementation skips genesis when checking the new coinbase locktime and sequence rules. However this wasn't specified in the BIP.”quote matched
Raised by nervana21 · 2026-10-06 · GitHub · bip54: exempt genesis from coinbase checksOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewWeigh the concern that the 7200-second timewarp grace period lets an attacker lower difficulty by about 0.6% per period without advancing time, or hold time back by 0.6% without raising difficulty.
“it's annoying (if not concerning) that the 7200 allowance enables difficulty to be constantly lowered 0.6% in every epoch without advancing time, or holding time back by 0.6% without difficulty increasing”quote matched
Raised by zawy · 2026-09-20 · Forum · Bounds on chain length with BIP-54 timewarp fixesOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDetermine whether the 7200-second timewarp grace period could allow unlimited blocks in finite time when total chain work grows by less than about 0.6% per difficulty period.
“From the T(w,U) equation it looks like a lower w and higher U can result in a negative T which means unlimited blocks in finite time.”quote matched
Raised by zawy · 2026-09-20 · Forum · Bounds on chain length with BIP-54 timewarp fixesOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewDecide whether the Miner forward compatibility section should state that Bitcoin Core 29.x–31.x only enforce the first-block timestamp rule in templates, and the last-block rule only from 32.0; the BIP authors chose to keep the existing wording as intentional.
“So versions 29.x through 31.x do not satisfy the blanket wording, which this PR corrects.”quote matched
Raised by douglaz · 2026-09-18 · GitHub · bip-0054: distinguish miner enforcement of the two timestamp restrictionsOpen the message - bitcoin core implementationObjectionEngineeringaddressedpending reviewEnsure that, around activation, transactions violating the BIP 54 sigops limit cannot sit in a mempool and later be selected into a block template that would make the block invalid.
“a tx might be okay at mempool reception, is stuck in the mempools, and even after few blocks is selected in a template rendering it invalid.”quote matched
Raised by ariard · 2026-08-08 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskEngineeringaddressedpending reviewEnsure block templates never include transactions violating the BIP 54 sigops limit, particularly for blocks at the activation boundary, for example via a sanitization check in getblocktemplate.
“though having a sanitization check in `getblocktemplate` might good.”quote matched
Raised by ariard · 2026-08-08 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - bitcoin core implementationTaskTestingaddressedpending reviewTest that a transaction with 2501 signature operations is rejected under the BIP 54 sigops limit, confirming the boundary at exactly 2500 is handled correctly.
“there could be a test for the case where the tx has `2501 sigops` and as such is invalid per BIP54 new rule.”quote matched
Raised by ariard · 2026-08-08 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the message - BIP 54 itselfTaskReviewaddressedpending reviewReview the Bitcoin Core implementation of the BIP 54 signature operations limit that fixes long block validation times.
“Let's start at least the review for the fix of the long validation block time.”quote matched
Raised by ariard · 2026-07-29 · GitHub · Implement BIP 54 (Consensus Cleanup) without mainnet activationOpen the messageAddressed on 2026-11-26 · found by BipWatch, not yet reviewed“I did a review of the consensus rules here, cross-checking with the specification in https://github.com/bitcoin/bips/blob/master/bip-0054.md. I think they are correct and mirror it.”
Open the reply - testnet5ObjectionProtocol designaddressedpending reviewMake the Testnet 5 draft apply BIP 54 rules from block 1 rather than from genesis, since the timestamp and coinbase locktime rules cannot coherently apply to block 0.
“I think "are active .. from Genesis" is perhaps not great, and the BIP 54 rules should apply to block 1 and above only?”quote matched
Raised by Anthony Towns · 2026-06-05 · Mailing list · [BIP Draft] Testnet 5Open the message - BIP 54 itselfTaskSpec writingaddressedpending reviewNarrow BIP 54's claim so it says invalidating 64-byte transactions fixes the Merkle weakness without changes only for SPV verifiers that expect proofs of transactions that cannot be 64 bytes.
“BIP 54 should only claim that invalidating 64-byte transactions addresses the issue with no change to SPV verifiers for those SPV verifiers that expect proofs for transactions that cannot be 64-byte”quote matched
Raised by Antoine Poinsot · 2026-06-05 · Mailing list · Prohibit Merkle Internal Node Preimages That Encode Minimal 64-Byte TransactionsOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJeremy Rubin objected to invalidating 64-byte witness-stripped transactions to benefit SPV users, arguing that better alternatives exist; the BIP authors needed to decide between invalidation and those alternatives.
“I think removing 64 byte witness stripped transactions from Bitcoin to benefit SPV users is a mistake, and a mistake with better alternatives.”quote matched
Raised by JeremyRubin · 2026-05-28 · GitHub · Consensus Cleanup Protocol Changes as Independent BIPsOpen the message - BIP 54 itselfTaskEngineeringaddressedpending reviewOpen the BIP 54 reference implementation branch as a pull request to Bitcoin Core.
“Yes, i plan to eventually open this branch as a Bitcoin Core PR.”quote matched
Raised by Antoine Poinsot · 2026-05-22 · GitHub · BIP 54: progress to CompleteOpen the message - BIP 54 itselfTaskEngineeringaddressedpending reviewOpen a pull request to Bitcoin Core implementing BIP 54.
“Are there plans to open an implementation pull in Bitcoin Core?”quote matched
Raised by jonatack · 2026-05-22 · GitHub · BIP 54: progress to CompleteOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAddress the concern that making one specific transaction size invalid is itself a footgun, since transaction creation and validation must avoid that size.
“One could also raise the real possibility that a specific size transaction being invalid is also a footgun, as transaction creation (and validation) must avoid it.”quote matched
Raised by evoskuil · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewUpdate the 64-byte transaction rationale so it no longer implies that one alternative is the only viable one, and mention the option of not changing consensus and relying on existing mitigations instead.
“I suggested (which is not included anywhere in the discussion here) that mitigation may not be necessary given that:”quote matched
Raised by evoskuil · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewUpdate the 64-byte transaction rationale to mention that relying on existing mitigations, rather than a consensus change, is another alternative.
“I'll update to mention that another alternative is to keep relying on existing mitigations instead.”quote matched
Raised by Antoine Poinsot · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewClarify in the 64-byte transaction rationale which alternative mitigations are meant by 'better ways to mitigate this issue', and explain their relation to SPV verifiers and caching nodes.
“This hints at (1,2,3) above, but this isn't very clear.”quote matched
Raised by evoskuil · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewPresent all known SPV verifier workarounds for the 64-byte transaction Merkle weakness in the rationale, neutrally, instead of only the proposal's preferred framing.
“There is no harm in presenting all three, and any others.”quote matched
Raised by evoskuil · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewDescribe in the motivation the specific SPV-verifier workarounds that invalidating 64-byte transactions would make unnecessary, so readers can weigh a new consensus rule against the existing workarounds.
“Reading this fresh my first question would be, what specifically is the complexity/mitigation that this new rule will eliminate.”quote matched
Raised by evoskuil · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewClarify in the 64-byte transaction motivation that a block with a malleated Merkle root cannot pass validation, so the weakness only affects SPV verifiers.
“I think it's worth being explicit here that it's not possible for a block to pass validation with a malleated merkle root.”quote matched
Raised by evoskuil · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewDescribe the existing SPV workarounds that invalidating 64-byte transactions replaces in enough detail for readers to weigh the tradeoff.
“The actual mitigation that is being replaced should be described with sufficient detail for people to make an informed decision.”quote matched
Raised by evoskuil · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewDescribe the current workaround that invalidating 64-byte transactions replaces, such as verifying inclusion of the coinbase transaction to learn the tree depth.
“Also I think it's worth showing specifically the current approach that this fork replaces”quote matched
Raised by evoskuil · 2026-05-15 · GitHub · BIP 54: clarify 64-byte transactions item description and rationaleOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewClarify throughout BIP 54 that the 64-byte transaction rule refers to the witness-stripped serialized size.
“But it's fair that it could be clearer with regard to witness-stripped serialized size.”quote matched
Raised by Antoine Poinsot · 2026-05-06 · Mailing list · [BIP-0054] 64-Byte Transactions and Potential Legitimate UsesOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewRevise or justify the rationale's claim that 64-byte transactions can only pay anyone-can-spend or burn outputs, given proposed uses such as timelocked miner donations, connector outputs and keyed-anchor shims.
“This is not strictly correct. Here are a few examples of current and future uses for 64-byte transactions:”quote matched
Raised by jeremy · 2026-05-01 · Mailing list · [BIP-0054] 64-Byte Transactions and Potential Legitimate UsesOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewClarify throughout BIP 54 that "64-byte transactions" means transactions with exactly 64 bytes of witness-stripped (non-witness) serialized data, since such transactions can carry a large witness.
“Therefore, it is more accurate to refer to this in all sentences throughout the BIP as:”quote matched
Raised by jeremy · 2026-05-01 · Mailing list · [BIP-0054] 64-Byte Transactions and Potential Legitimate UsesOpen the message - slow blocks signet demoTaskSpec writingaddressedpending reviewWrite instructions for joining the slow blocks Signet demo using node-in-a-box solutions other than Umbrel.
“I would welcome instructions on how to join using other node-in-a-box solutions.”quote matched
Raised by Antoine Poinsot · 2026-04-06 · Forum · Consensus Cleanup: demo of slow blocks on SignetOpen the messageAddressed on 2026-04-06 · found by BipWatch, not yet reviewed“Openoms just shared instructions on how to join using Raspiblitz ([X](https://x.com/openoms/status/2041254429555339502), [Telegram](https://t.me/raspiblitz/153788#)). I'll update OP with the instructions.”
Open the reply - slow blocks signet demoTaskEngineeringaddressedpending reviewBuild a simple display that reads node logs and shows block validation times as blocks arrive, so that users joining the Consensus Cleanup slow-block signet demo can see the effect on their own node.
“Just wanted to suggest vibe coding a basic GUI/display to pull from the logs and display to a user validation times as the blocks come in.”quote matched
Raised by shinobi · 2026-04-02 · Forum · Consensus Cleanup: demo of slow blocks on SignetOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether the coinbase rule can drop the requirement that nSequence be non-final and rely on the nLockTime height alone to guarantee coinbase uniqueness.
“I’m still thinking the change can be simplified by not enforcing non-finality of the `nSequence` field due to the order of checks in `IsFinalTx()`, while still ensuring uniqueness.”quote matched
Raised by ariard · 2026-03-16 · GitHub · BIP 54 test vectors improvements following review in InquisitionOpen the message - slow blocks signet demoTaskResearchaddressedpending reviewPublish publicly verifiable evidence that slow blocks can be crafted, such as a demonstration of an expensive but far-from-worst block, to support the soft fork activation proposal.
“i do think it's necessary to provide some amount of publicly verifiable information to support a soft fork activation proposal.”quote matched
Raised by Antoine Poinsot · 2026-03-11 · Mailing list · BIP 54 active on Bitcoin InquisitionOpen the message - slow blocks signet demoObjectionTestingaddressedpending reviewMake sure a public slow-block demonstration on signet does not leak details of how to optimise the validation-time attack on mainnet, for example by keeping the worst-case testing private.
“The main concern I'd have is whether or not doing so would leak more information to the world about how to conduct such an attack on mainnet. It may be prudent to perform such testing privately.”quote matched
Raised by Jameson Lopp · 2026-02-25 · Mailing list · BIP 54 active on Bitcoin InquisitionOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve the objection that requiring the coinbase nSequence to differ from 0xffffffff is superfluous if the BIP 54 activation height is buried and BIP 30 checks are disabled past it.
“Point is the additional check in nsequence field is superflous imho.”quote matched
Raised by ariard · 2026-02-15 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - slow blocks signet demoTaskTestingaddressedpending reviewCreate and publicly share a slow-but-not-worst-case block on Signet to demonstrate that it is invalid on Inquisition with BIP 54 active.
“Perhaps we could create a Signet block that is slow but not quite as bad as the worst case, and share it here to demonstrate it is now invalid on Inquisition?”quote matched
Raised by Antoine Poinsot · 2026-02-13 · Mailing list · BIP 54 active on Bitcoin InquisitionOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether the rule that the coinbase nSequence must not be 0xffffffff is needed, given that the nLockTime == height - 1 check alone may already make coinbase transactions unique.
“However, I still hold the belief the check on the nsequence field is superflous, as with BIP54 you're implementing a context-dependent check that the coinbase transaction nLocktime must be exactly set to the height of the checked block.”quote matched
Raised by Antoine Riard · 2026-02-12 · Mailing list · Addressing remaining points on BIP 54Open the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve the objection that requiring a non-final coinbase nSequence is superfluous and that relying on proof-of-work ordering would be a simpler way to avoid coinbase duplicates.
“I’m still thinking you can make a simpler assumption by just relying on the PoW ordering mechanism itself. There can be only and only one block valid at a given chain height.”quote matched
Raised by ariard · 2026-02-12 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - getblocktemplate supportObjectionProtocol designaddressedpending reviewDecide whether coinbase nLockTime and nSequence fields for getblocktemplate should be specified in BIP 54 or in the getblocktemplate BIP, given Antoine Poinsot's argument that pools already have the block height and the fields do not help forward compatibility.
“Regardless of the desirability of these additions, i think those should be specified as part of the GBT BIP, not BIP 54.”quote matched
Raised by Antoine Poinsot · 2026-02-09 · GitHub · bip54: add coinbase locktime and sequence to GBTOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve the objection that requiring the coinbase nSequence to be non-final is unnecessary given the nLockTime rule, and that the field could instead be left free for an extranonce or a future commitment.
“I'm still thinking the second check is unecessary.”quote matched
Raised by ariard · 2026-02-05 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - adoption trackingTaskEngineeringaddressedpending reviewExpose the coinbase transaction's locktime and whether its nSequence is final in verbosity-1 getblock output, so miners' BIP54 coinbase readiness can be scanned efficiently.
“Also should report whether nseq is final or not.”quote matched
Raised by ajtowns · 2026-02-05 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplain more clearly in the BIP why the coinbase nSequence must be non-final: it forces timelock validation, so no coinbase after activation can duplicate an earlier one and the BIP 30 check can be dropped without depending on BIP 34 history.
“There still appears to be some confusion around the rationale for also constraining the nSequence, which suggests the explanation needs to be clearer.”quote matched
Raised by Antoine Poinsot · 2026-02-05 · Mailing list · Addressing remaining points on BIP 54Open the message - bitcoin core implementationTaskEngineeringaddressedpending reviewDecide whether to check the coinbase against the new BIP54 rules when a compact block arrives, to avoid storing state for blocks that will be invalid.
“Sanitizing that the received coinbase is respecting the new rules of consensus avoids to store cmpct block state for a block that will be overall consenus invalid”quote matched
Raised by ariard · 2026-02-05 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin core implementationTaskTestingaddressedpending reviewFix the BIP54 fuzz test's handling of coinbase-like transactions, either by dropping the coinbase assertion in CheckSigopsBIP54 or by returning early for coinbases before calling CheckTxInputs.
“Alternatively, having `if (transaction.IsCoinBase()) { /* Not allowed to call CheckTxInputs on a coinbase */ return; }` before setting `enforce_bip54` could also make sense, I think.”quote matched
Raised by ajtowns · 2026-02-04 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether the coinbase nSequence must be constrained to be non-final, or whether it can be left free for use as a future extranonce since only uniqueness is the goal.
“I don't believe it's necessary to set the sequence field to final”quote matched
Raised by Antoine Riard · 2026-01-30 · Mailing list · Addressing remaining points on BIP 54Open the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether to drop the rule that the coinbase nSequence must not be 0xffffffff, since the nLockTime height check alone makes the coinbase final and nSequence could stay free as an extranonce.
“we can dissociate “coinbase finality” from “coinbase uniqueness” and preserve the 32-bit nSequence field as an extranonce.”quote matched
Raised by ariard · 2026-01-30 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfObjectionResearchaddressedpending reviewCheck whether early Bitcoin versions (such as 0.1.5) enforced nLockTime finality during block validation, which affects the argument that nLockTime-based coinbase uniqueness rules out past duplicates.
“at least on branch 0.1.5, `IsFinal()` sounds only to be verified at block generation, not validation”quote matched
Raised by ariard · 2026-01-30 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfOpen questionResearchaddressedpending reviewCheck whether any coinbase transaction mined before nLockTime enforcement in 0.2.6 violates the BIP34 height rule and has an nLockTime above height 1,983,702, which could allow a duplicate coinbase.
“the question is if you have coinbase transaction pre 0.2.6 that would violate the post-BIP34 height-in-the-scriptsig rule and of which the nLocktime value would be posterior to 1,983,702 height”quote matched
Raised by ariard · 2026-01-30 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplain in the rationale how historical BIP34-violating coinbases with a final nSequence (which bypasses nLockTime) interact with the nLockTime uniqueness rule, and why constraining nSequence is needed.
“that's where the BIP54 document and its implementation is silent”quote matched
Raised by Antoine Riard · 2026-01-30 · Mailing list · Addressing remaining points on BIP 54Open the message - bitcoin core implementationTaskTestingaddressedpending reviewAdd a test case covering accurate sigop accounting of CHECKMULTISIG(VERIFY) preceded by OP_1..OP_16 in the scriptSig, since mutating the scriptSig accounting to inaccurate counting passes all tests.
“I've noted that with the following patch, all tests still pass:”quote matched
Raised by Sebastian Falbesoner · 2026-01-22 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewDecide whether the spec should use a general retarget-interval value instead of hardcoding 2016 in the timestamp rules.
“regarding hardcoding 2016”quote matched
Raised by Antoine Poinsot · 2026-01-20 · GitHub · BIP54: Consensus Cleanup test vectorsOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewClarify in the BIP the rationale for requiring the coinbase transaction's nSequence not to be 0xffffffff, which had confused readers.
“Clarify the rationale for constraining the nSequence of coinbase transactions, as this caused some confusions.”quote matched
Raised by Antoine Poinsot · 2026-01-20 · GitHub · BIP54: Consensus Cleanup test vectorsOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewReword the BIP's description of the sigop limit so it does not say 'potentially executed' signature operations, and instead define the static count (1 per CHECKSIG, 1-16 for OP_1..OP_16 CHECKMULTISIG, 20 otherwise, including VERIFY variants).
“Better to call it something like "the number of sigops in the script (one for each `CHECKSIG` opcode, 1-16 for a `OP_1..OP_16 CHECKMULTISIG`, 20 for any other instance of `CHECKMULTISIG`, including the `VERIFY` variants of both)"”quote matched
Raised by ajtowns · 2026-01-19 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether BIP 54 should state the timewarp rules in terms of the difficulty retarget interval rather than hardcoding mainnet's 2016-block figure.
“should BIP54 specify it in terms of the retarget interval instead of hardcoding mainnet's 2016 figure?”quote matched
Raised by ajtowns · 2026-01-19 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewWeigh the objection that requiring the coinbase nLockTime to equal the block height minus 1 removes about 19 bits that pooling protocols other than Stratum v1/v2 could use as an extranonce.
“Saying we should only consider stratum v1/v2 in matters of consensus-design it can be a bit blindsighted imho.”quote matched
Raised by Antoine Riard · 2026-01-13 · Mailing list · Addressing remaining points on BIP 54Open the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewWeigh the concern that the coinbase nLockTime should stay free as a fixed-size extranonce field for ASIC controllers, rather than being committed to the block height.
“Luke's concern of letting the coinbase as a reserved field for now is not without ground”quote matched
Raised by Antoine Riard · 2026-01-13 · Mailing list · Addressing remaining points on BIP 54Open the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify or reconsider invalidating 64-byte transactions, given that contract toolchains such as Lightning would have to rule out that size, for example when burning funds to fees.
“the 64-byte limit size comes with a corner case, when you're burning funds as additional fees to bump the confirmation of a time-sensitive tx.”quote matched
Raised by Antoine Riard · 2026-01-08 · Mailing list · Addressing remaining points on BIP 54Open the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAddress the concern that committing the block height in the coinbase nLockTime removes it as a possible extranonce, and weigh alternatives such as a BIP141 commitment slot or splitting nLockTime into a 24-bit height and an 8-bit nonce.
“An alternative can be to split the u32 nLocktime field in a u24 | u8, with the u8 field being reserved as an extranonce.”quote matched
Raised by Antoine Riard · 2026-01-08 · Mailing list · Addressing remaining points on BIP 54Open the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether to cap the number of BIP54 sigops counted for a CHECKMULTISIG(VERIFY) at 6, since its signature hashes can be cached.
“In a `CHECKMULTISIG(VERIFY)`, put a ceiling on the number of BIP54-sigops accounted for at 6.”quote matched
Raised by Antoine Poinsot · 2026-01-07 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskResearchaddressedpending reviewCompile the historical transactions that would be valid under a 6-sigop CHECKMULTISIG cap but invalid under the current BIP54 sigop rule.
“I'll put together a list of historical transactions that would have been valid according to this adapted rule but not according to today's BIP54.”quote matched
Raised by Antoine Poinsot · 2026-01-07 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionSpec writingaddressedpending reviewExplain in the BIP 54 rationale why enforcing the coinbase timelock (a finality restriction) guarantees coinbase uniqueness, rather than relying on the height commitment alone.
“This is not clear from the BIP54 rational how temporal restraint of the validity of a coinbase transaction ensure its uniqueness.”quote matched
Raised by ariard · 2026-01-06 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExpand the BIP's rationale for the coinbase nSequence/nLockTime rule, explaining why the nSequence restriction is needed so that timelock validation applies to the coinbase transaction.
“while the BIP mentions multiple design possibilities, it’s not very verbose on it.”quote matched
Raised by ariard · 2026-01-06 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplain in the BIP why the coinbase nLockTime must be set to the block height minus 1, and how this interacts with the nSequence requirement and timelock finality rules.
“BIP54 does not really document why `nHeight - 1` is picked up.”quote matched
Raised by ariard · 2025-12-20 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - bitcoin inquisitionTaskEngineeringaddressedpending reviewMove the BIP54 legacy sigops check into CheckTxInputs in the Bitcoin Inquisition implementation, so the check lives in a single place for both mempool and block validation.
“Here is the diff to achieve this. It's clearly more Right, but is bigger and touches more files. What do you think?”quote matched
Raised by Antoine Poinsot · 2025-12-17 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether BIP 54's timestamp rules should be modified so that a future soft fork addressing the nTime overflow remains possible, rather than requiring a hard fork.
“if we can modify BIP54 at little cost so that a soft fork remains in the cards, shouldn't we?”quote matched
Raised by josh · 2025-12-16 · Forum · Modifying BIP54 to Support Future nTime Soft ForkOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJosh Doman objected that BIP 54's timewarp fix rules out a future soft fork for the nTime overflow, and proposed enforcing the timestamp rules on a u64 coinbase timestamp instead; this needed a decision on whether to keep the timewarp fix as specified.
“As written, BIP54 makes that soft fork impossible, leaving a hard fork as the only option to resolve nTime overflow.”quote matched
Raised by Josh Doman · 2025-12-15 · Mailing list · Does GCC preclude a soft fork to handle timestamp overflow?Open the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether to change BIP 54's timewarp fix, for example by committing a 64-bit timestamp in the coinbase, so that it does not rule out a future soft fork fixing the 2106 nTime overflow.
“BIP54 prevents the "timewarp attack" but inadvertently also precludes a future soft fork that could resolve the `nTime` overflow problem”quote matched
Raised by josh · 2025-12-15 · Forum · Modifying BIP54 to Support Future nTime Soft ForkOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether BIP 54's timewarp fix should be kept, made to expire after a certain height, or dropped, given that it rules out a future soft fork for the timestamp overflow that would rely on timewarp-style timestamps.
“Is the possibility of a soft fork worth forgoing the timewarp fix? I'm not sure. A compromise could be to expire the timewarp fix after a certain block height”quote matched
Raised by Josh Doman · 2025-12-14 · Mailing list · Does GCC preclude a soft fork to handle timestamp overflow?Open the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether BIP 54's timewarp fix should be kept, expired after some block height, or dropped, given that it rules out a future soft fork that fixes the u32 timestamp overflow.
“Is the possibility of a soft fork worth forgoing the timewarp fix? I'm not sure. A compromise could be to expire the timewarp fix after a certain block height”quote matched
Raised by Josh Doman · 2025-12-14 · Mailing list · Does GCC preclude a soft fork to handle timestamp overflow?Open the message - BIP 54 itselfTaskSpec writingaddressedpending reviewMake clear that the sigops limit is a static count of signature operations, not a runtime check of executed ones, so toolchain developers (e.g. PSBT) know where and how to verify the limit.
“adding the simple dichotomie statically count versus runtime check is not without worthiness for all the toolchains folks (PSBT, etc)”quote matched
Raised by ariard · 2025-12-11 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfOpen questionEngineeringaddressedpending reviewDecide whether the Bitcoin Core implementation should keep the BIP54 sigops check as a standardness (policy) rule in addition to consensus.
“Do we want to keep the CheckSigopsBIP54 check in standardness too?”quote matched
Raised by Gregory Sanders · 2025-12-09 · GitHub · BIP54 "Consensus Cleanup" implementationOpen the message - BIP 54 itselfTaskTestingaddressedpending reviewConsider adding timewarp test vectors for a difficulty-adjustment block whose previous block's timestamp is 7199, 7200 and 7201 seconds later, to exercise the exact boundary of the two-hour grace period.
“verifying the variation for the triplet where the previous block time is T - 7199, 7200 and 7201 so testing the boundary of `MAX_TIMEWARP`”quote matched
Raised by ariard · 2025-12-01 · GitHub · BIP54: Consensus Cleanup test vectorsOpen the message - BIP 54 itselfTaskTestingaddressedpending reviewMake sure the timestamp test vectors cover both sides of the boundary of the rule that the first block of a difficulty period may be at most 7200 seconds earlier than the previous block.
“Wondering if there is full coverage for the first equality check, given you have > and = to test each for the variations of minus 7200”quote matched
Raised by ariard · 2025-10-30 · GitHub · BIP54: Consensus Cleanup test vectorsOpen the message - BIP 54 itselfTaskTestingaddressedpending reviewInclude, and describe in the test vector README, a test case where a coinbase transaction's nLockTime is set to a block height lower than required.
“Should there then perhaps also be a test case that has a coinbase transaction locked to a block height that is lower than required?”quote matched
Raised by Murch · 2025-10-22 · GitHub · BIP54: Consensus Cleanup test vectorsOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewMake BIP 54 refer explicitly to BIP 141 when defining which inputs (legacy versus segwit) the sigops limit applies to, so the spec is unambiguous.
“I'm still thinking it would be good BIP stylistic to have BIP54 making an explicit referral to BIP141 to define "legacy" inputs by opposition to "segwit" inputs”quote matched
Raised by Antoine Riard · 2025-07-23 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardOpen the message - BIP 54 itselfTaskEngineeringaddressedpending reviewProvide code implementing the legacy sigop limit so its handling of legacy versus Segwit inputs can be checked.
“Thanks by advance if there is code and specification defining more precisly what is understood as a legacy input under this BIP proposal.”quote matched
Raised by Antoine Riard · 2025-07-12 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve the concern that the 2500 signature operation limit caps how many participants can fund multi-party off-chain constructions such as payment pools; the reply was that the limit only counts legacy (pre-Segwit) signature operations.
“In my understanding the new limit of 2500 signatures operation would make a hard-limit for the number of participants entering in such construction, without other tricks that are consuming more block space.”quote matched
Raised by Antoine Riard · 2025-07-03 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardOpen the message - BIP 54 itselfTaskEngineeringaddressedpending reviewProvide a reference implementation for BIP 54 and link it from the BIP document so the signature operation limit can be reviewed in code.
“May I kindly note there is no reference implementation attached in the current BIP54 document [1].”quote matched
Raised by Antoine Riard · 2025-07-03 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardOpen the message - bitcoin core policyTaskEngineeringaddressedpending reviewMake transactions with more than 2500 legacy signature operations non-standard in Bitcoin Core (PR #32521) for the 30.0 release.
“Bitcoin Core PR #32521 implements this change, which i hope to get into the upcoming 30.0 release”quote matched
Raised by Antoine Poinsot · 2025-07-02 · Mailing list · Make pathological transactions with more than 2500 legacy signature operations non-standardOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewDecide whether to split the Consensus Cleanup into separate focused BIPs, one per issue and mitigation, rather than bundling them in one document.
“Better yet, a focused BIP per issue and its mitigation.”quote matched
Raised by jonatack · 2025-04-23 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskEngineeringaddressedpending reviewProvide reference code for the Consensus Cleanup proposal.
“Reference code would be better as well”quote matched
Raised by jonatack · 2025-04-23 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve Luke Dashjr's objection that requiring the coinbase nLockTime to be the block height removes a field that would make a good extranonce, since it is serialized at the very end of the transaction.
“since the nLockTime field is serialized at the very end of a transaction, it makes for a good extranonce”quote matched
Raised by Antoine Poinsot · 2025-04-21 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewDecide whether to split the Consensus Cleanup into one BIP per fix, so that each mitigation can carry its own policy rules, rationale and notes on downstream impact.
“For the single aspect of adding more policy rules in the coming fututre, with their rationales and how it can impact downstream softwares, it’s worthy to split them, in my opinion.”quote matched
Raised by ariard · 2025-04-20 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewDecide whether the four consensus fixes (timewarp, worst-case block validation, 64-byte transactions, duplicate transactions) should be split into separate BIPs instead of one bundled document.
“This doesn’t say what is the BIP editorial policy followed here in matter of distributing multiple consensus changes in different BIPs as we have here 4 proposed fixes gathered in a single document”quote matched
Raised by ariard · 2025-04-18 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewAdd guidance in the BIP that miners must honour the getblocktemplate `mintime` field or use `curtime` unmodified for block timestamps, to stay valid under the timewarp fix.
“they must ensure the `mintime` field of getblocktemplate is honoured, or use `curtime` without modification.”quote matched
Raised by Sjors · 2025-04-18 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewAdd text explaining that miners must upgrade to produce blocks valid under the new rules.
“I think it wouldn’t be unreasonable to mention that miners will have to upgrade to produce valid blocks, even if it may seem obvious.”quote matched
Raised by Murch · 2025-04-16 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve the concern that requiring the coinbase nLockTime to hold the block height removes a field future ASIC designs could use as an extranonce.
“Could you describe (ideally on the ML or Delving thread) the specifics of a future ASIC design where it would matter?”quote matched
Raised by Antoine Poinsot · 2025-04-15 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplain in the compatibility section that block producers must upgrade their software to produce blocks valid under the new rules.
“Block producers will need to upgrade to new software to produce valid blocks per the new rules.”quote matched
Raised by Murch · 2025-04-15 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve Luke Dashjr's concern that requiring the coinbase nLockTime to hold the block height takes away a location that could serve as a cheap extranonce for ASICs or microcontrollers.
“But this particular location, as @darosior says, minimises the need to re-hash a lot of data to roll it. That means it can more practically be done on ASICs or MCUs with nearly no latency.”quote matched
Raised by Luke Dashjr · 2025-04-10 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve whether fixing the coinbase nLockTime to the block height is acceptable, given that nLockTime could otherwise serve as a cheap extranonce for ASIC controllers because it sits at the end of the coinbase transaction.
“it's my understanding that `nLockTime` makes for a good extranonce because it's serialized at the very end of the coinbase transaction.”quote matched
Raised by Antoine Poinsot · 2025-04-07 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve the objection that requiring the coinbase nLockTime to equal the block height minus 1 takes away the best place for an extranonce.
“nLockTime is the most ideal location to put an extranonce, so it seems like a bad idea to burn it for no good reason.”quote matched
Raised by Luke Dashjr · 2025-04-04 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewDocument in the compatibility discussion that requiring coinbase transactions to set nLockTime is not backward-compatible for block producers, who must update their software.
“This doesn’t seem complete. The requirement to set and enforce the locktime is not backward-compatible for block producers.”quote matched
Raised by Murch · 2025-04-04 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplicitly state that the P2SH redeemScript is included in the signature operation count, so the limit is not ambiguous.
“Not mentioning it explicitly would definitely make it ambiguous as to whether it's included in the count.”quote matched
Raised by vostrnad · 2025-04-04 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewMake clear that the new sigops limit counts legacy signature operations without the 4x segwit scaling factor, so readers don't assume legacy sigops are multiplied by 4.
“Unless you come up with completely different terminology, it's logical to assume legacy sigops are multiplied by 4.”quote matched
Raised by Sjors · 2025-04-02 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewState clearly in the BIP that miners must upgrade their mining pool software, not just their node, before activation so that coinbase transactions set nLockTime correctly.
“And it shouldn't come as an implementation detail surprise after this BIP is widely accepted.”quote matched
Raised by Sjors · 2025-04-02 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewState explicitly that the signature operation limit counts only operations in inputs (scriptSig and the spent scriptPubKey), not in the transaction's own output scriptPubKeys such as bare multisig.
“Still, I think stating that the rule only impacts inputs is more clear than making it implicit.”quote matched
Raised by Sjors · 2025-04-02 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplicitly mention the VERIFY counterparts (CHECKSIGVERIFY, CHECKMULTISIGVERIFY) in the signature operations limit specification.
“Good point for the `VERIFY` version of opcodes.”quote matched
Raised by Antoine Poinsot · 2025-04-01 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewReword the signature operation limit section so it does not imply that 2500 is the maximum number of CHECKSIG and CHECKMULTISIG opcodes, and explain how each opcode contributes to the total.
“avoid implying that 2500 is the maximum count of CHECKSIG and CHECKMULTISIG opcodes before explaining how they actually contribute to the total”quote matched
Raised by vostrnad · 2025-03-31 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskResearchaddressedpending reviewCheck whether 64-byte transactions created by accident can always be malleated into a different size, to judge the confiscation risk of invalidating them.
“Even if 64 byte transactions are generated by accident, I believe they can be tweaked after the fact (though that claim could use more scrutiny)”quote matched
Raised by Sjors Provoost · 2025-03-28 · Mailing list · Consensus Cleanup BIP draftOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewChris Stewart objected that the four largely unrelated fixes (timewarp, validation cost, 64-byte transactions, duplicate transactions) should be documented as separate BIPs under the shared Consensus Cleanup branding; the authors kept a single bundled BIP.
“I believe we should document these changes in separate BIPs.”quote matched
Raised by Chris Stewart · 2025-03-27 · Mailing list · Consensus Cleanup BIP draftOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewDecide whether the Consensus Cleanup should be split into multiple separate BIPs, one per fix, rather than kept as a single BIP.
“it would be better to have this split up into multiple BIPs”quote matched
Raised by fjahr · 2025-03-27 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify or reconsider invalidating 64-byte transactions, given the concern that this edge case may integrate poorly with future transaction programmability upgrades.
“I'm also personally strongly against removing 64-byte transactions. It's a wart in how transactions work, and future upgrades (especially around tx programmability) might integrate very poorly with this kind of edge condition.”quote matched
Raised by jeremy · 2025-03-27 · Mailing list · Consensus Cleanup BIP draftOpen the message - BIP 54 itselfObjectionCoordinationaddressedpending reviewConsult miners and ASIC makers on whether the new coinbase nSequence/nLockTime requirements could break hardware or firmware that hardcodes those fields.
“have you bothered to talk to anyone in the mining business how they feel about that? Are you sure no ASIC in the wild don't hardcode a field that never needed to be set before?”quote matched
Raised by jeremy · 2025-03-27 · Mailing list · Consensus Cleanup BIP draftOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether OP_CHECKSIGVERIFY and OP_CHECKMULTISIGVERIFY count toward the new signature-operation limit.
“I assume you also want to include `OP_CHECKSIGVERIFY` and `OP_CHECKMULTISIGVERIFY`, even though they require actually valid signatures to keep going.”quote matched
Raised by Sjors · 2025-03-27 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplain in a footnote why the coinbase transaction is exempt from the signature operations limit (its scriptSig size is constrained so the limit cannot be reached).
“And then explain the coinbase exception:”quote matched
Raised by Sjors · 2025-03-27 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewState explicitly that the new signature-operation limit ignores the witness and applies no 4x scaling for non-segwit scripts, unlike existing sigops accounting.
“Let's also explictly state that, unlike sigops accounting: 1. The witness is ignored 2. There is no 4x adjustment for non-segwit, because of (1)”quote matched
Raised by Sjors · 2025-03-27 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewAdd guidance on what miners must and should change (respecting getblocktemplate mintime, setting coinbase nLockTime, running node software that enforces the new limits through standardness) to avoid producing invalid blocks.
“You should elaborate on the changes miners SHOULD and MUST make. Either in this section or one specifically for miners.”quote matched
Raised by Sjors · 2025-03-27 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewReword the timewarp rule so it is clear that the 7200 seconds are subtracted from the timestamp of block N-1, not from the height N-1.
“Maybe reword this to make it clearer that `minus 7200` is subtracted from the value of `nTime`, and not from `height N-1`”quote matched
Raised by mzumsande · 2025-03-26 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewRewrite the signature operation limit specification so it presents a single accounting method up front instead of first describing a plain CHECKSIG/CHECKMULTISIG count and then changing how CHECKMULTISIG is counted.
“This should probably be rewritten, as it first introduces one accounting method (count the number of `CHECKSIG` and `CHECKMULTISIG` and check if the count is less than or equal to 2500) and only then changes the accounting for `CHECKMULTISIG`.”quote matched
Raised by vostrnad · 2025-03-26 · GitHub · BIP 54: Consensus CleanupOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether to also require the coinbase transaction's nSequence to be non-final so that its nLockTime is enforced, making BIP30 validation never necessary after activation.
“we could also require their `nSequence` not be final. This would make it so the timelock is enforced.”quote matched
Raised by Antoine Poinsot · 2025-03-19 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionResearchaddressedpending reviewDetermine whether forbidding 1-input, 1-output SegWit transactions that pay to 2-byte witness programs (such as P2A) harms any use case, and document the consequence.
“I am not aware of any reason why this would be a problem, but I have not seen it documented anywhere.”quote matched
Raised by Chris_Stewart_5 · 2025-02-26 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionResearchaddressedpending reviewProvide worst-case block validation time figures under the proposed sigops mitigation when the attacker uses only one preparation block, to judge the impact on cheap miner hardware.
“Do you happen to have numbers handy for the worst-case with, for example, one block of prep?”quote matched
Raised by Matt Corallo · 2025-02-26 · Mailing list · Update on the Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionResearchaddressedpending reviewQuantify the worst-case block validation time with the 40x sigops mitigation and with the further 7x rule, to decide whether the additional rule is worth its confiscation surface.
“Can you put numbers to this? How long does it take to validate a full block with this 40x decrease and how long would it take with the further 7x decrease?”quote matched
Raised by Matt Corallo · 2025-02-21 · Mailing list · Update on the Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewDecide whether to split the consensus cleanup into four separate BIPs (timewarp, worst-case validation time, Merkle tree weakness, duplicate transactions), so that fixes could be deployed separately if some lack consensus.
“There is (a) to have 4 distinct BIPs for each fix”quote matched
Raised by Antoine Riard · 2025-02-11 · Mailing list · Update on the Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewClarify whether the worst-case validation time limit applies to spends of legacy outputs created before activation, given the retroactive confiscation concerns raised in 2019.
“it's unclear to me if the limit aims to apply on UTXO spends spending lecacy scripts ex post to the activation”quote matched
Raised by Antoine Riard · 2025-02-11 · Mailing list · Update on the Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether to split the four consensus fixes into separate BIPs that can be activated independently, since each fix may win a different level of consensus, rather than bundling them into one proposal.
“I think it's wiser to spread each fix in its own BIP and patchset of code changes”quote matched
Raised by Antoine Riard · 2025-02-07 · Mailing list · Update on the Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewSpecify precisely how signature operations are counted for the new limit: CHECKMULTISIG counts by an immediately preceding OP_1..OP_16 (otherwise 20), and opcodes in unexecuted branches are counted.
“The condition is whether the script is `OP_1` .. `OP_16` immediately followed by CMS, versus anything else, not strictly the number of keys.”quote matched
Raised by ajtowns · 2025-02-06 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplain in the BIP's Rationale why requiring the coinbase nLockTime to be the block height minus 1 was chosen over the alternatives.
“how the nLockTime of height-1 won out”quote matched
Raised by Murch · 2025-02-06 · Mailing list · Update on the Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplain in the BIP's Rationale why the timewarp grace period was raised from 600 to 7200 seconds.
“share here or in the BIP’s Rationale what convinced you to change the grace period from 600 seconds to 7200 seconds”quote matched
Raised by Murch · 2025-02-06 · Mailing list · Update on the Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewDefine the new per-transaction signature operation limit in raw (unscaled) sigop counts, without the ×4 witness-scale factor that applies to pre-SegWit sigops.
“But if you introduce a new name then maybe also don't bother with that multiplication, since it _only_ applies to pre-SegWit spends.”quote matched
Raised by sjors · 2025-02-06 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewSpecify whether signature operations in a bare previous output script (e.g. P2PK) count towards the 2,500 per-transaction sigop limit.
“am I correct assume the 2,500 input limit will apply to CHECK*SIG operations specified in a bare prevout script?”quote matched
Raised by harding · 2025-02-05 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewSpecify how many signature operations OP_CHECKMULTISIG counts for under the new per-transaction sigop limit (fixed 20 as for bare scripts, or the number of keys as for P2SH).
“In this accounting, how many sigops will `OP_CHECKMULTISIG` (CMS) count for?”quote matched
Raised by harding · 2025-02-05 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionActivationaddressedpending reviewDecide whether each Consensus Cleanup fix should get its own activation deployment (e.g. a separate BIP9 version bit) rather than activating all fixes together.
“I also think we would be better to package each cleanup consensus change in its own activation sequence (i.e BIP9 nversion bit), rather than trying to deploy a whole set of them at once”quote matched
Raised by ariard · 2024-12-29 · Forum · Transitory Soft Forks for Consensus Cleanup ForksOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether the consensus cleanup soft fork should be transitory, expiring after a fixed period (e.g. two years) unless explicitly renewed, rather than permanent.
“Instead of making it permanent, we could adopt an expiration, say two years, unless explicitly renewed.”quote matched
Raised by JeremyRubin · 2024-12-23 · Forum · Transitory Soft Forks for Consensus Cleanup ForksOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewRaise the timewarp fix grace period from 600 seconds to 7200 seconds, so that miners rolling nTime aggressively do not produce invalid blocks.
“And so I'm proposing to bring it back to 7200, but not for the reason testnet4 initially did it.”quote matched
Raised by sjors · 2024-12-17 · Forum · Timewarp attack 600 second grace periodOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewIncrease the timewarp fix grace period from 600 seconds to 2 hours so that nTime rolling combined with inaccurate peer clocks does not risk invalid blocks.
“The 600 second grace period is cutting it too close imo, and we should consider increasing it to 2 hours for any future proposal”quote matched
Raised by sjors · 2024-12-17 · Forum · Timewarp attack 600 second grace periodOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether the timewarp fix should use a rolling earliest-time-past rule applied to every block instead of a constraint only on the first and last blocks of each difficulty period.
“Having a rule that is applied consistently to every block seems somewhat better to me than a rule that only applies to every 2016th block to me.”quote matched
Raised by ajtowns · 2024-11-27 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewEnforce the fix for negative difficulty-period timespans (Murch–Zawy) as a rule on block timestamps rather than as an adjustment inside the difficulty calculation's timespan, to avoid exploits.
“But as a minimum, Murch's limit on timespan better be enforced on the timestamp instead of timespan or there's probably an exploit.”quote matched
Raised by zawy · 2024-11-27 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether the Murch–Zawy timestamp restriction should apply to every block instead of only the last block of a difficulty period, to avoid inconsistent rules that external MTP-dependent software might mishandle.
“Applying Murch's timestamp limit to every block appears better than doing it only on the 2016th block”quote matched
Raised by zawy · 2024-11-27 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewAdd a fix for the Murch-Zawy attack by requiring the last block of a retarget period to have a timestamp no lower than the first block of that period.
“I think the Consensus Cleanup should include a fix for the [Murch-Zawy attack]”quote matched
Raised by Antoine Poinsot · 2024-11-26 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide how future coinbase transactions must differ from early BIP34-violating coinbases: nLockTime set to height minus one, nLockTime set to height with max nSequence, a non-1 nVersion, or a mandatory witness commitment.
“Is any of these preferable? Why? Would any of these make miners' life really hard? For what reason? Do you have an alternative suggestion?”quote matched
Raised by Antoine Poinsot · 2024-11-22 · Mailing list · Prevent future duplicate coinbase transactions as part of Consensus CleanupOpen the message - BIP 54 itselfTaskCoordinationaddressedpending reviewGather input from mining industry engineers and stakeholders on which coinbase uniqueness fix would be easiest for them to adopt.
“I am sending this email to reach out to engineers and stakeholders of the mining industry, to learn if some ways of fixing this would make things easier for them than others.”quote matched
Raised by Antoine Poinsot · 2024-11-22 · Mailing list · Prevent future duplicate coinbase transactions as part of Consensus CleanupOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether the coinbase nLockTime should be set to the parent block's height rather than the block's own height.
“Why wouldn't you have `nLockTime` be the height of the parent block (mod 500M) instead?”quote matched
Raised by ajtowns · 2024-11-09 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide how coinbase transactions are made unique: set nLockTime to the block height (with or without an off-by-one and an nSequence restriction), or instead require a coinbase nVersion other than 1.
“we might favor the small confusion over restricting the coinbase's `nSequence`.”quote matched
Raised by Antoine Poinsot · 2024-11-09 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve the conflict where setting the coinbase nLockTime to the block height would fail the IsFinalTx() check unless the coinbase nSequence is forced to SEQUENCE_FINAL.
“this would require mandating the coinbase input to have its `nSequence` field be `SEQUENCE_FINAL`, as otherwise the coinbase transaction would fail the `IsFinalTx()` check”quote matched
Raised by Antoine Poinsot · 2024-11-08 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewWeigh whether invalidating 64-byte transactions is worth a soft fork and mandatory size checks, given that SPV clients can instead verify the coinbase Merkle path to learn tree depth at modest bandwidth cost.
“The tradeoff in the full node is mandatory checking of the stripped size of all transactions (and soft fork) vs. doing nothing (possibly "compressing" null points for SPV clients).”quote matched
Raised by evoskuil · 2024-09-04 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether Consensus Cleanup should make 64-byte transactions invalid, weighing smaller and safer Merkle inclusion proofs against adding a non-obvious validity rule.
“To evaluate whether to include it in a future Consensus Cleanup proposal, i'd like to weigh the remaining pros and cons of making 64 bytes transactions invalid through a soft fork.”quote matched
Raised by Antoine Poinsot · 2024-09-03 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether to fix the Merkle tree weakness by committing to tree depth in the block header version field rather than by other means such as invalidating 64-byte transactions.
“@evoskuil mentioned an alternative potential soft fork: a commitment to tree depth, which could be done for any depth possible with the current consensus rules[1] using only 4 bits.”quote matched
Raised by harding · 2024-09-03 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewDrop the node-side justifications for invalidating 64-byte transactions (earlier malleation detection, caching invalid block hashes, unique block identification) and justify the rule on its SPV benefits instead.
“My point is to exclude the invalid arguments from consideration.”quote matched
Raised by evoskuil · 2024-08-27 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify or reconsider invalidating 64-byte transactions, given the objection that valid blocks do not have malleable hashes and that the rule adds unnecessary validation checks.
“The proposed invalidation of 64 byte transactions does not in any way represent a fix to a vulnerability. Valid blocks do not have malleable block hashes.”quote matched
Raised by evoskuil · 2024-08-26 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify or drop the rule invalidating 64-byte transactions, which the author argues is an unnecessary consensus change whose only real benefit is a minor SPV bandwidth saving.
“fixing a perceived consensus-related security issue, which has been shown to be a suboptimal and unnecessary fix. It is not a trivial thing to add a new consensus rule”quote matched
Raised by evoskuil · 2024-08-26 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify invalidating 64-byte transactions against the objection that a simpler, equally effective fix exists that needs no new consensus rule.
“As that discussion presently stands I see no justification for the proposed invalidation of 64 byte transactions. As discussed, there is a much simpler, more efficient, and equally effective resolution that requires no new consensus rule.”quote matched
Raised by evoskuil · 2024-08-25 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewDocument what miners and block template software must do with timestamps to avoid producing blocks that break the new timewarp rule.
“I don't know if it should be further documented or implemented (e.g addendum to bip23 ?)”quote matched
Raised by Antoine Riard · 2024-08-25 · Mailing list · Timewarp fix, Mining software and ClocksOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewDecide to enforce the coinbase nLockTime rule as soon as the soft fork activates rather than waiting until block 1,983,702.
“This does imply that we should enforce this rule as soon as the soft fork activates and not wait for block 1,983,702.”quote matched
Raised by sjors · 2024-08-20 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewInclude a fix for the Murch-Zawy alternating timestamp attack (requiring non-negative difficulty period duration) in the Consensus Cleanup.
“The fix could be included as part of the consensus cleanup revival.”quote matched
Raised by Antoine Poinsot · 2024-08-11 · Forum · Zawy’s Alternating Timestamp AttackOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewAdd a consensus rule requiring the last block of a difficulty period to have a timestamp not lower than the first block of the same period, to mitigate the Murch–Zawy alternating timestamp attack.
“It may be useful to softfork an additional requirement on timestamps, that requires that the last block in a difficulty period N has a higher timestamp than the first block in the same difficulty period N”quote matched
Raised by Murch · 2024-08-09 · Forum · Zawy’s Alternating Timestamp AttackOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewRequire the coinbase transaction's nLockTime to commit to the block height so the height can be extracted without parsing Script.
“I'd still very much love to see the nLockTime set to the block height, it makes pulling the block height out of the coinbase transaction simpler”quote matched
Raised by Matt Corallo · 2024-08-07 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewEnforce the coinbase uniqueness rule within a few years of activation instead of deferring its effect until block 1,983,702, so that implementers actually adopt it.
“Having a new rule not have any effect until decades in the future seems like a good way to have people not implement it (at all, let alone correctly)”quote matched
Raised by ajtowns · 2024-07-23 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid fixing the coinbase witness value to the block height for the duplicate-coinbase fix, since that would block future commitments there; commit to the height elsewhere instead.
“If we fix the coinbase witness value to 00000000height, then you cannot start shoving further commitments in it?”quote matched
Raised by Matt Corallo · 2024-07-23 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewUse the coinbase nLockTime field instead of a required witness commitment to make new coinbases differ from historical ones, because requiring the commitment would undermine its intended use as a flexible future commitment root.
“This makes the witness commitment useless for its intended purpose - a flexible (future) merkle root committing to additional commitments. The nLockTime field is a *much* neater way of doing this”quote matched
Raised by Matt Corallo · 2024-07-22 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskActivationaddressedpending reviewDecide whether the coinbase nLockTime requirement should take effect after a delay (for example two years after activation) to give miners time to update their software.
“We could even set this part of the fork to activate on some substantial delay - after the GCCR fork activates, the nLockTime requirement only turns on two years later or whatever.”quote matched
Raised by Matt Corallo · 2024-07-22 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAddress Eric Voskuil's objection that invalidating 64-byte transactions adds validation cost and complexity without making block hashes unique identifiers, since checking the coinbase null point already detects 64-byte Merkle malleation cheaply.
“(4) the additional consensus rule will increase validation cost and code complexity.”quote matched
Raised by Eric Voskuil · 2024-07-20 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewEric Voskuil objected that invalidating 64-byte transactions is redundant for rejecting malleated block messages, because they can be detected cheaply by checking for the coinbase null point, and that the rule only slows validation; the spec keeps the rule and justifies it by its benefit to Merkle proof users.
“An invalid 64 byte tx consensus rule would definitely not make it harder to exploit block message invalidity. In fact it would just slow down validation by adding a redundant rule.”quote matched
Raised by Eric Voskuil · 2024-07-03 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionSpec writingaddressedpending reviewEric Voskuil disputes the claim that invalidating 64-byte transactions helps nodes cache block invalidity earlier. The motivation should not rely on that benefit.
“64-bytes transactions invalid could help caching block failures at an earlier stage is incorrect.”quote matched
Raised by Eric Voskuil · 2024-07-02 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionResearchaddressedpending reviewBefore relying on 64-byte transaction invalidity for faster block malleability checks, develop a full fast block-malleability validation algorithm and benchmark it in Bitcoin Core, since the benefit is implementation dependent.
“it would be more constructive to come out with a full-fleshout "fast block malleability validation" algorithm in the sense of SipHash (-- and see to have this implemented and benchmarked in core) before to consider more the 64 byte transaction invalidity at the consensus level.”quote matched
Raised by Antoine Riard · 2024-06-29 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewEric Voskuil challenged the rationale that invalidating 64-byte transactions lets nodes cache invalid block hashes to avoid re-downloading and re-validating, arguing that malleated blocks are cheaper to discard early and that caching by block hash is not optimal; the rationale needed to be dropped or justified.
“So why the block hash cache requirement? It cannot be applied to many scenarios, and cannot be optimal in this one.”quote matched
Raised by Eric Voskuil · 2024-06-29 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAnswer Eric Voskuil's objection that invalidating all 64-byte transactions does not allow earlier caching of block failures, only adds redundant checks, and introduces a discontinuity in valid transaction sizes.
“A rule to prohibit *all* 64 byte txs is counterproductive as it only adds additional checks on typically thousands of txs per block, serving no purpose.”quote matched
Raised by Eric Voskuil · 2024-06-28 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAddress the objection that invalidating 64-byte transactions does not make block hashes unmalleable, because duplicate-transaction-hash malleation remains, so this cannot be claimed as a benefit.
“This does not produce unmalleable block hashes. Duplicate tx hash malleation remains in either case, to the same effect.”quote matched
Raised by Eric Voskuil · 2024-06-24 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify invalidating 64-byte transactions against the objection that it adds a permanent consensus seam in valid transaction sizes, may cause more implementation bugs than it prevents, and mainly saves a little SPV proof bandwidth.
“It seems to me that introducing an arbitrary tx size validity may create more potential implementation bugs than it resolves.”quote matched
Raised by Eric Voskuil · 2024-06-24 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify invalidating 64-byte transactions when an existing context-free check, such as requiring the coinbase's first input to be null, might already be enough to detect malleated Merkle trees.
“My question is why is that not sufficient - especially given that a similar (context free) check is required for duplicated tx malleability?”quote matched
Raised by Eric Voskuil · 2024-06-18 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify invalidating 64-byte transactions when checking that the coinbase input is a null point during deserialization may already let implementations safely mark malleated blocks as permanently invalid.
“why is not a deserialization phase check for the coinbase input as a null point not sufficient mitigation (computational infeasibility) for any implementation that desires to perform permanent invalidity marking?”quote matched
Raised by Eric Voskuil · 2024-06-17 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide which mechanism (e.g. coinbase nLockTime or another one) should make coinbase txids unique after block 1,983,702, so that duplicate transactions are avoided.
“I think we should just make coinbase txids after block 1'983'702 unique (either through `nLockTime` or another mechanism).”quote matched
Raised by Antoine Poinsot · 2024-05-17 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewMark F objected that fixing the timewarp bug would permanently rule out forward-blocks-style soft forks for flexible block size and subsidy smoothing, so the fix needed to be justified against giving up that capability.
“fixing the timewarp bug will _permanently_ cutoff the bitcoin community from ever having the ability to scale on-chain in a backwards-compatible way, now or decades or centuries into the future.”quote matched
Raised by Mark F · 2024-04-30 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether the timewarp fix is worth closing off forward blocks, which Mark F calls the only known way to raise effective block size while staying fully compatible with un-upgraded nodes.
“with the tradeoff of removing the only known mechanism for upgrading the bitcoin protocol to larger effective block sizes while staying 100% compatible with un-upgraded nodes”quote matched
Raised by Mark F · 2024-04-18 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewChoose a coinbase uniqueness mechanism other than requiring a witness commitment, since that cannot be enforced on past blocks.
“So requiring a witness commitment does not seem appropriate, because it can not be enforced on past blocks.”quote matched
Raised by recent798 · 2024-04-05 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewJustify a consensus soft fork for coinbase uniqueness, given that a rule which cannot apply from genesis still leaves BIP30 fallback code needed for deep reorgs.
“If fallback code is needed anyway, then it seems better to do it without a consensus deployment.”quote matched
Raised by recent798 · 2024-04-05 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether the cleanup soft fork should cap scriptPubKey size (e.g. at 105 bytes) to move validation cost to the spending block.
“I think limiting scriptPubKeys to 105 bytes would cover all the existing standard cases”quote matched
Raised by ajtowns · 2024-04-05 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether to add a rule retroactively preventing the two historical candidate blocks (209,921 and 490,897) from ever having a duplicate coinbase.
“we should consider adding a rule to retroactively prevent the two historical candidates (209,921 and 490,897) from having a duplicate coinbase at all.”quote matched
Raised by Antoine Poinsot · 2024-04-05 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide how to make future coinbase transactions unique from block 1,983,702 onward, such as by requiring a witness commitment in non-empty blocks or by another field.
“blocks (with more than one transaction) at or above 1,983,702 MUST have a witness commitment”quote matched
Raised by sjors · 2024-04-05 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewDecide how to count the sigops of spent bare-script prevouts toward the validation-cost limit, since they are currently only counted when the output is created.
“With regard to validation costs i think we should instead make sigops of prevouts with bare scripts count toward the budget of the block it's spent in.”quote matched
Raised by Antoine Poinsot · 2024-04-05 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewResolve whether requiring a witness commitment in every coinbase transaction breaks empty blocks that contain only the coinbase.
“Wouldn't this not work for the occasional empty block?”quote matched
Raised by benthecarman · 2024-03-28 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskResearchaddressedpending reviewCheck whether requiring the coinbase nLockTime to be set to the block height breaks anything for Stratum V2 or mining job distribution.
“To be checked if it doesn't break anything w.rt Stratum V2 / mining job distribution.”quote matched
Raised by Antoine Riard · 2024-03-27 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid a consensus minimum transaction size that would require all lightweight clients to update their acceptance logic; the spec instead invalidates only transactions of exactly 64 bytes.
“I think any consensus boundaries on the minimal transaction size would need to be done carefully and have all lightweight clients update their own transaction acceptance logic”quote matched
Raised by Antoine Riard · 2024-03-26 · Mailing list · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewDecide whether the 2012 SIGHASH_SINGLE bug should also be fixed as part of the Consensus Cleanup soft fork.
“I think SIGHASH_SINGLE bug reported in 2012 should also be fixed with other bugs”quote matched
Raised by 1440000bytes · 2024-03-24 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAddress confiscation concerns about the legacy Script restrictions that reduce worst-case validation time, for example by applying them only to outputs created after a given height.
“Some confiscation concerns were raised about the proposed mitigations. I believe those concerns are reasonable and could be addressed by only applying the new rules when checking the script for an output created after a certain block height.”quote matched
Raised by Antoine Poinsot · 2024-03-24 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewRestrict the transaction size rule to invalidating exactly 64-byte transactions instead of all transactions of 64 bytes or less, since smaller ones are not harmful.
“However the BIP proposes to also make less-than-64-bytes transactions invalid. Although they are of no (or little) use, such transactions are not harmful.”quote matched
Raised by Antoine Poinsot · 2024-03-24 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewDecide whether to add a limit on the size of legacy transactions as an extra safety margin on worst-case block validation time.
“I believe we could further introduce a limitation on the size of legacy transactions to be on the safe side.”quote matched
Raised by Antoine Poinsot · 2024-03-24 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewAdd a fix making coinbase transactions unique so that BIP30 validation is not needed after block 1,983,702, choosing between requiring the coinbase nLockTime to commit to the height and making the witness commitment mandatory.
“A neat fix would be to simply requires the `nLockTime` field of the coinbase transaction to be set to the height of the block being created. However there is a more roundabout fix which is potentially easier for miners to deploy: make the witness commitment mandatory”quote matched
Raised by Antoine Poinsot · 2024-03-24 · Forum · Great Consensus Cleanup RevivalOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid fixing the OP_CODESEPARATOR validation cost by disabling it outright, since that risks confiscating user funds; the problem is not severe enough to justify the risk.
“Codeseperator and its related costs are not an especially severe problem.”quote matched
Raised by Gregory Maxwell · 2019-03-13 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid invalidating undefined sighash type bytes by consensus and instead mitigate validation cost with a non-consensus alternative such as caching the sha256 midstate.
“I still think the alternative proposal of caching the sha256 midstate is the better choice. We should strive to avoid changing the consensus rules when we have reasonable alternatives to achieve our goals.”quote matched
Raised by Russell O'Connor · 2019-03-13 · Mailing list · Sighash Type Byte; Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid disabling OP_CODESEPARATOR, since it is a usable opcode and simplifying Bitcoin's theoretical operation does not justify removing it; mitigate the validation-cost vulnerability another way.
“Simplifying the theoretical operation of Bitcoin is not a sufficient reason to make changes to the consensus rules, and it is most certainly not a sufficient reason to remove usable op codes.”quote matched
Raised by Russell O'Connor · 2019-03-13 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfTaskProtocol designaddressedpending reviewBound worst-case validation cost with a counting limit (such as alternating OP_CODESEPARATOR and CHECKSIG pairs) instead of disabling OP_CODESEPARATOR.
“it is really alternating uses of OP_CODESEPARATOR and CheckSig operations that is problematic, so it is probably worth attempting to count these pairs rather than just OP_CODESEPARATORS.”quote matched
Raised by Russell O'Connor · 2019-03-13 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid disabling OP_CODESEPARATOR in P2SH and mitigate its validation-cost vulnerability another way, such as raising its weight, so usable opcodes are not removed.
“it would be much better than eliminating OP_CODESEPARATOR within P2SH entirely.”quote matched
Raised by Russell O'Connor · 2019-03-11 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid disabling OP_CODESEPARATOR by consensus, because users with existing funds locked in such scripts could have them confiscated even though the opcode is already non-standard.
“While non-standardness is a helpful in dissuading users from committing new funds to OP_CODESEPARATOR scripts, it doesn't do anything to help users that may have been caught unaware by the non-standardness change.”quote matched
Raised by Russell O'Connor · 2019-03-11 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewConsider deprecating OP_CODESEPARATOR gradually, for example by raising its weight cost and announcing future removal, instead of disabling it outright.
“What about putting it in a deprecated state for some time. Adjust the transaction weight so using the op code is more expensive (10x, 20x?) and get the word out that it will be removed in the future.”quote matched
Raised by Dustin Dettmer · 2019-03-10 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether outputs using OP_CODESEPARATOR (and similar features) created before activation should stay spendable, for example by keeping them standard with weight penalties, rather than being disabled.
“make UTXOs containing OP_CODESEAPRATOR (etc.) and mined prior to the soft fork activation standard, with weight penalties as appropriate”quote matched
Raised by Moral Agent · 2019-03-10 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAddress worst-case validation cost from OP_CODESEPARATOR without disabling it, for example by counting its occurrences alongside signature operations and raising transaction weight accordingly, rather than invalidating its use.
“I think counting the number of occurrences of OP_CODESEPARATOR (perhaps at the same time we count OP_CHECKSIG operations?) is a reasonable compromise”quote matched
Raised by Russell O'Connor · 2019-03-09 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid disabling OP_CODESEPARATOR outright, which could confiscate funds in unknown P2SH commitments; mitigate validation cost in a narrower way, such as raising the opcode's cost, so benign uses stay valid.
“Do you not recognize the material difference between a soft-fork that doubles the cost of a transaction like Alice and Bob's versus making their transaction entirely illegal?”quote matched
Raised by Russell O'Connor · 2019-03-09 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid invalidating undefined sighash type bytes, since doing so could confiscate funds whose transactions are only non-standard and fixes no existential threat.
“could hypothetically destroy other people money, it crosses a line I thought we were never supposed to cross.”quote matched
Raised by Russell O'Connor · 2019-03-08 · Mailing list · Sighash Type Byte; Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid disabling OP_CODESEPARATOR, which could destroy funds locked in hidden P2SH scripts; mitigate its validation cost another way, for example by pricing it in weight.
“I am not suggesting we don't fix a vulnerability in Bitcoin. I am suggesting we find another way. One that limits the of risk destroying other people's money.”quote matched
Raised by Russell O'Connor · 2019-03-08 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid invalidating signatures with non-standard sighash type bytes, since unbroadcast presigned transactions may depend on them; caching the sighash midstate was suggested instead.
“I don't think that one's hunch that there isn't much risk in disabling these sighashes is good enough to put people funds at risk”quote matched
Raised by Russell O'Connor · 2019-03-07 · Mailing list · Sighash Type Byte; Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfObjectionProtocol designaddressedpending reviewAvoid disabling OP_CODESEPARATOR in legacy scripts, since unseen P2SH users could lose funds, and use an alternative such as pricing or limiting its execution to mitigate validation cost.
“Activating a soft-fork as describe above means these sorts of funds would be permanently lost. It is not acceptable to risk people's money like this.”quote matched
Raised by Russell O'Connor · 2019-03-07 · Mailing list · OP_CODESEPARATOR Re: BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewAdd a Backward Compatibility section to the proposal.
“Needs a Backward Compatibility section”quote matched
Raised by Luke Dashjr · 2019-03-07 · Mailing list · BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfTaskSpec writingaddressedpending reviewExplain in the rationale why the transaction size rule excludes witness data.
“Rationale should include the reason(s) why the size doesn't count the witness here.”quote matched
Raised by Luke Dashjr · 2019-03-07 · Mailing list · BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether the timewarp fix should let the difficulty-adjustment block's timestamp go back 600 seconds or 7200 seconds relative to the prior block.
“Alternatively, some have proposed allowing the time to go backwards 7200 seconds, which introduces some small level of inflation in the case of a miner attack”quote matched
Raised by Matt Corallo · 2019-03-06 · Mailing list · BIP Proposal: The Great Consensus CleanupOpen the message - BIP 54 itselfOpen questionProtocol designaddressedpending reviewDecide whether to make non-standard sighash types invalid, or instead get the same caching benefit by caching the sighash midstate before the last byte.
“The 4th change (making non-standard signature hash types invalid) may be worth discussing.”quote matched
Raised by Matt Corallo · 2019-03-06 · Mailing list · BIP Proposal: The Great Consensus CleanupOpen the message
Positions
How it was argued out · 475 claims by fix, as raised
A dot is a statement, a square an objection, a diamond an open question, a bar a task. A ring is against or conditional; orange is still open. No tallies, by design.
Clarify the 64-byte transaction rule by explicitly referencing BIP 144 so it is unambiguous whether the witness marker and flag bytes count toward the witness-stripped serialized size.
“"Transactions whose witness-stripped serialized size is exactly 64 bytes are invalid" would win to explicitly reference BIP 144.”GitHub · quote matchedOpen the message
polespinasa approved the Bitcoin Core pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, leaving only minor nits.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”GitHub · quote matchedOpen the message
Add a test assertion in the Bitcoin Core BIP 54 implementation that a sigops-limit violation returns a TX_CONSENSUS validation result, now that the check is consensus-critical.
“maybe add `BOOST_CHECK(state.GetResult() == TxValidationResult::TX_CONSENSUS);` ?”GitHub · quote matchedOpen the message
Review and verify the proposed correction to footnote 4, which would change the expected block interval reduction under attack with a 2-hour grace period from ~2.2 to ~3.3 seconds.
“It is a one-number change in footnote 4, ~2.2 to ~3.3 seconds, and the working is in the description.”GitHub · quote matchedOpen the message
Investigate why ContextualCheckBlock can be reached with a null pindexPrev during ImportBlocks (seen in the kernel test), and make sure the BIP 54 checks handle that case safely.
“I seem to get an error around `test/kernel/test_kernel.cpp(935)` (so `chainman->ImportBlocks`) if I add a `pindexPrev != nullptr` assert at the top of `ContextualCheckBlock`; haven't looked in any further detail.”GitHub · quote matchedOpen the message
ismaelsadeeq ACKed the pull request implementing BIP 54 consensus rules without mainnet activation, having cross-checked the rules against the specification and found they mirror it correctly.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”GitHub · quote matchedOpen the message
Sebastian Falbesoner approved the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, acknowledging a specific commit.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”GitHub · quote matchedOpen the message
In the Bitcoin Core BIP 54 tests, disable the deployment with a NEVER_ACTIVE start time (-vbparams=consensuscleanup:-2:0) instead of 0:0, so it cannot lock in and activate when the node mines enough signalling blocks itself.
“I think for disabling BIP 54, setting the start time to -2 ([NEVER_ACTIVE](https://github.com/bitcoin/bitcoin/blob/63a3c03235b3263cda1ded2459188106c838438d/src/consensus/params.h#L82)), e.g. `-vbparams=consensuscleanup:-2:0`, would be more robust here.”GitHub · quote matchedOpen the message
fanquake approved the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, at a specific commit.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”GitHub · quote matchedOpen the message
Test whether a relayed valid block can be mutated by changing the coinbase nSequence so that it is wrongly treated as invalid, given that CheckBlock() runs before ContextualCheckBlock() in some code paths such as AcceptBlock().
“I have not test it but lacking to do so, it sounds you can mutate a valid coinbase to alter its nSequence field and provoke the invalidity of the whole block.”GitHub · quote matchedOpen the message
Decide whether the stateless coinbase nSequence check should be performed in CheckTransaction() or CheckBlock() so that badly crafted coinbases are rejected early.
“E.g I wonder if the check should be added in `CheckTransaction()` and be used in the `PreChecks()` code path”GitHub · quote matchedOpen the message
Check whether the BIP152 compact block reception code validates the prefilled coinbase against the new rule before committing resources after CMPCTBLOCK.
“This is unsure if the compact block validation code already sanitize on the reception of a coinbase (to avoid fulfilling resources after the `CMPCTBLOCK`)”GitHub · quote matchedOpen the message
Review the Bitcoin Core BIP 54 implementation for bad interactions with the disconnectpool during reorgs caused by the new coinbase rules or the sigops limit on spends of old inputs.
“re-check if there is no bad interactions with the `disconnectpool` due to the new rules applying on the coinbase or the max sigops for old inputs spends”GitHub · quote matchedOpen the message
Antoine Poinsot argues that preventing the forward blocks exploit is an intended goal of the Consensus Cleanup timewarp fix, not a side effect. He sees it as a benefit that any lifting of block space limits would then need users to opt into a consensus change rather than being forced on them through an exploit.
“i do see as a benefit that it makes it necessary to convince Bitcoin users to opt into a consensus change that lifts block space constraints, instead of being able to force it onto them through an exploit.”GitHub · quote matchedOpen the message
optout21 reviewed the whole Bitcoin Core changeset implementing BIP 54 (Consensus Cleanup) without mainnet activation and approved it, finding only nits.
“I consider the changes correct and acceptable in the current form already (in spite the minor findings).”GitHub · quote matchedOpen the message
Sebastian Falbesoner approved the consensus changes in the Bitcoin Core pull request implementing BIP 54 without mainnet activation, while noting he has yet to review the tests closely.
“ACK on the actual consensus changes, planning to look closer to the tests within the next days”GitHub · quote matchedOpen the message
Update the BIP 54 test vectors once the Bitcoin Core implementation PR, with its new fixes and tests, is merged.
“I plan to do another round of updates of the BIP test vectors (similar to https://github.com/bitcoin/bips/pull/2122) after this PR is merged.”GitHub · quote matchedOpen the message
Add release notes to the Bitcoin Core BIP 54 implementation stating which chains enforce BIP 54 (regtest), the new and changed error cases on those chains, and the changed getblocktemplate requirement.
“I think a release not would make sense, mentioning:”GitHub · quote matchedOpen the message
Update the BIP 54 sigops and txsize test vector files in the BIPs repository to match the vectors generated by the Bitcoin Core implementation, which now differ.
“The generated .json test vector files (`bip54_{sigops,txsize}.json.gen`) both differ from the ones currently [included in the BIPs repo]”GitHub · quote matchedOpen the message
ViniciusCestarii ACKed the Bitcoin Core pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, at commit 58b418f, after confirming the added tests kill the two mutants he had tested against.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a Can confirm the 2 mutants were killed.”GitHub · quote matchedOpen the message
Review and test the libbitcoin implementation of BIP 54 against the Bitcoin Core implementation to check for any logical discrepancies.
“On my todo to review / test it, and with bitcoin core code too under the eyes, to check if there is any logical discrepancy”Forum · quote matchedOpen the message
nervana21 tested and approved the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, at a specific commit.
“tACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”GitHub · quote matchedOpen the message
Gregory Sanders re-approved the Bitcoin Core pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, after test and comment fixes and noting that activation-boundary mutants are now killed.
“reACK https://github.com/bitcoin/bitcoin/pull/35793/commits/58b418f85582b559ad9ac718e42251e5bc5aab3a”GitHub · quote matchedOpen the message
Update the BIP 54 test vectors to fix errors found in the pre-generated tests, including an off-by-one in the timestamps JSON.
“I'll update the test vectors in the BIP in time, but i want to check for more similar human slop in the pre-generated tests first (my bot already detected an off-by-one in the timestamps JSON).”GitHub · quote matchedOpen the message
nervana21 reviewed the code implementing BIP 54 (Consensus Cleanup) without mainnet activation and said it looks good, noting it needs a rebase and offering only non-blocking suggestions.
“I've reviewed the code and it lgtm.”GitHub · quote matchedOpen the message
Add a short footnote to BIP 54 noting that its timewarp fix rules out the "forward blocks" scaling proposal, linking to the original paper and to the discussion of it.
“in my view it's better to add a succinct note mentioning the impact BIP54 has on the "forward block" idea”GitHub · quote matchedOpen the message
Add a footnote to BIP 54 acknowledging that its timewarp mitigation rules out the "forward blocks" scaling proposal, briefly introducing and linking that proposal for historical context.
“I'm thinking it's good to add a footnote about the technical outlaw of this idea”GitHub · quote matchedOpen the message
Correct footnote 4 so the expected block interval reduction under a timewarp attack with a two-hour grace period reads ~3.3 seconds instead of ~2.2 seconds, matching the cited simulation and the closed form.
“This changes ~2.2 to ~3.3. The rationale is unaffected: the two-hour grace still only trivially worsens the block rate under attack.”GitHub · quote matchedOpen the message
Antoine Riard supports moving BIP54 forward, including its time-warp fix. He argues that the objection that fixing time-warp would rule out a future "forward blocks" scheme does not hold technically, and that the forward block idea is unsound anyway.
“in light of the trade-off, it is reasonable to diminish the time-warp vulnerability surface, with a proposed mitigation”Mailing list · quote matchedOpen the message
Add a footnote to BIP 54 explaining why the "forward blocks" idea is not secure enough for Bitcoin, and why narrowing the timewarp attack surface is a reasonable trade-off despite the objection that the fix rules out forward blocks.
“I'll go to propose to add a short footnote on the BIP54 document, explaining why the "forward block" idea is not reasonable secure enough for the bitcoin network”Mailing list · quote matchedOpen the message
Fix the timewarp test's timestamp for period 2 to use start_time + 2 * 4 * interval_expected_sec, so difficulty falls D -> D/4 -> D/16 as intended instead of returning to D.
“nit: this should be `start_time + 2 * 4 * interval_expected_sec`. As is, period 2's elapsed time is 0, so difficulty goes D -> D/4 -> D -> 4D instead of D -> D/4 -> D/16 -> D/4.”GitHub · quote matchedOpen the message
Address the regtest getblocktemplate break in the Bitcoin Core BIP 54 implementation, where clients must now list "consensuscleanup" in rules: either document it in release notes or make the rule optional (gbt_optional_rule = true).
“This is a behavior change that warrants mentioning in release notes. Making the rule optional (`gbt_optional_rule = true`) is another option for discussion.”GitHub · quote matchedOpen the message
Fix the getblocktemplate breakage on regtest introduced by the 64-byte transaction changes in the Bitcoin Core BIP 54 implementation.
“notably about `getblocktemplate` breakage (on regtest)”GitHub · quote matchedOpen the message
Add a unit test checking that the BIP 54 64-byte transaction rule is not enforced on mainnet at current heights (non-active chain).
“The 64-byte rule is tested on BIP54-active chain (RegTest) only, not on non-active chain. I recommend adding a test on mainnet, to verify non-activation on mainnet (at current heights).”GitHub · quote matchedOpen the message
Document in the Bitcoin Core BIP 54 implementation (code comment, commit message, PR description and possibly release notes) that 64-byte transactions are now rejected from the mempool with a consensus error even where BIP 54 is not active, unlike block validation.
“Nonetheless, I think it would make sense to explicitly mention this inconsistency in:”GitHub · quote matchedOpen the message
Move the BIP 54 64-byte transaction invalidity check before the IsStandardTx call in the Bitcoin Core implementation, so that transactions failing both checks are reported as invalid rather than non-standard.
“I propose moving the 64-byte invalid check before the `IsStandardTx` call before.”GitHub · quote matchedOpen the message
Make the rejection reason for 64-byte transactions consistent between mempool and block acceptance on chains where BIP 54 is not active, in the Bitcoin Core implementation.
“the inconsistency in mempool vs. block acceptance rejection reason in non-BIP54-active chains”GitHub · quote matchedOpen the message
Add tests to the Bitcoin Core BIP 54 implementation that check the sigops limit, timewarp rule and coinbase locktime rule start applying at exactly the activation block, so the three surviving mutants that shift enforcement by one block are caught.
“I ran some mutation testing and found 3 live mutants besides https://github.com/bitcoin/bitcoin/pull/35793#discussion_r4338365979. These 3 move BIP54 enforcement by one block at activation.”GitHub · quote matchedOpen the message
Giovanni Fametrano tested the Bitcoin Core pull request implementing BIP 54 without mainnet activation, cross-checking its sigop counting against his btclib library and other vectors against his own checker, and found them in agreement with passing tests.
“tACK 3f0f142b1d0d08a18152d6b100e12d1abf09d58e”GitHub · quote matchedOpen the message
Add a regtest check to feature_bip54.py that a 2501-sigop transaction is rejected by testmempoolaccept when the deployment is only started, so the reported mutant is caught.
“Under the mutant it is accepted, while `feature_bip54.py`, `mempool_sigoplimit.py` and `mempool_accept.py` still pass. That check could go in `feature_bip54.py`.”GitHub · quote matchedOpen the message
Gregory Sanders ACKed a revision of the Bitcoin Core pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, noting only minor changes since his previous review.
“ACK https://github.com/bitcoin/bitcoin/pull/35793/commits/3f0f142b1d0d08a18152d6b100e12d1abf09d58e”GitHub · quote matchedOpen the message
Review the Bitcoin Core implementation of BIP 54 (bitcoin/bitcoin PR 35793).
“reviewing the BIP, one of the implementation in a full-node ( https://github.com/bitcoin/bitcoin/pull/35793 )”Forum · quote matchedOpen the message
Add a test that catches changes to pre-activation mainnet mempool behaviour of the BIP 54 sigops check, exercising the enforce_bip54 value PreChecks actually passes instead of a hardcoded true.
“the mutant changes behaviour on mainnet before activation and no test catches that.”GitHub · quote matchedOpen the message
ViniciusCestarii gave a Concept ACK on the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, noting the reviewed commits are well structured so far.
“Concept ACK”GitHub · quote matchedOpen the message
Add tests to the Bitcoin Core BIP 54 implementation that catch each rule being enforced one block later than the activation height, since the existing test suites do not detect this.
“only thing that wasn't killed was a test where rules are enforced *one block late, for each rule*.”GitHub · quote matchedOpen the message
Add a pre-activation testmempoolaccept rejection check (bad-txns-legacy-sigops) for the many-sigops transaction in feature_bip54.py, run with -acceptnonstdtxn=1, so the mempool rule that applies on mainnet before activation is covered.
“Maybe add a `testmempoolaccept` rejection (`bad-txns-legacy-sigops`) for the many-sigops tx in the pre-activation section of `feature_bip54.py`?”GitHub · quote matchedOpen the message
Decide whether the Bitcoin Core implementation should enforce BIP 54 from the hardcoded genesis block or start at height 1.
“Given that Genesis blocks of chains are hardcoded, should it be active for the Genesis block? Wouldn’t height 1 make more sense?”GitHub · quote matchedOpen the message
Murch opposes the proposed BIP 54 edit that exempts the Genesis block from the coinbase checks. He calls it incorrect and redundant: the specification already applies only to blocks after activation, and singling out Genesis would imply every later block, including those before activation, must follow the rule.
“This change seems incorrect and redundant to me.”GitHub · quote matchedOpen the message
0xB10C supports implementing the BIP 54 Consensus Cleanup code and functionality in this pull request without mainnet activation, so that it is available, but says he lacks the expertise and bandwidth to review it in detail soon.
“Concept ACK on implementing BIP 54 code and functionality here without mainnet activation to have it available.”GitHub · quote matchedOpen the message
Clarify whether the genesis block is exempt from the coinbase nLockTime/nSequence rule and the timewarp timestamp rule, since the test vectors start from genesis and genesis has no previous block.
“The timewarp rule has the same gap: at N=0 there is no T<sub>N−1</sub>, and `timestamps.json` also starts from genesis. One sentence could exempt genesis from both rules.”GitHub · quote matchedOpen the message
fametrano supports the change exempting the genesis block from BIP 54's coinbase checks, noting that the genesis coinbase would otherwise make all coinbase test vectors invalid; he suggests extending the exemption to the timewarp rule too.
“Concept ACK. All 7 cases in `bip-0054/test_vectors/coinbases.json` start from the mainnet genesis block.”GitHub · quote matchedOpen the message
Make clear in the specification that the genesis block is exempt from the new coinbase nLockTime and nSequence rules, as the reference implementation already skips it.
“The BIP54 reference implementation skips genesis when checking the new coinbase locktime and sequence rules. However this wasn't specified in the BIP.”GitHub · quote matchedOpen the message
Antoine Riard thinks BIP 54 is not yet ready to finalize. In his view, the open technical disagreements must be resolved first, especially over outlawing 64-byte transactions, and the reference implementation needs more review and testing. He suggests activation could realistically be considered in the second half of 2027 if community consensus exists by then.
“Moving BIP54 past the finish line, in my view, would necessitate resolving the open technical conservations, especially on the disagreement about the 64 bye transactions.”Mailing list · quote matchedOpen the message
Review and test the Bitcoin Core reference implementation of BIP 54 more thoroughly.
“more review and testing of the reference implementation is obviously needed.”Mailing list · quote matchedOpen the message
Run more live demonstrations on signet of the vulnerabilities that BIP 54 fixes.
“Doing more real-live testing of the vulnerabilities like it has been done on signet might be very valuable again.”Mailing list · quote matchedOpen the message
Resolve the remaining disagreement among developers over the rule that invalidates 64-byte transactions.
“resolving the open technical conservations, especially on the disagreement about the 64 bye transactions”Mailing list · quote matchedOpen the message
Test that the Bitcoin Core implementation of BIP 54 agrees with one or more other implementations, such as the btcd one in progress.
“Testing inter-compatibility with one or more other implementations is likely also valuable, to assert there is no shortcoming with the design.”Mailing list · quote matchedOpen the message
Document for wallet and off-chain protocol developers how they are affected by the 2500 signature operation limit on pre-segwit scripts and by the 64-byte transaction rule.
“some parts of the BIP would be better to be more documented for any wallet or off-chain protocol, in function of what they're doing it's good for them to be aware of the proposed new 2500 pre-segwit script tx limit, and the 64 byte outlawing rule”Mailing list · quote matchedOpen the message
Add tests in the Bitcoin Core BIP 54 implementation covering interactions of the new sigops limit and 64-byte transaction rule with the disconnect pool, mempool reorg handling (including a reorg across the activation block), and the script execution and signature caches.
“I don't remember to have seen test coverage for all those edge cases, even if it's to demonstrate there is no unexpected interactions”GitHub · quote matchedOpen the message
Antoine Poinsot opposed the proposed edit distinguishing miner enforcement of BIP 54's two timestamp restrictions, saying the existing sentence is intentional. His reason is that an innocent block could plausibly violate the Timewarp rule, which applies to a single block interval, but not the rule against a negative-duration difficulty adjustment interval.
“i largely agree with Murch that the current diff is not an improvement. The existing sentence is intentional”GitHub · quote matchedOpen the message
garlonicon calls the Consensus Cleanup small and non-controversial, and argues it should ship on its own rather than be bundled with other changes, which would risk not getting BIP 54 at all.
“It is easier to reach consensus for a change, where mining pools are already supporting it, and it is quite small and non-controversial, than add more things into it, and risking not having BIP-54 at all.”Forum · quote matchedOpen the message
Murch supports BIP 54's goal of preventing the hypothetical attack in which timestamp manipulation creates difficulty periods with negative duration.
“While it makes sense to me to prevent this hypothetical attack”GitHub · quote matchedOpen the message
Murch opposes this change to BIP 54, which would distinguish how miners enforce the two timestamp restrictions. He argues that negative-duration difficulty periods can only arise from a deliberate majority-hashrate attack, so worrying about accidental miner templates is unwarranted.
“I don’t think this is an improvement.”GitHub · quote matchedOpen the message
Rewrite the unclear paragraph in the BIP 54 test vectors README, especially the sentence starting "Instead of `extensions`", so that it makes sense.
“This paragraph needs to be improved. Especially “Instead of `extensions`”… makes no sense.”GitHub · quote matchedOpen the message
Decide whether BIP 54 should be deployed as a standalone soft fork or bundled with other changes such as covenant or rebindable-signature opcodes.
“It will be released alone? Or will it come in a package with rebindable opcodes and so?”Forum · quote matchedOpen the message
nervana21 gave a concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”GitHub · quote matchedOpen the message
Weigh the concern that the 7200-second timewarp grace period lets an attacker lower difficulty by about 0.6% per period without advancing time, or hold time back by 0.6% without raising difficulty.
“it's annoying (if not concerning) that the 7200 allowance enables difficulty to be constantly lowered 0.6% in every epoch without advancing time, or holding time back by 0.6% without difficulty increasing”Forum · quote matchedOpen the message
Determine whether the 7200-second timewarp grace period could allow unlimited blocks in finite time when total chain work grows by less than about 0.6% per difficulty period.
“From the T(w,U) equation it looks like a lower w and higher U can result in a negative T which means unlimited blocks in finite time.”Forum · quote matchedOpen the message
Decide whether the Miner forward compatibility section should state that Bitcoin Core 29.x–31.x only enforce the first-block timestamp rule in templates, and the last-block rule only from 32.0; the BIP authors chose to keep the existing wording as intentional.
“So versions 29.x through 31.x do not satisfy the blanket wording, which this PR corrects.”GitHub · quote matchedOpen the message
Correct the claim that a timestamp below getblocktemplate's mintime always produces an invalid block, since Core's template floor uses a 600-second grace period while BIP 54 allows 7200 seconds.
“The last sentence of the paragraph says a timestamp below `mintime` "already leads to creating an invalid block". That is not categorically true: Core's template floor uses `MAX_TIMEWARP = 600` while this BIP permits”GitHub · quote matchedOpen the message
Jon Atack approved the change to BIP 54 that distinguishes how miners enforce the two timestamp restrictions, pending answers to the PR author's open questions. He noted the change assumes a recently merged Bitcoin Core PR is not backported.
“ACK modulo open questions by the PR author for BIP author feedback”GitHub · quote matched
Pieter Wuille analyzed BIP-54's two timewarp rules and concluded, with a Lean-checked proof, that they are each necessary and together sufficient to tightly bound chain growth. This supports the timewarp-fix part of the proposal's approach.
“This shows that **both rules are necessary and together sufficient** to get a tight bound.”Forum · quote matchedOpen the message
Review the Lean theorem statements that formalize the chain-length and chain-work bounds under BIP 54's timewarp rules, to confirm they model Bitcoin's consensus rules correctly; Pieter Wuille notes the LLM-generated proof has not been reviewed.
“Assuming no bugs in Lean and Mathlib, this means only the statements being proven need to be reviewed.”Forum · quote matchedOpen the message
Express the timewarp rule's 2016 and 2015 height constants in terms of the difficulty adjustment interval, so that networks with a different interval such as regtest are covered by the specification.
“was just wondering if we could update the BIP to make 2016 and 2015 variables”GitHub · quote matchedOpen the message
Ensure that, around activation, transactions violating the BIP 54 sigops limit cannot sit in a mempool and later be selected into a block template that would make the block invalid.
“a tx might be okay at mempool reception, is stuck in the mempools, and even after few blocks is selected in a template rendering it invalid.”GitHub · quote matchedOpen the message
Ensure block templates never include transactions violating the BIP 54 sigops limit, particularly for blocks at the activation boundary, for example via a sanitization check in getblocktemplate.
“though having a sanitization check in `getblocktemplate` might good.”GitHub · quote matchedOpen the message
Add a test that exercises the sigops counting with a P2SH redeemScript containing deeply nested control flow (e.g. 10-deep OP_IF/OP_ELSE around OP_CHECKSIG), since fuzzing may never generate such structured scripts.
“getting tortuous and valid control flow redeemScript with 10-depth OP_IF then the OP_CHECKSIG, then 10-depth OP_ENDIF, or with OP_ELSE to exerciser the consensus sigops script parser”GitHub · quote matchedOpen the message
Test that a transaction with 2501 signature operations is rejected under the BIP 54 sigops limit, confirming the boundary at exactly 2500 is handled correctly.
“there could be a test for the case where the tx has `2501 sigops` and as such is invalid per BIP54 new rule.”GitHub · quote matchedOpen the message
stickies-v gave a concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”GitHub · quote matchedOpen the message
Clarify in the BIP text that the 2016 and 2015 values in the timewarp rules come from the network's difficulty adjustment period rather than being fixed constants.
“could we adjust the BIP text, or add a note here to clarify that these values are derived from the network's adjustment period rather than fixed constants?”GitHub · quote matchedOpen the message
Make Bitcoin Core's block template generation enforce the BIP 54 Murch–Zawy timestamp rule, with an accompanying test, submitted as a separate pull request.
“The miner currently does not enforce the murch-zawy rule but I think it should.”GitHub · quote matchedOpen the message
fjahr gave a Concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”GitHub · quote matchedOpen the message
fanquake gave a Concept ACK to the Bitcoin Core pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”GitHub · quote matchedOpen the message
hsjoberg gave a concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”GitHub · quote matchedOpen the message
polespinasa gave a concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”GitHub · quote matchedOpen the message
Sebastian Falbesoner gave a concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”GitHub · quote matchedOpen the message
Justify or reconsider counting a bare CHECKMULTISIG as 20 signature operations versus 1 for OP_1 CHECKMULTISIG, since a party to a collaborative transaction could cheaply push it over the 2500 sigops limit.
“in any collaborative txn among multi parties, one can force the tx to reach the new 2500 limit at a vbyte cost inferior rather than putting a `OP_1 CHECKMULTISIG` coming with a higher absolute vbyte cost, whatever the feerate.”GitHub · quote matchedOpen the message
dergoegge gave a Concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”GitHub · quote matchedOpen the message
Review the Bitcoin Core implementation of the BIP 54 signature operations limit that fixes long block validation times.
“Let's start at least the review for the fix of the long validation block time.”GitHub · quote matchedOpen the message
Decide whether to move the BIP 54 sigops check out of ValidateInputsStandardness so that mempool PreChecks returns a consensus or standardness error depending on BIP 54 activation, and ConnectBlock checks it only once BIP 54 is active.
“we should also move `Consensus::CheckSigopsBIP54` outside of `ValidateInputsStandardness`. It would have to be checked once in `PreChecks`, returning a consensus or stdness error depending on the BIP 54 activation status”GitHub · quote matchedOpen the message
Decide whether the implementation should report BIP 54 violations as consensus errors or standardness errors before BIP 54 activation, keeping the sigops and 64-byte transaction errors consistent.
“Actually this approach makes it so this now reports a consensus error rather than a standardness one before 54 activation. So it's not clear to me that it's better.”GitHub · quote matchedOpen the message
Decide whether the Bitcoin Core implementation should report both the 64-byte transaction and tx-sigops violations as consensus errors or as standardness errors, so that the two are consistent.
“Either way the 64-byte transaction error and the tx-sigops error need to be consistent with each other.”GitHub · quote matchedOpen the message
Decide whether the implementation should return consensus errors for BIP 54 violations only once BIP 54 is active, which would mean duplicating the checks outside `CheckTxInputs` instead of failing them as consensus errors before activation.
“If we think it's important to only return a consensus error after 54 becomes active, then we should go back to duplicating the check instead of having it as part of `CheckTxInputs`”GitHub · quote matchedOpen the message
Antoine Riard supports BIP 54's fixes for long block validation cost and timewarp, while being indifferent on the coinbase txid collision fix and less interested in the 64-byte transaction rule.
“about BIP54, I'm +1 to have a long validation block cost and timewarp fixes”Mailing list · quote matchedOpen the message
Make the Testnet 5 draft apply BIP 54 rules from block 1 rather than from genesis, since the timestamp and coinbase locktime rules cannot coherently apply to block 0.
“I think "are active .. from Genesis" is perhaps not great, and the BIP 54 rules should apply to block 1 and above only?”Mailing list · quote matchedOpen the message
Antoine Poinsot defends BIP 54's approach of invalidating 64-byte transactions. He argues that preventing Merkle malleability in only one direction is sufficient and requires no changes from SPV verifiers, because grinding an inner node to match a meaningful transaction is computationally infeasible.
“So i think the point stands that preventing malleability only in one direction (by invalidating 64-byte transactions) is sufficient, and does not require SPV verifiers to do anything.”Mailing list · quote matchedOpen the message
Narrow BIP 54's claim so it says invalidating 64-byte transactions fixes the Merkle weakness without changes only for SPV verifiers that expect proofs of transactions that cannot be 64 bytes.
“BIP 54 should only claim that invalidating 64-byte transactions addresses the issue with no change to SPV verifiers for those SPV verifiers that expect proofs for transactions that cannot be 64-byte”Mailing list · quote matchedOpen the message
Address the concern that invalidating 64-byte transactions forces layer-2 protocols that assemble transactions from several parties' contributions to check that the result is never exactly 64 bytes, and removes burn and anyone-can-spend constructions that protocols such as spacechains and miner fee bumping use.
“if you're a l2 client and you're receiving txn contributions from another party, now you have to be sure that result(txn_contributions) != 64 byte. and yes burning funds as been used few times to design protocols e.g spacechain it's an interesting primitive.”GitHub · quote matchedOpen the message
Antoine Riard supports splitting the Consensus Cleanup protocol changes into independent BIPs, because separate BIPs allow separate activation flags and let people support some fixes without supporting all of them.
“i'm +1 to unbundle, unbundling allows to have multiple activation flags or whatever.”GitHub · quote matchedOpen the message
Antoine Poinsot defends BIP 54's approach of invalidating 64-byte transactions over Jeremy's alternative. He argues that any system securing real value would not need patching, and that the Merkle proof quirk should be fixed at the consensus level.
“But i don't think this is a meaningful distinction, as any system that actually matters and tries to secure value would not have to be patched. This is why we chose this approach for BIP 54”Mailing list · quote matchedOpen the message
Jeremy Rubin objected to invalidating 64-byte witness-stripped transactions to benefit SPV users, arguing that better alternatives exist; the BIP authors needed to decide between invalidation and those alternatives.
“I think removing 64 byte witness stripped transactions from Bitcoin to benefit SPV users is a mistake, and a mistake with better alternatives.”GitHub · quote matchedOpen the message
Decide whether the getblocktemplate fields for the coinbase locktime and sequence should be specified in a separate BIP rather than in BIP 54 itself.
“it seems like the advice above is that it would be best as a separate BIP from the actually protocl changes?”GitHub · quote matchedOpen the message
Jeremy Rubin opposes the part of Consensus Cleanup that invalidates 64-byte witness-stripped transactions, calling it a mistake with better alternatives for helping SPV users. He wants that rule unbundled so the other cleanup components can proceed without churn.
“I think removing 64 byte witness stripped transactions from Bitcoin to benefit SPV users is a mistake, and a mistake with better alternatives.”GitHub · quote matchedOpen the message
Decide where to specify BIP 54's coinbase locktime and sequence requirements for getblocktemplate: in the getblocktemplate BIPs, in PR 2177, or in a separate document.
“Modulo the idea of adding this to GBT BIP(s), perhaps this change could be added to https://github.com/bitcoin/bips/pull/2177, if it moves forward.”GitHub · quote matchedOpen the message
Pick up the abandoned change that adds the BIP 54 coinbase nLockTime and nSequence requirements to the getblocktemplate (GBT) specification, likely as a separate document.
“Closing this as up for grabs.”GitHub · quote matchedOpen the message
Decide where BIP 54's deployment parameters should be specified: in the BIP itself after it reaches Complete, or in a separate activation document such as bip-0054/activation-202605.md.
“the activation params aren't being managed by the proposal authors and should therefore be under a different bip. That could be done as something like `bip-0009/bip-0054-202605.md` or `bip-0054/activation-202605.md` or similar”GitHub · quote matchedOpen the message
Resolve the objection that BIP 54 was marked Complete without deployment parameters, which could be added or changed later; consider moving them to a separate deployment-parameters BIP that stays incomplete until the deployment is buried.
“Having a Separate Deployment Params BIP which stays incomplete till buried seems better?”GitHub · quote matchedOpen the message
Antoine Poinsot, a BIP 54 author, opposes the pull request that would split BIP 54 into its bundle constituents. He says the BIP is a complete, consistent set of changes, and that anyone favouring a different mitigation for one bug should author their own BIP.
“Therefore NACK on this PR as it stands.”GitHub · quote matchedOpen the message
da1sychain opposes splitting BIP 54 into separate BIPs for each component, arguing its scope is narrow compared to Segwit or Taproot and that such a drastic restructuring this late is unreasonable; competing variants should get their own BIP instead.
“changing the BIP (at what is effectively the 11th hour) this drastically is unreasonable”GitHub · quote matchedOpen the message
Jeremy Rubin objects to moving BIP 54 to Complete while still allowing its consensus or deployment parameters to change afterwards, calling that a recipe for disaster. He suggests putting deployment parameters in a separate BIP that stays incomplete until buried.
“Allowing major consensus changes/deployment params after the fact (including we set it to X date and then changed it to Y date) seems like a slight disaster recipe?”GitHub · quote matched
SatsAndSports opposes the pull request that would split BIP 54 into its bundle constituents, arguing it is inappropriate to significantly edit a BIP proposed by other authors; those wanting a different proposal should write their own BIPs.
“NACK You are free to make your own BIP, or BIPs, with another proposal (or set of proposals). But it's not appropriate to significantly edit the BIP that was proposed by other authors”GitHub · quote matchedOpen the message
jonatack supports the proposed change to split BIP 54 into separate BIPs for each of its bundled constituents, citing BIP 2 and BIP 3 recommendations for focused, single-idea BIPs.
“Concept ACK As I wrote in https://github.com/bitcoin/bips/pull/1800#pullrequestreview-2788772574, I'd prefer to see separate, focused BIPs, as recommended in both BIP 2 and BIP 3.”GitHub · quote matchedOpen the message
Decide whether BIP 54's activation parameters will be added to the BIP itself after it reached Complete, or specified in a separate deployment BIP.
“will activation params for bip54 go in a separate bip (similar to 448 vs 446/348/349?), or something else?”GitHub · quote matchedOpen the message
Antoine Poinsot, the BIP's author, considers BIP 54 (Consensus Cleanup) a net improvement that is ready for adoption by the Bitcoin community, and moves its status to Complete.
“I believe it represents a net improvement and is ready for adoption by the Bitcoin community.”GitHub · quote matchedOpen the message
Antoine Poinsot, the BIP's author, moved BIP 54 (Consensus Cleanup) to Complete status, indicating he considers the specification finished.
“bip-0054: move to complete”GitHub · quote matchedOpen the message
jonatack approved the pull request that moves BIP 54 (Consensus Cleanup) to Complete status.
“ACK”GitHub · quote matchedOpen the message
Murch approved the pull request moving BIP 54 (Consensus Cleanup) to Complete status, after re-reviewing its test vectors and reference implementation and noting that concerns had been discussed on the mailing list and documented in the proposal.
“I had another look at test vectors and reference implementation. Concerns and issues have been discussed on the mailing list and are documented in the proposal. LGTM.”GitHub · quote matchedOpen the message
Open the BIP 54 reference implementation branch as a pull request to Bitcoin Core.
“Yes, i plan to eventually open this branch as a Bitcoin Core PR.”GitHub · quote matchedOpen the message
Open a pull request to Bitcoin Core implementing BIP 54.
“Are there plans to open an implementation pull in Bitcoin Core?”GitHub · quote matchedOpen the message
Qualify the Motivation's claim that users of Merkle proofs need not even know a workaround is necessary: multi-party protocols that cache pre-signed transactions (e.g. Lightning on a BIP157 client) would now have to make sure counterparty contributions cannot produce a 64-byte transaction.
“if you've a software client caching pre-signed transactions on top of a SPV client (e.g bip157 + lightning) carefulness about not accepting a transaction input vector turning the result as a 64 byte tx will become necessary”GitHub · quote matchedOpen the message
Address the concern that making one specific transaction size invalid is itself a footgun, since transaction creation and validation must avoid that size.
“One could also raise the real possibility that a specific size transaction being invalid is also a footgun, as transaction creation (and validation) must avoid it.”GitHub · quote matchedOpen the message
Update the 64-byte transaction rationale so it no longer implies that one alternative is the only viable one, and mention the option of not changing consensus and relying on existing mitigations instead.
“I suggested (which is not included anywhere in the discussion here) that mitigation may not be necessary given that:”GitHub · quote matchedOpen the message
evoskuil questions whether BIP 54's consensus rule against 64-byte transactions is needed. He argues that malleation only affects node caching optimizations and SPV inclusion proofs, that both can be mitigated without a new rule, and that it is unclear whether removing that SPV complication is worth the cost of a consensus change.
“Eliminating (5) may or may not be worth the costs of adding a consensus rule.”GitHub · quote matchedOpen the message
Update the 64-byte transaction rationale to mention that relying on existing mitigations, rather than a consensus change, is another alternative.
“I'll update to mention that another alternative is to keep relying on existing mitigations instead.”GitHub · quote matchedOpen the message
Clarify in the 64-byte transaction rationale which alternative mitigations are meant by 'better ways to mitigate this issue', and explain their relation to SPV verifiers and caching nodes.
“This hints at (1,2,3) above, but this isn't very clear.”GitHub · quote matchedOpen the message
Present all known SPV verifier workarounds for the 64-byte transaction Merkle weakness in the rationale, neutrally, instead of only the proposal's preferred framing.
“There is no harm in presenting all three, and any others.”GitHub · quote matchedOpen the message
Describe in the motivation the specific SPV-verifier workarounds that invalidating 64-byte transactions would make unnecessary, so readers can weigh a new consensus rule against the existing workarounds.
“Reading this fresh my first question would be, what specifically is the complexity/mitigation that this new rule will eliminate.”GitHub · quote matchedOpen the message
Clarify in the 64-byte transaction motivation that a block with a malleated Merkle root cannot pass validation, so the weakness only affects SPV verifiers.
“I think it's worth being explicit here that it's not possible for a block to pass validation with a malleated merkle root.”GitHub · quote matchedOpen the message
Describe the existing SPV workarounds that invalidating 64-byte transactions replaces in enough detail for readers to weigh the tradeoff.
“The actual mitigation that is being replaced should be described with sufficient detail for people to make an informed decision.”GitHub · quote matchedOpen the message
Describe the current workaround that invalidating 64-byte transactions replaces, such as verifying inclusion of the coinbase transaction to learn the tree depth.
“Also I think it's worth showing specifically the current approach that this fork replaces”GitHub · quote matchedOpen the message
Murch objects to adding coinbase locktime and sequence fields for getblocktemplate to BIP 54. He argues BIP 54 covers protocol-level changes, and that mining-coordination updates belong in a separate extension to BIP 22, 23 and 145.
“It would be better for these updates to `getblocktemplate` to be proposed separately from BIP54.”GitHub · quote matchedOpen the message
Antoine Poinsot defends BIP 54's invalidation of 64-byte transactions. He argues that such transactions can only burn or give away the spent coins, so no plausible future scripting upgrade would need them.
“As AJ points out, your examples are all anyone-can-spend, so BIP 54 is correct here.”Mailing list · quote matchedOpen the message
Clarify throughout BIP 54 that the 64-byte transaction rule refers to the witness-stripped serialized size.
“But it's fair that it could be clearer with regard to witness-stripped serialized size.”Mailing list · quote matchedOpen the message
Revise the rationale's description of 64-byte transactions as anyone-can-spend so it distinguishes immediately spendable outputs from timelocked anyone-can-spend outputs (e.g. 1 CSV, 52416 CSV), which create different miner incentives.
“it is not true that OP_TRUE, 52416 CSV, and 1 CSV are all equivalent.”Mailing list · quote matchedOpen the message
Address in the rationale whether invalidating 64-byte transactions complicates future introspection or covenant constructions that would need a valid way to add a padding byte without upsetting a state machine.
“with introspection opcodes, it might create substantive additional complexity to ensure that there is always a valid way to add a padding byte without upsetting a state machine.”Mailing list · quote matchedOpen the message
Revise or justify the rationale's claim that 64-byte transactions can only pay anyone-can-spend or burn outputs, given proposed uses such as timelocked miner donations, connector outputs and keyed-anchor shims.
“This is not strictly correct. Here are a few examples of current and future uses for 64-byte transactions:”Mailing list · quote matchedOpen the message
Clarify throughout BIP 54 that "64-byte transactions" means transactions with exactly 64 bytes of witness-stripped (non-witness) serialized data, since such transactions can carry a large witness.
“Therefore, it is more accurate to refer to this in all sentences throughout the BIP as:”Mailing list · quote matchedOpen the message
Get mining pools to update their software so coinbase transactions set BIP 54-compatible nLockTime and nSequence values ahead of activation.
“forward compatibility of mining pools (setting BIP 54 compatible coinbase nLockTime/nSequence) is being discussed at BNOC”Forum · quote matchedOpen the message
Murch approved a pull request improving BIP 54's test vectors following review in Inquisition.
“ACK fa608987ea064050535c72e8ddf16f0dcffc4dd4”GitHub · quote matchedOpen the message
Write instructions for joining the slow blocks Signet demo using node-in-a-box solutions other than Umbrel.
“I would welcome instructions on how to join using other node-in-a-box solutions.”Forum · quote matchedOpen the message
Review the instructions for joining the slow blocks Signet demo on MacOS, Windows and Linux to check they are correct and clear for non-technical users.
“These instructions are aimed at non-technical users who would like to participate and i could use review to make sure they are (correct and) clear enough.”Forum · quote matchedOpen the message
Build a simple display that reads node logs and shows block validation times as blocks arrive, so that users joining the Consensus Cleanup slow-block signet demo can see the effect on their own node.
“Just wanted to suggest vibe coding a basic GUI/display to pull from the logs and display to a user validation times as the blocks come in.”Forum · quote matchedOpen the message
Antoine Riard considers acceptable BIP 54's trade-off of reducing value-transfer throughput per byte for transactions spending legacy inputs under the new legacy sigops limit.
“That BIP54 is reducing the value transferred throughput per byte of tx when you're consuming legacy inputs, I think that's a fine trade-off”Mailing list · quote matchedOpen the message
Write a handbook explaining how node operators can test each BIP 54 fix (timewarp, long block validation, Merkle tree malleability, duplicate coinbase) on regtest before and after the rules apply, without writing their own Python tests.
“an alternative could be to have a handbook explaining how to test on a regtest pre / after BIP 54 fixes each one of the fix”Mailing list · quote matchedOpen the message
Decide whether the coinbase rule can drop the requirement that nSequence be non-final and rely on the nLockTime height alone to guarantee coinbase uniqueness.
“I’m still thinking the change can be simplified by not enforcing non-finality of the `nSequence` field due to the order of checks in `IsFinalTx()`, while still ensuring uniqueness.”GitHub · quote matchedOpen the message
Murch approved a pull request improving BIP 54's test vectors following review in Bitcoin Inquisition.
“LGTM”GitHub · quote matchedOpen the message
Publish publicly verifiable evidence that slow blocks can be crafted, such as a demonstration of an expensive but far-from-worst block, to support the soft fork activation proposal.
“i do think it's necessary to provide some amount of publicly verifiable information to support a soft fork activation proposal.”Mailing list · quote matchedOpen the message
Antoine Poinsot opposes the pull request adding coinbase locktime and sequence fields to getblocktemplate in BIP 54, arguing the fields are unnecessary or redundant, the pool-upgrade rationale is invalid, and such GBT changes do not belong in BIP 54 (at most specifying the "!" prefix for the bip54 rule).
“In any case, i do not think those changes belong in BIP 54.”GitHub · quote matchedOpen the message
sedited agrees with the change adding coinbase locktime and sequence fields to getblocktemplate in BIP 54, since those fields would gain consensus meaning. He also suggests linking to the text from BIP 22's "See Also" section.
“I think I agree with this.”GitHub · quote matchedOpen the message
Make sure a public slow-block demonstration on signet does not leak details of how to optimise the validation-time attack on mainnet, for example by keeping the worst-case testing private.
“The main concern I'd have is whether or not doing so would leak more information to the world about how to conduct such an attack on mainnet. It may be prudent to perform such testing privately.”Mailing list · quote matchedOpen the message
Resolve the objection that requiring the coinbase nSequence to differ from 0xffffffff is superfluous if the BIP 54 activation height is buried and BIP 30 checks are disabled past it.
“Point is the additional check in nsequence field is superflous imho.”GitHub · quote matchedOpen the message
Create and publicly share a slow-but-not-worst-case block on Signet to demonstrate that it is invalid on Inquisition with BIP 54 active.
“Perhaps we could create a Signet block that is slow but not quite as bad as the worst case, and share it here to demonstrate it is now invalid on Inquisition?”Mailing list · quote matchedOpen the message
Decide whether the rule that the coinbase nSequence must not be 0xffffffff is needed, given that the nLockTime == height - 1 check alone may already make coinbase transactions unique.
“However, I still hold the belief the check on the nsequence field is superflous, as with BIP54 you're implementing a context-dependent check that the coinbase transaction nLocktime must be exactly set to the height of the checked block.”Mailing list · quote matchedOpen the message
Resolve the objection that requiring a non-final coinbase nSequence is superfluous and that relying on proof-of-work ordering would be a simpler way to avoid coinbase duplicates.
“I’m still thinking you can make a simpler assumption by just relying on the PoW ordering mechanism itself. There can be only and only one block valid at a given chain height.”GitHub · quote matchedOpen the message
Decide whether getblocktemplate should expose the BIP 54 coinbase locktime and sequence fields; Antoine Poinsot argues they are redundant with the block height pools already have, and that requiring a newer Bitcoin Core may raise the bar for compatibility rather than lower it.
“i don't think providing the fields in the GBT response is materially lowering the bar to make their software compatible”GitHub · quote matchedOpen the message
Antoine Poinsot is skeptical of the change adding coinbase locktime and sequence fields to the getblocktemplate response for BIP 54. He considers the fields fairly redundant, since miners can already derive them from the block height they receive, and thinks requiring a newer Bitcoin Core version may be a higher bar than using that information.
“i don't think providing the fields in the GBT response is materially lowering the bar to make their software compatible.”GitHub · quote matchedOpen the message
Melvin Carvalho opposes adding getblocktemplate fields (sequence, timestamp, version) to BIP 54, arguing that bundling them would make the otherwise uncontroversial consensus fixes controversial and widen the policy surface. He says these additions should be specified in a separate proposal.
“Bundling new getblocktemplate additions into it changes that and expands the policy surface. Those additions should be specified separately, where they belong.”Mailing list · quote matchedOpen the message
Melvin Carvalho opposes adding coinbase locktime and sequence fields to getblocktemplate within BIP 54, arguing that bundling them would make the otherwise uncontroversial consensus fixes controversial and widen the policy surface. He says these additions should be specified separately.
“Bundling new getblocktemplate additions into it changes that and expands the policy surface. Those additions should be specified separately, where they belong.”GitHub · quote matchedOpen the message
Sjors Provoost defends adding sequence, timestamp (and version) fields to getblocktemplate for BIP 54. He argues they add no new rules to the proposal and only make implementation easier and safer.
“The fields do not add new rules to the proposal, they merely make implementation easier and safer.”Mailing list · quote matchedOpen the message
Decide whether coinbase nLockTime and nSequence fields for getblocktemplate should be specified in BIP 54 or in the getblocktemplate BIP, given Antoine Poinsot's argument that pools already have the block height and the fields do not help forward compatibility.
“Regardless of the desirability of these additions, i think those should be specified as part of the GBT BIP, not BIP 54.”GitHub · quote matchedOpen the message
Antoine Poinsot opposes adding coinbase locktime and sequence fields to getblocktemplate in BIP 54. He argues it does not help pools with BIP 54 forward compatibility, since they already have the block height, and that any such fields belong in the GBT BIP rather than BIP 54.
“Regardless of the desirability of these additions, i think those should be specified as part of the GBT BIP, not BIP 54.”GitHub · quote matchedOpen the message
Sjors Provoost proposes amending BIP 54 to add coinbase locktime, sequence and version fields to getblocktemplate. He argues that node software should supply these values so pools need not compute them, and prefers extending BIP 54 over writing a separate BIP.
“it seems appropriate and convenient to have node software provide these values via the getblocktemplate RPC.”Mailing list · quote matchedOpen the message
Decide whether BIP 54 should specify new getblocktemplate (BIP 22) fields `lock_time` and `sequence` that give miners the required coinbase values, and review the Bitcoin Core implementation of them.
“This PR extends BIP54 with the following BIP22 fields (`getblocktemplate` RPC):”GitHub · quote matchedOpen the message
Specify getblocktemplate fields (coinbase_locktime and coinbase_sequence) so node software tells mining pools the coinbase nLockTime and nSequence values that BIP 54 requires.
“it seems appropriate and convenient to have node software provide these values via the getblocktemplate RPC.”Mailing list · quote matchedOpen the message
Resolve the objection that requiring the coinbase nSequence to be non-final is unnecessary given the nLockTime rule, and that the field could instead be left free for an extranonce or a future commitment.
“I'm still thinking the second check is unecessary.”GitHub · quote matchedOpen the message
ajtowns reviewed the BIP54 Consensus Cleanup implementation pull request at a specific commit and considers it ready to merge.
“ACK 55cd9a5d45fd385b068bd62ce91a82c803d1f2c6 -- this looks good to me i think, and should be ready to merge”GitHub · quote matchedOpen the message
Antoine Poinsot, a BIP 54 author, defends the BIP's choice to constrain the coinbase nSequence so that timelock validation is enforced. He argues this guarantees that no post-activation coinbase transaction can be a duplicate, which reduces complexity.
“being able to state that post-BIP 54 activation no coinbase transaction can possibly be a duplicate is a useful reduction in complexity.”Mailing list · quote matchedOpen the message
Expose the coinbase transaction's locktime and whether its nSequence is final in verbosity-1 getblock output, so miners' BIP54 coinbase readiness can be scanned efficiently.
“Also should report whether nseq is final or not.”GitHub · quote matchedOpen the message
Explain more clearly in the BIP why the coinbase nSequence must be non-final: it forces timelock validation, so no coinbase after activation can duplicate an earlier one and the BIP 30 check can be dropped without depending on BIP 34 history.
“There still appears to be some confusion around the rationale for also constraining the nSequence, which suggests the explanation needs to be clearer.”Mailing list · quote matchedOpen the message
Decide whether to check the coinbase against the new BIP54 rules when a compact block arrives, to avoid storing state for blocks that will be invalid.
“Sanitizing that the received coinbase is respecting the new rules of consensus avoids to store cmpct block state for a block that will be overall consenus invalid”GitHub · quote matchedOpen the message
Fix the BIP54 fuzz test's handling of coinbase-like transactions, either by dropping the coinbase assertion in CheckSigopsBIP54 or by returning early for coinbases before calling CheckTxInputs.
“Alternatively, having `if (transaction.IsCoinBase()) { /* Not allowed to call CheckTxInputs on a coinbase */ return; }` before setting `enforce_bip54` could also make sense, I think.”GitHub · quote matchedOpen the message
Antoine Poinsot considers the BIP 54 Consensus Cleanup implementation ready to be merged into Bitcoin Inquisition for testing on Signet, while welcoming further review after merge.
“I think this should be ready for Inquisition.”GitHub · quote matchedOpen the message
Review the BIP 54 implementation for Bitcoin Inquisition further, including after it is merged for signet testing.
“If people are so inclined, i'd love it to get more review still after it's merged.”GitHub · quote matchedOpen the message
Decide whether the coinbase nSequence must be constrained to be non-final, or whether it can be left free for use as a future extranonce since only uniqueness is the goal.
“I don't believe it's necessary to set the sequence field to final”Mailing list · quote matchedOpen the message
Decide whether to drop the rule that the coinbase nSequence must not be 0xffffffff, since the nLockTime height check alone makes the coinbase final and nSequence could stay free as an extranonce.
“we can dissociate “coinbase finality” from “coinbase uniqueness” and preserve the 32-bit nSequence field as an extranonce.”GitHub · quote matchedOpen the message
Check whether early Bitcoin versions (such as 0.1.5) enforced nLockTime finality during block validation, which affects the argument that nLockTime-based coinbase uniqueness rules out past duplicates.
“at least on branch 0.1.5, `IsFinal()` sounds only to be verified at block generation, not validation”GitHub · quote matchedOpen the message
Check whether any coinbase transaction mined before nLockTime enforcement in 0.2.6 violates the BIP34 height rule and has an nLockTime above height 1,983,702, which could allow a duplicate coinbase.
“the question is if you have coinbase transaction pre 0.2.6 that would violate the post-BIP34 height-in-the-scriptsig rule and of which the nLocktime value would be posterior to 1,983,702 height”GitHub · quote matchedOpen the message
Antoine Riard supports BIP 54's approach of committing the block height in the coinbase nLocktime rather than in an additional OP_RETURN output. He argues nLocktime is already a mandatory field and so more space-efficient, and that it adds no new cryptoeconomic attack risk.
“I'm still favoring the coinbase over the additional op_return field, nLocktime is already a mandatory transaction field so it's more information-theoretic space efficient.”Mailing list · quote matchedOpen the message
Explain in the rationale how historical BIP34-violating coinbases with a final nSequence (which bypasses nLockTime) interact with the nLockTime uniqueness rule, and why constraining nSequence is needed.
“that's where the BIP54 document and its implementation is silent”Mailing list · quote matchedOpen the message
Shrink the BIP 54 timewarp header test vector JSON by dropping redundant data (repeated headers, null coinbases, prevhash, fixed version/nbits) so the vectors are easier to use.
“Even keeping the header checks, the json file is pretty absurd; dropping the redundancies (repeated headers, null coinbases, prevhash, fixed version/nbits etc) to reduce the file size is probably worth doing.”GitHub · quote matchedOpen the message
Add an efficient way in Bitcoin Core (not just Inquisition) to query coinbase nLockTime values, so node operators can track whether miners have adopted the BIP54 coinbase locktime rule before activation.
“node operators should be able to easily evaluate whether activating BIP54 is safe, and being able to answer "have miners adopted the proposed nlocktime changes?" is important for that.”GitHub · quote matchedOpen the message
Adjust the generated BIP 54 sigops limit test vectors so they don't fail block validation for unrelated reasons, such as missing outputs or a non-final transaction caused by BIP68.
“But the smaller adaptions in the unit tests might be worth it to add, so that the vectors are more useful, in the sense that they don't unnecessarily fail in a block validation context for other reasons.”GitHub · quote matchedOpen the message
Add a test case covering the accurate sigop accounting of CHECKMULTISIG(VERIFY) preceded by OP_1 through OP_16 when it appears in the scriptSig, not only in the scriptPubKey.
“Good point that we should also have a test case covering the "accurate" accounting of sigops in the scriptSig.”GitHub · quote matchedOpen the message
Add a test case covering accurate sigop accounting of CHECKMULTISIG(VERIFY) preceded by OP_1..OP_16 in the scriptSig, since mutating the scriptSig accounting to inaccurate counting passes all tests.
“I've noted that with the following patch, all tests still pass:”GitHub · quote matchedOpen the message
Revise the BIP 54 text so the timewarp rules do not hardcode mainnet's 2016-block difficulty period, following how other BIPs handle network-specific parameters.
“I think the BIP could indeed avoid hardcoding mainnet's 2016 figure. I'll try to see how other BIPs dealt with that and adjust the BIP text.”GitHub · quote matchedOpen the message
Decide whether the spec should use a general retarget-interval value instead of hardcoding 2016 in the timestamp rules.
“regarding hardcoding 2016”GitHub · quote matchedOpen the message
Clarify in the BIP the rationale for requiring the coinbase transaction's nSequence not to be 0xffffffff, which had confused readers.
“Clarify the rationale for constraining the nSequence of coinbase transactions, as this caused some confusions.”GitHub · quote matchedOpen the message
Build a valid test vector reproducing the Murch–Zawy attack, possibly at reduced hashrate cost, that a post-BIP54 implementation rejects as invalid.
“Back to have a [valid test vector](https://github.com/bitcoin/bips/pull/2015#discussion_r2560287424) for the Murch-Zarwy attack”GitHub · quote matchedOpen the message
Reconsider the Bitcoin Core implementation's move of the BIP54 sigops check from the node library to the common library, which was done only because policy.cpp, needed by bitcoin-wallet, now calls CheckSigopsBIP54.
“I guess this was moved from node to common because policy/policy.cpp is in common and now calls CheckSigopsBIP54”GitHub · quote matchedOpen the message
Reword the BIP's description of the sigop limit so it does not say 'potentially executed' signature operations, and instead define the static count (1 per CHECKSIG, 1-16 for OP_1..OP_16 CHECKMULTISIG, 20 otherwise, including VERIFY variants).
“Better to call it something like "the number of sigops in the script (one for each `CHECKSIG` opcode, 1-16 for a `OP_1..OP_16 CHECKMULTISIG`, 20 for any other instance of `CHECKMULTISIG`, including the `VERIFY` variants of both)"”GitHub · quote matchedOpen the message
Decide whether the implementation's timewarp checks should be skipped when fPowNoRetargeting is set, exempting regtest.
“Should this be conditional on `consensusParams.fPowNoRetargeting` -- ie exempted for regtest?”GitHub · quote matchedOpen the message
Decide whether BIP 54 should state the timewarp rules in terms of the difficulty retarget interval rather than hardcoding mainnet's 2016-block figure.
“should BIP54 specify it in terms of the retarget interval instead of hardcoding mainnet's 2016 figure?”GitHub · quote matchedOpen the message
ajtowns considers the BIP 54 Consensus Cleanup implementation pull request for Bitcoin Inquisition mergeable. He says none of his review comments are show-stoppers.
“I don't think any of these are show-stoppers for merging in inquisition.”GitHub · quote matchedOpen the message
Refactor the timewarp checks into standalone functions so unit tests can check them directly on header chains rebuilt from timestamps alone. This would avoid PoW and -vbparams setup and shrink the test JSON file by about 3.6MB.
“I think it would be better to expose these tests as separate functions”GitHub · quote matchedOpen the message
Add a faster way in Bitcoin Core to query coinbase nLockTime values, such as a dedicated RPC or a runtime cache of the last ~4032 blocks' coinbase nLockTimes.
“IMO we should add either some rpc that's faster; if necessary adding a runtime cache of the last 4032 (?) blocks' coinbases' nlocktimes.”GitHub · quote matchedOpen the message
Fix the BIP 54 sigops test code so that assigning spent_script2 to the script reference no longer overwrites spent_script; otherwise the restored inputs end up with far too few sigops.
“Would feel better not to clobber `spent_script` as we do when assigning `spent_script2` to the `script` reference here on line 260.”GitHub · quote matchedOpen the message
Weigh the objection that requiring the coinbase nLockTime to equal the block height minus 1 removes about 19 bits that pooling protocols other than Stratum v1/v2 could use as an extranonce.
“Saying we should only consider stratum v1/v2 in matters of consensus-design it can be a bit blindsighted imho.”Mailing list · quote matchedOpen the message
Weigh the concern that the coinbase nLockTime should stay free as a fixed-size extranonce field for ASIC controllers, rather than being committed to the block height.
“Luke's concern of letting the coinbase as a reserved field for now is not without ground”Mailing list · quote matchedOpen the message
Antoine Poinsot declined a suggested relaxation of BIP 54's legacy sigops counting and will keep the simpler limit. His analysis found that the relaxation would have made no historical violation valid, and he expects no legitimate demand for spending many large legacy multisigs.
“For these reasons i don't plan to adopt the suggestion and will stick with the simpler limit.”Forum · quote matchedOpen the message
Justify or reconsider invalidating 64-byte transactions, given that contract toolchains such as Lightning would have to rule out that size, for example when burning funds to fees.
“the 64-byte limit size comes with a corner case, when you're burning funds as additional fees to bump the confirmation of a time-sensitive tx.”Mailing list · quote matchedOpen the message
Address the concern that committing the block height in the coinbase nLockTime removes it as a possible extranonce, and weigh alternatives such as a BIP141 commitment slot or splitting nLockTime into a 24-bit height and an 8-bit nonce.
“An alternative can be to split the u32 nLocktime field in a u24 | u8, with the u8 field being reserved as an extranonce.”Mailing list · quote matchedOpen the message
Decide whether to split the four fixes into separate proposals, each with its own deployment bit, instead of a single bundled activation.
“separating the consensus changes in 4 distinct proposals is better development and deployment practice”Mailing list · quote matchedOpen the message
Antoine Riard considers BIP 54's fix for long block validation times a must-have and its difficulty adjustment fixes very good to have. He is more skeptical of the merkle tree malleability fix, thinks the duplicate coinbase fix's design could be improved, and would prefer splitting the fixes into separate proposals.
“my thinking is that a fix long block validation time is a really must have, fixes for difficulty adjustment exploits is also very good to have”Mailing list · quote matchedOpen the message
Decide whether to cap the number of BIP54 sigops counted for a CHECKMULTISIG(VERIFY) at 6, since its signature hashes can be cached.
“In a `CHECKMULTISIG(VERIFY)`, put a ceiling on the number of BIP54-sigops accounted for at 6.”Forum · quote matchedOpen the message
Compile the historical transactions that would be valid under a 6-sigop CHECKMULTISIG cap but invalid under the current BIP54 sigop rule.
“I'll put together a list of historical transactions that would have been valid according to this adapted rule but not according to today's BIP54.”Forum · quote matchedOpen the message
Explain in the BIP 54 rationale why enforcing the coinbase timelock (a finality restriction) guarantees coinbase uniqueness, rather than relying on the height commitment alone.
“This is not clear from the BIP54 rational how temporal restraint of the validity of a coinbase transaction ensure its uniqueness.”GitHub · quote matchedOpen the message
Expand the BIP's rationale for the coinbase nSequence/nLockTime rule, explaining why the nSequence restriction is needed so that timelock validation applies to the coinbase transaction.
“while the BIP mentions multiple design possibilities, it’s not very verbose on it.”GitHub · quote matchedOpen the message
Antoine Poinsot defends BIP 54's requirement to commit the block height in the coinbase nLockTime, rejecting the objection that the field is better used as an extranonce. He says it guarantees coinbase uniqueness without relying on BIP 30 validation.
“committing to block height in nLockTime is the most elegant way to guarantee coinbase transaction uniqueness without relying on non-portable BIP 30 validation.”Mailing list · quote matchedOpen the message
Antoine Poinsot defends BIP 54's invalidation of 64-byte transactions. He admits it is inelegant but calls it the least bad option compared with leaving a footgun for upper-layer developers or adding a new sparse Merkle tree, which would effectively mandate an extension block.
“But when the alternatives are leaving a notorious footgun to upper-layer developers [4], or making a far more invasive change that effectively mandates an extension block, this is pragmatically the least bad solution.”Mailing list · quote matchedOpen the message
Explain in the BIP why the coinbase nLockTime must be set to the block height minus 1, and how this interacts with the nSequence requirement and timelock finality rules.
“BIP54 does not really document why `nHeight - 1` is picked up.”GitHub · quote matchedOpen the message
gmaxwell opposes modifying BIP54's timewarp fix to allow a future soft fork for the nTime overflow. He sees no particular value in avoiding a hardfork for this issue, considers using timewarp for it unclean, and is concerned that such a change would open room for abuse.
“I agree that there is no particular value in avoiding a hardfork to fix an issue like this– particularly as the other chain ‘stops’. Were there a clean non-hardfork solution then it probably would be preferable, but abusing timewarp doesn’t strike me as clean at all.”Forum · quote matchedOpen the message
Antoine Poinsot prefers fixing Timewarp properly with BIP 54 rather than keeping it exploitable to allow a future soft-fork fix for timestamp overflow. He argues the overflow is far off and is better handled later by a backward-incompatible change.
“Therefore my preference is to fix properly Timewarp with BIP 54, and properly deal with the timestamp overflow when (if?) necessary.”Mailing list · quote matchedOpen the message
Antoine Poinsot opposes modifying BIP54 so that a future fix for the nTime overflow can be deployed as a soft fork. He argues the issue is about 80 years away, a chain split is trivially prevented, and it does not justify inferior protocol decisions today.
“It is interesting to consider, but i don't think this justifies making inferior protocol decisions for today's (and the coming decades') Bitcoin.”Forum · quote matchedOpen the message
Move the BIP54 legacy sigops check into CheckTxInputs in the Bitcoin Inquisition implementation, so the check lives in a single place for both mempool and block validation.
“Here is the diff to achieve this. It's clearly more Right, but is bigger and touches more files. What do you think?”GitHub · quote matchedOpen the message
Decide whether BIP 54's timestamp rules should be modified so that a future soft fork addressing the nTime overflow remains possible, rather than requiring a hard fork.
“if we can modify BIP54 at little cost so that a soft fork remains in the cards, shouldn't we?”Forum · quote matchedOpen the message
josh argues that BIP54 should be modified, if it can be done at little cost, so that a future nTime soft fork stays possible and a hard fork can be avoided. He says the confiscation risk can be mitigated by signaling activation decades in advance.
“if we can modify BIP54 at little cost so that a soft fork remains in the cards, shouldn't we?”Forum · quote matchedOpen the message
Josh Doman objected that BIP 54's timewarp fix rules out a future soft fork for the nTime overflow, and proposed enforcing the timestamp rules on a u64 coinbase timestamp instead; this needed a decision on whether to keep the timewarp fix as specified.
“As written, BIP54 makes that soft fork impossible, leaving a hard fork as the only option to resolve nTime overflow.”Mailing list · quote matchedOpen the message
Decide whether to change BIP 54's timewarp fix, for example by committing a 64-bit timestamp in the coinbase, so that it does not rule out a future soft fork fixing the 2106 nTime overflow.
“BIP54 prevents the "timewarp attack" but inadvertently also precludes a future soft fork that could resolve the `nTime` overflow problem”Forum · quote matchedOpen the message
josh supports preventing the timewarp attack. He argues BIP54's current rule inadvertently rules out a future soft fork for the nTime overflow, and he prefers a fix that does not bind future generations, proposing a coinbase u64 timestamp modification.
“But I would tend to prefer a fix to the timewarp problem that does not bind the hands of future generations.”Forum · quote matched
Decide whether BIP 54's timewarp fix should be kept, made to expire after a certain height, or dropped, given that it rules out a future soft fork for the timestamp overflow that would rely on timewarp-style timestamps.
“Is the possibility of a soft fork worth forgoing the timewarp fix? I'm not sure. A compromise could be to expire the timewarp fix after a certain block height”Mailing list · quote matchedOpen the message
Decide whether BIP 54's timewarp fix should be kept, expired after some block height, or dropped, given that it rules out a future soft fork that fixes the u32 timestamp overflow.
“Is the possibility of a soft fork worth forgoing the timewarp fix? I'm not sure. A compromise could be to expire the timewarp fix after a certain block height”Mailing list · quote matchedOpen the message
Sjors reviewed the consensus-change commits in the Bitcoin Core BIP54 implementation PR and found them consistent with the BIP54 specification, praising the PR's organization; he has not yet reviewed the tests in detail.
“The consensus changes, with respect to their specification in [BIP54](https://github.com/bitcoin/bips/blob/master/bip-0054.md), look good to me”GitHub · quote matchedOpen the message
Make clear that the sigops limit is a static count of signature operations, not a runtime check of executed ones, so toolchain developers (e.g. PSBT) know where and how to verify the limit.
“adding the simple dichotomie statically count versus runtime check is not without worthiness for all the toolchains folks (PSBT, etc)”GitHub · quote matchedOpen the message
Decide whether the Bitcoin Core implementation should keep the BIP54 sigops check as a standardness (policy) rule in addition to consensus.
“Do we want to keep the CheckSigopsBIP54 check in standardness too?”GitHub · quote matchedOpen the message
Gregory Sanders reviewed the Bitcoin Core implementation of BIP54 Consensus Cleanup, focusing mainly on whether it complies with the BIP, and found that everything looked good.
“Focused primarily on BIP compliance, everything looks good to me”GitHub · quote matchedOpen the message
Consider adding timewarp test vectors for a difficulty-adjustment block whose previous block's timestamp is 7199, 7200 and 7201 seconds later, to exercise the exact boundary of the two-hour grace period.
“verifying the variation for the triplet where the previous block time is T - 7199, 7200 and 7201 so testing the boundary of `MAX_TIMEWARP`”GitHub · quote matchedOpen the message
Add sigops-limit test vectors for segwit scripts using CHECKMULTISIG preceded by OP_2 through OP_16.
“max-sigops: segwit from OP_2 to OP_16”GitHub · quote matchedOpen the message
Add a test vector for a Taproot transaction with an annex near the 64-byte size boundary, for example a 65-byte transaction whose 1-byte annex is stripped, to check the size rule has no unintended interaction with annex handling.
“What if a 65-byte Taproot transaction is stripped of its 1-byte annex at the p2p-level, normally the annex is committed in the taproot signature so it should fail at signature verification, but the tx should be now rejected early due to its 64-byte size.”GitHub · quote matchedOpen the message
Add more test vectors covering Murch-Zawy attack scenarios for the timestamp rules.
“more Murch-Zawy attack”GitHub · quote matchedOpen the message
Test the BIP 54 implementation for unintended interactions between the new consensus code and other components such as p2p.
“verify there is no unintended interaction of the novel code with things like p2p”GitHub · quote matchedOpen the message
Add test vectors for 64-byte transactions that carry a full or an empty Taproot annex.
“64-byte transaction with Taproot annex full / empty”GitHub · quote matchedOpen the message
Add a transaction-size test vector for a 64-byte Taproot transaction whose witness includes an annex.
“The annex is just another witness stack element, so i'm not sure it would add more value, but it also doesn't hurt to have. I'm happy to add it in a follow-up.”GitHub · quote matchedOpen the message
Add a BIP 54 test vector covering a Segwit version 16 case, beyond the existing versions 0, 1 and 2.
“Maybe i could add a version 16 in a followup if you really think it's worthwhile.”GitHub · quote matchedOpen the message
Find someone with enough hashrate to demonstrate a Murch–Zawy attack on testnet4 by privately mining at least three difficulty adjustment periods.
“A Murch-Zawy can also be done on testnet4, for what it's worth. If we can find someone with some hashrate that could be interesting to do.”GitHub · quote matchedOpen the message
Antoine Riard believes BIP 54's proposed 2500 sigops limit reduces the worst case for quadratic hashing without giving attackers an advantage on prevout lookup cost. He says his earlier concern about double validation no longer applies after recent Bitcoin Core changes.
“I do believe the proposed 2500 sigops limit is slashing the quadratic hashing worst-case concern, while at the same time not providing an advantage to the attacker on the prevout lookup cost.”Mailing list · quote matchedOpen the message
Add BIP 54 test vectors for 64-byte transactions that are Taproot spends with an empty or a full annex.
“probably few vectors missings like for the 64 byte and Taproot transaction with empty or full annex”Mailing list · quote matchedOpen the message
Add 64-byte transaction test vectors for Taproot spends with an empty annex and with a full annex.
“having cases for a Taproot + annex (empty) and a Taproot + annex (full) to be sure that the 64-byte verification logic is checking the code correctly”GitHub · quote matchedOpen the message
Extend the sigops test vector that mixes inputs reaching exactly 2500 BIP54 sigops with a future Segwit program input so it covers future Segwit versions beyond 0, 1 and 2 (for example up to version 16).
“I think it could be valuable to multiply it for the whole range of future Segwit program (i.e from OP_02 to OP_16) to ensure the `CheckSigopsBIP54` parser works well.”GitHub · quote matchedOpen the message
Make sure the timestamp test vectors cover both sides of the boundary of the rule that the first block of a difficulty period may be at most 7200 seconds earlier than the previous block.
“Wondering if there is full coverage for the first equality check, given you have > and = to test each for the variations of minus 7200”GitHub · quote matchedOpen the message
Antoine Poinsot defends BIP54's "potentially executed" sigops limit as the right mitigation. He argues it targets exactly the harmful quadratic-hashing behaviour with minimal impact on legitimate usage, and that alternatives would yield diminishing returns with a larger confiscatory surface.
“The BIP54 mitigation was chosen because it pinpoints exactly the harmful behaviour we want to prevent, with only a minimal impact on potentially legitimate usage”Mailing list · quote matchedOpen the message
Antoine Riard questions whether BIP 54's proposed 2500 per-transaction sigops limit was chosen with full-node costs other than CPU in mind. He notes that an attacker could shift the load to fetching many UTXOs, and wonders whether a better value could be picked, asking whether worst-case transactions maximizing UTXO fetches were analyzed.
“it's a legitimate wonder about the efficiency limit, and more interestingly if there wouldn't be a better value to be selected.”Mailing list · quote matchedOpen the message
Build worst-case transactions that hit the 2500 sigops limit while maximizing UTXO fetches, and measure whether the limit makes prevout lookup DoS cheaper for an attacker, especially on low-memory nodes.
“if worst-case transactions samples binding to the 2500 limit have been crafted to maximize the number of UTXOs fetches”Mailing list · quote matchedOpen the message
State in BIP 54 that the 2500 sigops limit is only meant to mitigate CPU DoS, and say whether other costs such as UTXO fetches, disk IO and bandwidth were evaluated when choosing the value.
“This would be a fair point to modify BIP54 to say that the new sigops limit is only aimed to mitigate CPU DoS”Mailing list · quote matchedOpen the message
Include, and describe in the test vector README, a test case where a coinbase transaction's nLockTime is set to a block height lower than required.
“Should there then perhaps also be a test case that has a coinbase transaction locked to a block height that is lower than required?”GitHub · quote matchedOpen the message
jonatack gave a Concept ACK to the pull request adding test vectors to BIP 54 (Consensus Cleanup). He built Antoine Poinsot's test branch and ran its unit and functional tests successfully.
“Concept ACK, successfully built the test branch”GitHub · quote matchedOpen the message
Have developers of alternative Bitcoin clients review the BIP 54 test vectors and check them against their own implementations.
“I'm seeking feedback on these test vectors from everybody but in particular developers of alternative Bitcoin clients”Mailing list · quote matchedOpen the message
Address the confiscation risk of BIP 54's per-transaction signature operation limit: transactions breaking that rule have already been mined (e.g. txid bb41a757…), and outputs that could be spent the same way already exist on-chain.
“I would actually go as far as to say the confiscation risk is higher with the TX limit proposed in BIP54 as we actually have proof of redemption of TXs that break that rule and the input set to do this already exists on-chain”Mailing list · quote matchedOpen the message
Antoine Poinsot, BIP 54's author, defends its sigops-limit approach. He argues that the limit alone prevents serious network-stalling attacks at minimal confiscatory cost, and that adding further mitigations such as scriptPubKey size limits brings diminishing returns.
“The BIP54 limit on its own prevents an externally-motivated attacker from *unevenly* stalling the network for dozens of minutes”Mailing list · quote matchedOpen the message
Add a release note to the policy change warning developers of collaborative transaction protocols (such as coinjoins) that the new legacy sigops limit could let a participant make the joint transaction non-standard.
“mentioning in release notes that the limit might affect tx collaborative construction for downstream softwares devs and that action might have to be taken at their appreciation”Mailing list · quote matchedOpen the message
Make BIP 54 refer explicitly to BIP 141 when defining which inputs (legacy versus segwit) the sigops limit applies to, so the spec is unambiguous.
“I'm still thinking it would be good BIP stylistic to have BIP54 making an explicit referral to BIP141 to define "legacy" inputs by opposition to "segwit" inputs”Mailing list · quote matchedOpen the message
Clarify in the sigop limit specification that Segwit spends are excluded and always count zero, and define what counts as a legacy input.
“I do think it would be clearer to say that Segwit spends are logically excluded due to a) a Segwit spend's scriptSig must be always empty”Mailing list · quote matchedOpen the message
Inform coinjoin and other multi-party transaction protocol maintainers that the 2500 legacy sigop policy rule lets a participant contribute an input that makes the shared transaction unrelayable, so they can validate contributed inputs.
“it's wise to advertise more towards multi-party use-cases maintainers and devs the potential implications of the deployment of this rule, as soon as it's policy.”Mailing list · quote matchedOpen the message
Provide code implementing the legacy sigop limit so its handling of legacy versus Segwit inputs can be checked.
“Thanks by advance if there is code and specification defining more precisly what is understood as a legacy input under this BIP proposal.”Mailing list · quote matchedOpen the message
Resolve the concern that the 2500 signature operation limit caps how many participants can fund multi-party off-chain constructions such as payment pools; the reply was that the limit only counts legacy (pre-Segwit) signature operations.
“In my understanding the new limit of 2500 signatures operation would make a hard-limit for the number of participants entering in such construction, without other tricks that are consuming more block space.”Mailing list · quote matchedOpen the message
Antoine Riard agrees that BIP 54's 2500 legacy signature-operation limit is needed for DoS protection. He cautions that, as a future consensus rule, it could cap the number of participants in large off-chain constructions such as payment pools, and he asks for a reference implementation so the details can be reviewed.
“Of course, I do not deny the DoS rational of introducing the 2500 sig limit and it's very needed.”Mailing list · quote matchedOpen the message
Provide a reference implementation for BIP 54 and link it from the BIP document so the signature operation limit can be reviewed in code.
“May I kindly note there is no reference implementation attached in the current BIP54 document [1].”Mailing list · quote matchedOpen the message
Antoine Poinsot argues that BIP 54 should not be activated until pathological transactions that exceed its 2500 legacy sigop limit are non-standard and nearly all hashrate would refuse to mine them. Otherwise, he says, activation opens a major DoS vector against unupgraded miners.
“Therefore i propose to make such transactions non-standard and hold off activation of BIP54 until we have good reasons to believe that the vast majority of the hashrate won't create a block containing such a transaction.”Mailing list · quote matched
Backport the non-standardness of transactions exceeding 2500 legacy signature operations to earlier Bitcoin Core versions.
“as well as backported to previous versions”Mailing list · quote matchedOpen the message
Make transactions with more than 2500 legacy signature operations non-standard in Bitcoin Core (PR #32521) for the 30.0 release.
“Bitcoin Core PR #32521 implements this change, which i hope to get into the upcoming 30.0 release”Mailing list · quote matchedOpen the message
Hold off BIP 54 activation until there is good reason to believe the vast majority of hashrate will not mine blocks containing transactions that exceed the 2500 legacy sigop limit.
“hold off activation of BIP54 until we have good reasons to believe that the vast majority of the hashrate won't create a block containing such a transaction”Mailing list · quote matchedOpen the message
Antoine Riard favors prioritizing design, review, testing and activation of the BIP 54 consensus cleanup fixes ahead of CTV+CSFS, citing limited reviewer capacity and the risk of unfavorable interactions between concurrent soft forks.
“So very personally, I favor the optic we go to activate first as much fixes we can among the set of BIP54 ones, then we go to consider for activation CTV alone or CTV+CSFS together.”Mailing list · quote matchedOpen the message
Anthony Towns says transactions that cause quadratic-hashing validation delays should be made invalid by consensus rather than only blocked at relay. He expresses hope that BIP 54's consensus cleanup does this.
“Transactions like that should really be removed from consensus validity not just prevented at the relay level, and BIP 54's consensus cleanup hopefully does that.”Mailing list · quote matchedOpen the message
Decide whether getblocktemplate should supply the required coinbase nLockTime and a suggested nSequence, or leave miners to derive them from the existing height field.
“provide the _required_ `nLockTime` and a _suggested_ `nSequence` (only 1 bit is required)”GitHub · quote matchedOpen the message
Check whether and how the Stratum v2 template code handles BIP 54 rule signaling, so the version field signals support only when the mining client supports it.
“I need to check if / how the stratum v2 template code handles this.”GitHub · quote matchedOpen the message
jonatack approved merging the pull request that adds the BIP 54 Consensus Cleanup document as a Draft, at commit 1ee43519, leaving further edits to follow-up pull requests.
“SGTM, ACK 1ee43519dd2520fbd8ad5c264bd4198acdba4863”GitHub · quote matchedOpen the message
Add a note to the rationale explaining what happens to the coinbase nLockTime height rule once block height reaches LOCKTIME_THRESHOLD (500,000,000).
“It would be useful to mention the implication of reaching block `LOCKTIME_THRESHOLD` 500,000,000”GitHub · quote matchedOpen the message
Explain in the spec what happens to the coinbase nLockTime rule once block height reaches LOCKTIME_THRESHOLD (500,000,000), when the value would be interpreted as a timestamp.
“It would be useful to mention the implication of reaching block `LOCKTIME_THRESHOLD` 500,000,000”GitHub · quote matchedOpen the message
Substantiate or drop the motivation's claim that bundling the fixes amortizes the fixed cost of deploying a soft fork, given that SegWit and Taproot were each deployed as multiple BIPs.
“the claim seems unsubstantiated to erroneous. How does bundling BIPs constitute a material difference in the deployment cost; the activations of both SegWit and Taproot consisted of multiple BIPs. Suggest dropping the sentence entirely.”GitHub · quote matchedOpen the message
Decide whether to split the Consensus Cleanup into separate focused BIPs, one per issue and mitigation, rather than bundling them in one document.
“Better yet, a focused BIP per issue and its mitigation.”GitHub · quote matchedOpen the message
jonatack objects to the way the proposal is packaged, not to its consensus content. He prefers splitting the four fixes into separate, focused BIPs, as BIP 2 and BIP 3 recommend, and is mildly negative (-0.5 to -0.9) even on a single document with clearer separation.
“I'd prefer to see separate, focused BIPs, as recommended in both BIP 2 and BIP 3, as that would be much clearer. Failing which, then clearer separation in this draft but -0.5 to -0.9 on that.”GitHub · quote matchedOpen the message
Provide reference code for the Consensus Cleanup proposal.
“Reference code would be better as well”GitHub · quote matchedOpen the message
Ariard6 thinks it is good to make progress on the timewarp fix in BIP 54 and says they will continue reviewing it. They also note a possible pending security issue with one of the BIP's other mitigations.
“IMHO it's good to make progress on the timewarp fix.”GitHub · quote matchedOpen the message
Resolve Luke Dashjr's objection that requiring the coinbase nLockTime to be the block height removes a field that would make a good extranonce, since it is serialized at the very end of the transaction.
“since the nLockTime field is serialized at the very end of a transaction, it makes for a good extranonce”Forum · quote matchedOpen the message
Decide whether to split the Consensus Cleanup into one BIP per fix, so that each mitigation can carry its own policy rules, rationale and notes on downstream impact.
“For the single aspect of adding more policy rules in the coming fututre, with their rationales and how it can impact downstream softwares, it’s worthy to split them, in my opinion.”GitHub · quote matchedOpen the message
salvatoshi, in passing, says he looks forward to the Great Consensus Cleanup properly mitigating quadratic hashing, which today parallel input validation only poorly mitigates.
“which I look forward to see mitigated more properly with your work on the Great Consensus Cleanup”Forum · quote matchedOpen the message
Decide whether the four consensus fixes (timewarp, worst-case block validation, 64-byte transactions, duplicate transactions) should be split into separate BIPs instead of one bundled document.
“This doesn’t say what is the BIP editorial policy followed here in matter of distributing multiple consensus changes in different BIPs as we have here 4 proposed fixes gathered in a single document”GitHub · quote matchedOpen the message
Add guidance in the BIP that miners must honour the getblocktemplate `mintime` field or use `curtime` unmodified for block timestamps, to stay valid under the timewarp fix.
“they must ensure the `mintime` field of getblocktemplate is honoured, or use `curtime` without modification.”GitHub · quote matchedOpen the message
Add text explaining that miners must upgrade to produce blocks valid under the new rules.
“I think it wouldn’t be unreasonable to mention that miners will have to upgrade to produce valid blocks, even if it may seem obvious.”GitHub · quote matchedOpen the message
Resolve the concern that requiring the coinbase nLockTime to hold the block height removes a field future ASIC designs could use as an extranonce.
“Could you describe (ideally on the ML or Delving thread) the specifics of a future ASIC design where it would matter?”GitHub · quote matchedOpen the message
Antoine Poinsot argues that the Consensus Cleanup's invalidation of 64-byte transactions is better justified than he first thought. He points to several side-systems in development that he says were vulnerable to faked SPV proofs, in some cases to the point of losing all funds.
“The case for making 64-byte transactions invalid is stronger than i initially thought.”Forum · quote matchedOpen the message
Explain in the compatibility section that block producers must upgrade their software to produce blocks valid under the new rules.
“Block producers will need to upgrade to new software to produce valid blocks per the new rules.”GitHub · quote matchedOpen the message
Resolve Luke Dashjr's concern that requiring the coinbase nLockTime to hold the block height takes away a location that could serve as a cheap extranonce for ASICs or microcontrollers.
“But this particular location, as @darosior says, minimises the need to re-hash a lot of data to roll it. That means it can more practically be done on ASICs or MCUs with nearly no latency.”GitHub · quote matchedOpen the message
Resolve whether fixing the coinbase nLockTime to the block height is acceptable, given that nLockTime could otherwise serve as a cheap extranonce for ASIC controllers because it sits at the end of the coinbase transaction.
“it's my understanding that `nLockTime` makes for a good extranonce because it's serialized at the very end of the coinbase transaction.”GitHub · quote matchedOpen the message
Resolve the objection that requiring the coinbase nLockTime to equal the block height minus 1 takes away the best place for an extranonce.
“nLockTime is the most ideal location to put an extranonce, so it seems like a bad idea to burn it for no good reason.”GitHub · quote matchedOpen the message
Luke Dashjr objects to the Consensus Cleanup draft's rule that fixes the coinbase transaction's nLockTime. He argues nLockTime is the best place for an extranonce and should not be used up without good reason.
“nLockTime is the most ideal location to put an extranonce, so it seems like a bad idea to burn it for no good reason.”GitHub · quote matchedOpen the message
Document in the compatibility discussion that requiring coinbase transactions to set nLockTime is not backward-compatible for block producers, who must update their software.
“This doesn’t seem complete. The requirement to set and enforce the locktime is not backward-compatible for block producers.”GitHub · quote matchedOpen the message
State explicitly in the BIP that miners must update their coinbase transaction construction before activation, unlike the optional BIP 145 upgrade for SegWit.
“this BIP should point out that it's mandatory and has to be done _before_ activation.”GitHub · quote matchedOpen the message
Explicitly state that the P2SH redeemScript is included in the signature operation count, so the limit is not ambiguous.
“Not mentioning it explicitly would definitely make it ambiguous as to whether it's included in the count.”GitHub · quote matchedOpen the message
Make clear that the new sigops limit counts legacy signature operations without the 4x segwit scaling factor, so readers don't assume legacy sigops are multiplied by 4.
“Unless you come up with completely different terminology, it's logical to assume legacy sigops are multiplied by 4.”GitHub · quote matchedOpen the message
State clearly in the BIP that miners must upgrade their mining pool software, not just their node, before activation so that coinbase transactions set nLockTime correctly.
“And it shouldn't come as an implementation detail surprise after this BIP is widely accepted.”GitHub · quote matchedOpen the message
Update mining pool software (Stratum v1 stacks relying on getblocktemplate) to craft coinbase transactions with the required nLockTime and nSequence before activation.
“upgrading their stratum v1 stack to something that supports a completely new BIP, otherwise they won't set `nLockTime`, is absolutely critical”GitHub · quote matchedOpen the message
State explicitly that the signature operation limit counts only operations in inputs (scriptSig and the spent scriptPubKey), not in the transaction's own output scriptPubKeys such as bare multisig.
“Still, I think stating that the rule only impacts inputs is more clear than making it implicit.”GitHub · quote matchedOpen the message
Explicitly mention the VERIFY counterparts (CHECKSIGVERIFY, CHECKMULTISIGVERIFY) in the signature operations limit specification.
“Good point for the `VERIFY` version of opcodes.”GitHub · quote matchedOpen the message
Antoine Poinsot, the BIP author, defends including the invalidation of 64-byte transactions in the Consensus Cleanup, arguing that the discontinuity is less bad than keeping the weakness it creates for SPV verifiers. He calls it one of the less important fixes but prefers to keep it unless new arguments or data emerge.
“Of course introducing this discontinuity is pretty ugly. I just believe it's less bad than keeping the weakness that 64 bytes transaction introduce.”Mailing list · quote matchedOpen the message
Reword the signature operation limit section so it does not imply that 2500 is the maximum number of CHECKSIG and CHECKMULTISIG opcodes, and explain how each opcode contributes to the total.
“avoid implying that 2500 is the maximum count of CHECKSIG and CHECKMULTISIG opcodes before explaining how they actually contribute to the total”GitHub · quote matchedOpen the message
Build an example bridge that verifies Bitcoin transaction inclusion using a proposed covenant opcode, and compare how complex it is with and without the 64-byte transaction ban.
“It could be a useful illustration if someone implements such a bridge using any of the proposed covenant op codes, and shows the difference in complexity between having the 64 byte limit and not having it.”Mailing list · quote matchedOpen the message
Address the risk that invalidating 64-byte transactions leaves presigned SegWit transactions signed with SIGHASH_ALL, or committed inside a CTV tree, permanently unconfirmable because they cannot be malleated to a different size.
“But a SIGHASH_ALL could get stuck (can't be confirmed, can't be modified). And IIUC with OP_CTV even a SIGHASH_SINGLE | SIGHASH_ANYONECANPAY, once committed inside a CTV tree, can't be modified.”Mailing list · quote matchedOpen the message
Sjors Provoost defends the Consensus Cleanup's invalidation of 64-byte transactions. He argues that the real flaw is the original Merkle tree design, which only a hard fork could truly fix, so this rule is as good as a soft fork can do. He adds that it simplifies SPV proofs for other smart contract systems.
“Imo the real ward is the originally broken Merkle tree design. That has required a bunch of engineering all over the place to compensate. Afaik it can only be truly fixed with a hard fork. This seems to be as good as it gets with a soft fork.”Mailing list · quote matchedOpen the message
Check whether 64-byte transactions created by accident can always be malleated into a different size, to judge the confiscation risk of invalidating them.
“Even if 64 byte transactions are generated by accident, I believe they can be tweaked after the fact (though that claim could use more scrutiny)”Mailing list · quote matchedOpen the message
Chris Stewart objected that the four largely unrelated fixes (timewarp, validation cost, 64-byte transactions, duplicate transactions) should be documented as separate BIPs under the shared Consensus Cleanup branding; the authors kept a single bundled BIP.
“I believe we should document these changes in separate BIPs.”Mailing list · quote matchedOpen the message
Decide whether the Consensus Cleanup should be split into multiple separate BIPs, one per fix, rather than kept as a single BIP.
“it would be better to have this split up into multiple BIPs”GitHub · quote matchedOpen the message
Justify or reconsider invalidating 64-byte transactions, given the concern that this edge case may integrate poorly with future transaction programmability upgrades.
“I'm also personally strongly against removing 64-byte transactions. It's a wart in how transactions work, and future upgrades (especially around tx programmability) might integrate very poorly with this kind of edge condition.”Mailing list · quote matchedOpen the message
Consult miners and ASIC makers on whether the new coinbase nSequence/nLockTime requirements could break hardware or firmware that hardcodes those fields.
“have you bothered to talk to anyone in the mining business how they feel about that? Are you sure no ASIC in the wild don't hardcode a field that never needed to be set before?”Mailing list · quote matchedOpen the message
Decide whether OP_CHECKSIGVERIFY and OP_CHECKMULTISIGVERIFY count toward the new signature-operation limit.
“I assume you also want to include `OP_CHECKSIGVERIFY` and `OP_CHECKMULTISIGVERIFY`, even though they require actually valid signatures to keep going.”GitHub · quote matchedOpen the message
Antoine Poinsot, the BIP's author, says he is confident moving forward with every mitigation in the Consensus Cleanup. He says each one was researched and discussed at length by multiple people over the past year.
“The fact that each of these mitigations was researched and discussed at length by multiple people over the past year gives me confidence to move forward with every single one of those.”Mailing list · quote matchedOpen the message
Antoine Poinsot opposes splitting the Consensus Cleanup BIP into four separate BIPs. He argues it would add churn, invite bikeshedding and slow progress, because the specification is only a few lines long.
“i don't find the argument for splitting my BIP convincing. On the contrary i think it would be counterproductive as it would create more churn, invite bikeshedding and overall impede progress on this proposal.”Mailing list · quote matchedOpen the message
Chris Stewart gives a concept ACK to the Consensus Cleanup proposal. His concerns are procedural: he wants each of the four security fixes documented in its own BIP, though they could still be deployed together.
“First off, concept ACK. My concerns are procedural rather than objections to the individual security fixes themselves.”Mailing list · quote matchedOpen the message
/dev /fd0 agrees with separating the consensus cleanup changes but says more details and discussion are needed before judging them, since any consensus change could introduce bugs.
“I need more details as some of them could be CIA proxy and introduce another bug. Any change in consensus code need more discussion.”Mailing list · quote matchedOpen the message
Jeremy strongly opposes the Consensus Cleanup's invalidation of 64-byte transactions, arguing it adds an edge condition that future upgrades around transaction programmability might integrate poorly with. He also questions whether miners were consulted on the coinbase nSequence requirement.
“I'm also personally strongly against removing 64-byte transactions. It's a wart in how transactions work, and future upgrades (especially around tx programmability) might integrate very poorly with this kind of edge condition.”Mailing list · quote matchedOpen the message
Sjors gives concept ACK to BIP 54's timewarp and Murch-Zawy fixes and the 64-byte transaction ban, while saying he still needs to study the worst-case validation fix and the nLockTime change.
“Concept ACK on the timewarp and Murch-Zawy fix, as well as the 64 byte transaction ban.”GitHub · quote matchedOpen the message
Show whether every consensus-valid 64-byte transaction can be third-party malleated to add or remove a byte, to settle concerns that invalidating them could confiscate funds.
“If you can additionally demonstrate that any 64 byte transaction is ("third party") malleable in a way that adds or removes a byte, then that would completely alleviate any concerns about confiscatory surface.”GitHub · quote matchedOpen the message
Explain in the BIP why a 64-byte transaction can only have an output script that lets anyone spend the funds or that burns them.
“It would be good to elaborate on these two specific claims.”GitHub · quote matchedOpen the message
Explain in a footnote why the coinbase transaction is exempt from the signature operations limit (its scriptSig size is constrained so the limit cannot be reached).
“And then explain the coinbase exception:”GitHub · quote matchedOpen the message
State explicitly that the new signature-operation limit ignores the witness and applies no 4x scaling for non-segwit scripts, unlike existing sigops accounting.
“Let's also explictly state that, unlike sigops accounting: 1. The witness is ignored 2. There is no 4x adjustment for non-segwit, because of (1)”GitHub · quote matchedOpen the message
Review the BIP 54 implementation(s) beyond the timewarp fix, covering the signature operations limit, the 64-byte transaction ban and the coinbase nLockTime rule.
“I also still need to see and study the implementation(s), outside the timewarp fix”GitHub · quote matchedOpen the message
Add guidance on what miners must and should change (respecting getblocktemplate mintime, setting coinbase nLockTime, running node software that enforces the new limits through standardness) to avoid producing invalid blocks.
“You should elaborate on the changes miners SHOULD and MUST make. Either in this section or one specifically for miners.”GitHub · quote matchedOpen the message
Antoine Poinsot, the author of the Consensus Cleanup draft, considers the proposal ready to be officially published as a BIP after research and community discussion settled the list of mitigations.
“I think it's now ready to be officially published as a BIP.”GitHub · quote matchedOpen the message
Reword the timewarp rule so it is clear that the 7200 seconds are subtracted from the timestamp of block N-1, not from the height N-1.
“Maybe reword this to make it clearer that `minus 7200` is subtracted from the value of `nTime`, and not from `height N-1`”GitHub · quote matchedOpen the message
Rewrite the signature operation limit specification so it presents a single accounting method up front instead of first describing a plain CHECKSIG/CHECKMULTISIG count and then changing how CHECKMULTISIG is counted.
“This should probably be rewritten, as it first introduces one accounting method (count the number of `CHECKSIG` and `CHECKMULTISIG` and check if the count is less than or equal to 2500) and only then changes the accounting for `CHECKMULTISIG`.”GitHub · quote matchedOpen the message
Decide whether to also require the coinbase transaction's nSequence to be non-final so that its nLockTime is enforced, making BIP30 validation never necessary after activation.
“we could also require their `nSequence` not be final. This would make it so the timelock is enforced.”Forum · quote matchedOpen the message
Antoine Poinsot floats an amendment to the Consensus Cleanup, suggested by ajtowns, that would also require coinbase nSequence to be non-final so the height timelock is enforced. He likes it because BIP30 validation would then never be needed after activation, while noting it has little practical impact and asking for feedback.
“Of course it does not matter for any practical purpose. But it's pretty neat.”Forum · quote matchedOpen the message
Determine whether forbidding 1-input, 1-output SegWit transactions that pay to 2-byte witness programs (such as P2A) harms any use case, and document the consequence.
“I am not aware of any reason why this would be a problem, but I have not seen it documented anywhere.”Forum · quote matchedOpen the message
Provide worst-case block validation time figures under the proposed sigops mitigation when the attacker uses only one preparation block, to judge the impact on cheap miner hardware.
“Do you happen to have numbers handy for the worst-case with, for example, one block of prep?”Mailing list · quote matchedOpen the message
Quantify the worst-case block validation time with the 40x sigops mitigation and with the further 7x rule, to decide whether the additional rule is worth its confiscation surface.
“Can you put numbers to this? How long does it take to validate a full block with this 40x decrease and how long would it take with the further 7x decrease?”Mailing list · quote matchedOpen the message
Decide whether to split the consensus cleanup into four separate BIPs (timewarp, worst-case validation time, Merkle tree weakness, duplicate transactions), so that fixes could be deployed separately if some lack consensus.
“There is (a) to have 4 distinct BIPs for each fix”Mailing list · quote matchedOpen the message
Clarify whether the worst-case validation time limit applies to spends of legacy outputs created before activation, given the retroactive confiscation concerns raised in 2019.
“it's unclear to me if the limit aims to apply on UTXO spends spending lecacy scripts ex post to the activation”Mailing list · quote matchedOpen the message
Murch prefers bundling the 64-byte transaction fix together with the other fixes into a single soft fork, as Antoine's Consensus Cleanup work does, rather than proposing it as a separate standalone BIP.
“It seems better to me to package all four fixes in one soft fork.”GitHub · quote matchedOpen the message
Antoine Poinsot argues that all the consensus cleanup fixes should be bundled into one soft fork, since deployment has a large fixed cost and patching only some security bugs would leave the protocol partly vulnerable. He also defends the new validation-time mitigation as conservative: it only adds a transaction-level limit and disables no opcodes.
“I believe it is important to bundle all fixes together to make up for the substantial fixed cost of deploying a soft fork.”Mailing list · quote matchedOpen the message
Chris Stewart welcomed progress on the Consensus Cleanup and drafted a separate BIP for its 64-byte transaction part, arguing that such transactions enable block malleability and attacks on SPV clients.
“Excited to see this work moving forward. I've taken the liberty of carving off the 64 byte transaction portion of this proposal and drafted a BIP.”Mailing list · quote matchedOpen the message
Decide whether to split the four consensus fixes into separate BIPs that can be activated independently, since each fix may win a different level of consensus, rather than bundling them into one proposal.
“I think it's wiser to spread each fix in its own BIP and patchset of code changes”Mailing list · quote matchedOpen the message
Specify precisely how signature operations are counted for the new limit: CHECKMULTISIG counts by an immediately preceding OP_1..OP_16 (otherwise 20), and opcodes in unexecuted branches are counted.
“The condition is whether the script is `OP_1` .. `OP_16` immediately followed by CMS, versus anything else, not strictly the number of keys.”Forum · quote matchedOpen the message
Give the new per-transaction limit its own name, distinct from the existing "sigop" count, to avoid confusing the two limits.
“I think it would be helpful if we could have distinct names for the two limits here -- keep "sigop" for signatures that appear in the p2sh, p2wsh and the output scriptPubKey, and use something new for the new limit”Forum · quote matchedOpen the message
Explain in the BIP's Rationale why requiring the coinbase nLockTime to be the block height minus 1 was chosen over the alternatives.
“how the nLockTime of height-1 won out”Mailing list · quote matchedOpen the message
Explain in the BIP's Rationale why the timewarp grace period was raised from 600 to 7200 seconds.
“share here or in the BIP’s Rationale what convinced you to change the grace period from 600 seconds to 7200 seconds”Mailing list · quote matchedOpen the message
Define the new per-transaction signature operation limit in raw (unscaled) sigop counts, without the ×4 witness-scale factor that applies to pre-SegWit sigops.
“But if you introduce a new name then maybe also don't bother with that multiplication, since it _only_ applies to pre-SegWit spends.”Forum · quote matchedOpen the message
Specify whether signature operations in a bare previous output script (e.g. P2PK) count towards the 2,500 per-transaction sigop limit.
“am I correct assume the 2,500 input limit will apply to CHECK*SIG operations specified in a bare prevout script?”Forum · quote matchedOpen the message
Specify how many signature operations OP_CHECKMULTISIG counts for under the new per-transaction sigop limit (fixed 20 as for bare scripts, or the number of keys as for P2SH).
“In this accounting, how many sigops will `OP_CHECKMULTISIG` (CMS) count for?”Forum · quote matchedOpen the message
Antoine Poinsot, who is reviving the Great Consensus Cleanup, concludes from a year of research that it should fix the timewarp and Murch-Zawy attacks, limit legacy sigops per transaction, invalidate 64-byte transactions, and require the coinbase nLockTime to be set to the block height minus 1. He is drafting a BIP with these specs.
“I believe a Consensus Cleanup proposal should include the following.”Mailing list · quote matchedOpen the message
Antoine Poinsot, the Consensus Cleanup author, agreed to raise the timewarp fix's grace period from 10 minutes to 2 hours. He considers the arguments for it fairly weak, but judges the cost (worst-case block rate increase from ~0.1% to ~0.65%) small enough to err on the safe side.
“Sjors convinced me of using a 2 hours grace period for the timewarp fix.”Forum · quote matchedOpen the message
Antoine Poinsot favors fixing duplicate coinbases in the Consensus Cleanup by requiring every coinbase transaction's nLockTime to be set to the previous block's height. He notes that miners were fine with either option and that this one lets the block height be read without parsing Script.
“Regarding the duplicate coinbase fix, i think we should go with mandating the height of the previous block be set in all coinbase transactions' `nLockTime` field.”Forum · quote matchedOpen the message
Antoine Poinsot proposes that the Consensus Cleanup mitigate worst-case block validation time with a 2,500 per-transaction limit on legacy (bare and P2SH) input sigops. He argues this gives a 40x reduction with a simple, flexible rule that minimizes the confiscatory surface, and he judges a further combined rule not worth its extra confiscatory surface.
“After studying the various options i believe the best way forward is to introduce a 2'500 per-transaction limit on the number of legacy (both bare and P2SH) input sigops.”Forum · quote matchedOpen the message
Decide whether each Consensus Cleanup fix should get its own activation deployment (e.g. a separate BIP9 version bit) rather than activating all fixes together.
“I also think we would be better to package each cleanup consensus change in its own activation sequence (i.e BIP9 nversion bit), rather than trying to deploy a whole set of them at once”Forum · quote matchedOpen the message
Decide whether the consensus cleanup soft fork should be transitory, expiring after a fixed period (e.g. two years) unless explicitly renewed, rather than permanent.
“Instead of making it permanent, we could adopt an expiration, say two years, unless explicitly renewed.”Forum · quote matchedOpen the message
Chris_Stewart_5 sees the Great Consensus Cleanup's fixes (timewarp, 64-byte transactions, worst-case validation time) as security soft forks with little chainsplit risk. He argues they should be deployed independently of feature soft forks, as soon as they are properly reviewed.
“Lets look at the Timewarp attack. This means the miner is attempting to increase block velocity and claim more rewards for themselves. If someone is actively attempting to exploit this, we want to fork them off the network via soft fork.”Forum · quote matchedOpen the message
Raise the timewarp fix grace period from 600 seconds to 7200 seconds, so that miners rolling nTime aggressively do not produce invalid blocks.
“And so I'm proposing to bring it back to 7200, but not for the reason testnet4 initially did it.”Forum · quote matchedOpen the message
Increase the timewarp fix grace period from 600 seconds to 2 hours so that nTime rolling combined with inaccurate peer clocks does not risk invalid blocks.
“The 600 second grace period is cutting it too close imo, and we should consider increasing it to 2 hours for any future proposal”Forum · quote matchedOpen the message
Sjors proposes raising the timewarp grace period in the Consensus Cleanup proposal from 600 to 7200 seconds, though not for the system-clock reason testnet4 originally used. He adds that anything under one day is probably good enough.
“And so I'm proposing to bring it back to 7200, but not for the reason testnet4 initially did it.”Forum · quote matchedOpen the message
Sjors argues that the 600-second backwards grace period in the timewarp fix is too tight and should be raised to 2 hours in any future consensus cleanup proposal. His reason is that nodes should not be assumed to have accurate clocks, and nTime rolling can combine with blocks timestamped in the future.
“The 600 second grace period is cutting it too close imo, and we should consider increasing it to 2 hours for any future proposal”Forum · quote matchedOpen the message
Antoine Riard doubts that invalidating 64-byte transactions, as the Consensus Cleanup proposes, actually fixes the merkle root weaknesses. He argues that the minimal sufficient check for rejecting a block needs more careful analysis first.
“So I think more that the minimal sufficient check to reject a block should be more carefully analyzed, rather than advocating that forbidding some magic value obviously fix an issue, in the present the bitcoin's merkle root weaknesses.”Mailing list · quote matchedOpen the message
Show, with a careful analysis, that invalidating 64-byte transactions actually fixes the Merkle root weaknesses, and compare it with the minimal sufficient check for rejecting a malleated block, such as validating the coinbase null point.
“So I think more that the minimal sufficient check to reject a block should be more carefully analyzed, rather than advocating that forbidding some magic value obviously fix an issue”Mailing list · quote matchedOpen the message
Decide whether the timewarp fix should use a rolling earliest-time-past rule applied to every block instead of a constraint only on the first and last blocks of each difficulty period.
“Having a rule that is applied consistently to every block seems somewhat better to me than a rule that only applies to every 2016th block to me.”Forum · quote matchedOpen the message
Enforce the fix for negative difficulty-period timespans (Murch–Zawy) as a rule on block timestamps rather than as an adjustment inside the difficulty calculation's timespan, to avoid exploits.
“But as a minimum, Murch's limit on timespan better be enforced on the timestamp instead of timespan or there's probably an exploit.”Forum · quote matchedOpen the message
Decide whether the Murch–Zawy timestamp restriction should apply to every block instead of only the last block of a difficulty period, to avoid inconsistent rules that external MTP-dependent software might mishandle.
“Applying Murch's timestamp limit to every block appears better than doing it only on the 2016th block”Forum · quote matchedOpen the message
zawy considers Murch's proposed timespan limit for the timewarp fix in the Consensus Cleanup the easiest and safest option. He argues it prevents an attack without breaking anything, while also urging that a monotonicity fix be kept ready for emergencies.
“Murch's fix seems the easiest and safest in terms of preventing an attack and not breaking anything.”Forum · quote matchedOpen the message
Antoine Poinsot argues that the Consensus Cleanup should be amended to fix the Murch-Zawy timestamp attack. The fix would require that the last block of a retarget period never has a timestamp lower than the first block of that period.
“I think the Consensus Cleanup should include a fix for the [Murch-Zawy attack]”Forum · quote matchedOpen the message
Add a fix for the Murch-Zawy attack by requiring the last block of a retarget period to have a timestamp no lower than the first block of that period.
“I think the Consensus Cleanup should include a fix for the [Murch-Zawy attack]”Forum · quote matchedOpen the message
Decide how future coinbase transactions must differ from early BIP34-violating coinbases: nLockTime set to height minus one, nLockTime set to height with max nSequence, a non-1 nVersion, or a mandatory witness commitment.
“Is any of these preferable? Why? Would any of these make miners' life really hard? For what reason? Do you have an alternative suggestion?”Mailing list · quote matchedOpen the message
Gather input from mining industry engineers and stakeholders on which coinbase uniqueness fix would be easiest for them to adopt.
“I am sending this email to reach out to engineers and stakeholders of the mining industry, to learn if some ways of fixing this would make things easier for them than others.”Mailing list · quote matchedOpen the message
Decide whether the coinbase nLockTime should be set to the parent block's height rather than the block's own height.
“Why wouldn't you have `nLockTime` be the height of the parent block (mod 500M) instead?”Forum · quote matchedOpen the message
Decide how coinbase transactions are made unique: set nLockTime to the block height (with or without an off-by-one and an nSequence restriction), or instead require a coinbase nVersion other than 1.
“we might favor the small confusion over restricting the coinbase's `nSequence`.”Forum · quote matchedOpen the message
Resolve the conflict where setting the coinbase nLockTime to the block height would fail the IsFinalTx() check unless the coinbase nSequence is forced to SEQUENCE_FINAL.
“this would require mandating the coinbase input to have its `nSequence` field be `SEQUENCE_FINAL`, as otherwise the coinbase transaction would fail the `IsFinalTx()` check”Forum · quote matchedOpen the message
Antoine Poinsot is leaning toward making 64-byte transactions invalid as part of the Consensus Cleanup proposal. He says that, despite pushback on some claimed benefits, the reduced complexity for SPV applications outweighs the cost.
“i'm leaning toward including the invalidity of 64 bytes transactions as part of the consensus cleanup proposal”Forum · quote matchedOpen the message
Antoine Poinsot defends the Consensus Cleanup approach of making 64-byte transactions invalid over an alternative coinbase-proof mitigation. He argues the alternative is roundabout and does not address the root issue, and that it would require miners to update their software.
“This is a roundabout way of closing the fake inclusion attack vector instead of addressing the root issue that 64 bytes transaction are indistinguishable from inner nodes.”Forum · quote matchedOpen the message
Weigh whether invalidating 64-byte transactions is worth a soft fork and mandatory size checks, given that SPV clients can instead verify the coinbase Merkle path to learn tree depth at modest bandwidth cost.
“The tradeoff in the full node is mandatory checking of the stripped size of all transactions (and soft fork) vs. doing nothing (possibly "compressing" null points for SPV clients).”Forum · quote matchedOpen the message
ajtowns defends the consensus cleanup's rule invalidating 64-byte transactions. He argues it improves the correctness of block inclusion proofs over the status quo, and is simpler than the alternative of including the coinbase in the proof.
“Compared to the status quo, it improves the correctness of block inclusion proofs. Compared to including the coinbase in the proof, I think the reduction in complexity is more of an advantage tbh”Forum · quote matchedOpen the message
Decide whether Consensus Cleanup should make 64-byte transactions invalid, weighing smaller and safer Merkle inclusion proofs against adding a non-obvious validity rule.
“To evaluate whether to include it in a future Consensus Cleanup proposal, i'd like to weigh the remaining pros and cons of making 64 bytes transactions invalid through a soft fork.”Forum · quote matchedOpen the message
Decide whether to fix the Merkle tree weakness by committing to tree depth in the block header version field rather than by other means such as invalidating 64-byte transactions.
“@evoskuil mentioned an alternative potential soft fork: a commitment to tree depth, which could be done for any depth possible with the current consensus rules[1] using only 4 bits.”Forum · quote matchedOpen the message
Drop the node-side justifications for invalidating 64-byte transactions (earlier malleation detection, caching invalid block hashes, unique block identification) and justify the rule on its SPV benefits instead.
“My point is to exclude the invalid arguments from consideration.”Forum · quote matchedOpen the message
Justify or reconsider invalidating 64-byte transactions, given the objection that valid blocks do not have malleable hashes and that the rule adds unnecessary validation checks.
“The proposed invalidation of 64 byte transactions does not in any way represent a fix to a vulnerability. Valid blocks do not have malleable block hashes.”Forum · quote matchedOpen the message
Justify or drop the rule invalidating 64-byte transactions, which the author argues is an unnecessary consensus change whose only real benefit is a minor SPV bandwidth saving.
“fixing a perceived consensus-related security issue, which has been shown to be a suboptimal and unnecessary fix. It is not a trivial thing to add a new consensus rule”Forum · quote matchedOpen the message
evoskuil objects to a new consensus rule being argued for in the Consensus Cleanup discussion, calling it unnecessary and rejecting the justification that knowledge of the issue has spread only in a limited way.
“You are quite literally arguing in favor of a new and unnecessary CONSENSUS RULE because of "limited propagation of knowledge."”Forum · quote matchedOpen the message
evoskuil opposes the proposed consensus cleanup rule invalidating 64-byte transactions, arguing it fixes no vulnerability, is a more complex and costly mitigation than existing solutions, and adds a pointless consensus rule.
“In terms of consensus, it adds a pointless and counterproductive rule. It will require validation checks that are not necessary.”Forum · quote matchedOpen the message
evoskuil opposes one proposed new consensus rule in the Consensus Cleanup, not the cleanup as a whole. He argues the rule is a suboptimal and unnecessary fix for the security issue it targets, and that its modest bandwidth saving for SPV proofs does not justify a new consensus rule.
“The bandwidth savings was a modest side effect benefit of fixing a perceived consensus-related security issue, which has been shown to be a suboptimal and unnecessary fix.”Forum · quote matchedOpen the message
harding argues that the consensus cleanup's change to restore the security of simple merkle-tree transaction inclusion proofs (the 64-byte transaction issue) is a genuine fix worth carefully weighing. He says documentation alone does not adequately protect downstream developers.
“Restoring a simple protocol to its originally intended security is a fix, in my opinion.”Forum · quote matchedOpen the message
harding supports the Consensus Cleanup's new rule against the SPV merkle-tree vulnerability. He argues that fixing it helps widely used software, simplifies future software and reduces bandwidth, whereas the coinbase-depth workaround adds code and inflates proof sizes.
“Fixing a vulnerability that affects widely used software, that simplifies the design of future software, and that reduces network (and potentially consensus) bandwidth seems useful to me.”Forum · quote matchedOpen the message
Justify invalidating 64-byte transactions against the objection that a simpler, equally effective fix exists that needs no new consensus rule.
“As that discussion presently stands I see no justification for the proposed invalidation of 64 byte transactions. As discussed, there is a much simpler, more efficient, and equally effective resolution that requires no new consensus rule.”Forum · quote matchedOpen the message
Antoine Riard notes some minor downsides of the timewarp fix in the Consensus Cleanup proposal, such as needing to upgrade mining and pool software, but says they do not stand in the way of pursuing this fix to the difficulty adjustment algorithm further.
“Personally, I don't think those downsides raise a bottleneck to further inquiry on this cleaning up of the difficulty adjustement algorithm.”Mailing list · quote matchedOpen the message
evoskuil opposes the Consensus Cleanup's proposed invalidation of 64-byte transactions, arguing that a simpler, more efficient and equally effective fix for block hash malleability exists that needs no new consensus rule.
“As that discussion presently stands I see no justification for the proposed invalidation of 64 byte transactions.”Forum · quote matchedOpen the message
Check, and update where needed, each block template provider other than Bitcoin Core (other getblocktemplate implementations, Stratum V2) so it sets the first block's timestamp of a difficulty period in line with the timewarp fix.
“this upgrade behavior is far from being ported in any other block template providers (e.g getblocktemplate other implementations, stratum v2) in the mining ecosystem”Mailing list · quote matchedOpen the message
Document what miners and block template software must do with timestamps to avoid producing blocks that break the new timewarp rule.
“I don't know if it should be further documented or implemented (e.g addendum to bip23 ?)”Mailing list · quote matchedOpen the message
Decide whether to delay activation by one or more years in case miners need to change custom coinbase-processing software beyond upgrading their node.
“Perhaps it should activate a (few) year(s) later, if it turns out miners have to do more than just upgrade their node.”Forum · quote matchedOpen the message
Decide to enforce the coinbase nLockTime rule as soon as the soft fork activates rather than waiting until block 1,983,702.
“This does imply that we should enforce this rule as soon as the soft fork activates and not wait for block 1,983,702.”Forum · quote matchedOpen the message
Encourage miners to run software that sets the coinbase nLockTime well before activation parameters are set, to uncover unknown compatibility problems.
“we could encourage miners to run this well before any activation parameters are set, to figure out if there is a problem we're not aware of.”Forum · quote matchedOpen the message
Antoine Poinsot supports the suggested fix for the Murch-Zawy alternating timestamp attack and suggests it could be added to the consensus cleanup. Combined with the cleanup's timewarp fix, it would make retarget periods monotonic and stop a 51% attacker from driving the difficulty down.
“Your suggested fix makes sense. Coupled with the consensus cleanup's timewarp fix this would effectively make retarget periods monotonic.”Forum · quote matchedOpen the message
Include a fix for the Murch-Zawy alternating timestamp attack (requiring non-negative difficulty period duration) in the Consensus Cleanup.
“The fix could be included as part of the consensus cleanup revival.”Forum · quote matchedOpen the message
Add a consensus rule requiring the last block of a difficulty period to have a timestamp not lower than the first block of the same period, to mitigate the Murch–Zawy alternating timestamp attack.
“It may be useful to softfork an additional requirement on timestamps, that requires that the last block in a difficulty period N has a higher timestamp than the first block in the same difficulty period N”Forum · quote matchedOpen the message
Require the coinbase transaction's nLockTime to commit to the block height so the height can be extracted without parsing Script.
“I'd still very much love to see the nLockTime set to the block height, it makes pulling the block height out of the coinbase transaction simpler”Forum · quote matchedOpen the message
Enforce the coinbase uniqueness rule within a few years of activation instead of deferring its effect until block 1,983,702, so that implementers actually adopt it.
“Having a new rule not have any effect until decades in the future seems like a good way to have people not implement it (at all, let alone correctly)”Forum · quote matchedOpen the message
Avoid fixing the coinbase witness value to the block height for the duplicate-coinbase fix, since that would block future commitments there; commit to the height elsewhere instead.
“If we fix the coinbase witness value to 00000000height, then you cannot start shoving further commitments in it?”Forum · quote matchedOpen the message
ajtowns favors making coinbase transactions unique by requiring their nLockTime to match the BIP34 height, rather than requiring a witness commitment. He reasons that people who generate empty blocks with simple manual scripts would find bumping nLockTime much easier than adding a coinbase witness and its commitment.
“bumping the `nLockTime` to match the BIP34 height commitment is likely a lot easier than adding support for even an all-zero coinbase witness, plus its commitment. So, :+1:”Forum · quote matchedOpen the message
Use the coinbase nLockTime field instead of a required witness commitment to make new coinbases differ from historical ones, because requiring the commitment would undermine its intended use as a flexible future commitment root.
“This makes the witness commitment useless for its intended purpose - a flexible (future) merkle root committing to additional commitments. The nLockTime field is a *much* neater way of doing this”Forum · quote matchedOpen the message
Antoine Poinsot supports using the coinbase transaction's nLockTime to enforce coinbase uniqueness in the Consensus Cleanup, with the rule taking effect at height 1,983,702 (about 21 years away).
“I agree, i think we should just use `nLockTime` and make the rule kick in at height 1,983,702 (in about 21 years).”Forum · quote matchedOpen the message
Matt Corallo favors the Consensus Cleanup making coinbase transactions unique through the nLockTime field, not the witness commitment. He argues that using the witness commitment would ruin its use as a flexible future commitment root, and that miners can adapt given a year or two of lead time.
“The nLockTime field is a *much* neater way of doing this, and I don't really see why "miners have to slightly tweak their software" is a huge deal as long as they get a year or two of lead time to do it.”Forum · quote matchedOpen the message
Decide whether the coinbase nLockTime requirement should take effect after a delay (for example two years after activation) to give miners time to update their software.
“We could even set this part of the fork to activate on some substantial delay - after the GCCR fork activates, the nLockTime requirement only turns on two years later or whatever.”Forum · quote matchedOpen the message
Address Eric Voskuil's objection that invalidating 64-byte transactions adds validation cost and complexity without making block hashes unique identifiers, since checking the coinbase null point already detects 64-byte Merkle malleation cheaply.
“(4) the additional consensus rule will increase validation cost and code complexity.”Mailing list · quote matchedOpen the message
Eric Voskuil opposes the Consensus Cleanup's rule invalidating 64-byte transactions. He argues it would not make block hashes unique identifiers and would not detect malleated blocks any earlier. In his view it adds validation cost and complexity, since checking the coinbase for a null point already suffices.
“It is also not the case that detection of type64 malleated blocks can be made more performant if 64 byte txs are globally invalid. In fact the opposite is true, it becomes more costly (and complex) and is therefore just dead code.”Mailing list · quote matchedOpen the message
Eric Voskuil objected that invalidating 64-byte transactions is redundant for rejecting malleated block messages, because they can be detected cheaply by checking for the coinbase null point, and that the rule only slows validation; the spec keeps the rule and justifies it by its benefit to Merkle proof users.
“An invalid 64 byte tx consensus rule would definitely not make it harder to exploit block message invalidity. In fact it would just slow down validation by adding a redundant rule.”Mailing list · quote matchedOpen the message
Eric Voskuil opposes the Consensus Cleanup's rule making 64-byte transactions invalid. He argues it is a redundant rule that would slow validation, since that malleation can already be detected cheaply by checking for the coinbase null point, and he considers caching invalid blocks counterproductive.
“An invalid 64 byte tx consensus rule would definitely not make it harder to exploit block message invalidity. In fact it would just slow down validation by adding a redundant rule.”Mailing list · quote matchedOpen the message
Eric Voskuil disputes the claim that invalidating 64-byte transactions helps nodes cache block invalidity earlier. The motivation should not rely on that benefit.
“64-bytes transactions invalid could help caching block failures at an earlier stage is incorrect.”Mailing list · quote matchedOpen the message
Before relying on 64-byte transaction invalidity for faster block malleability checks, develop a full fast block-malleability validation algorithm and benchmark it in Bitcoin Core, since the benefit is implementation dependent.
“it would be more constructive to come out with a full-fleshout "fast block malleability validation" algorithm in the sense of SipHash (-- and see to have this implemented and benchmarked in core) before to consider more the 64 byte transaction invalidity at the consensus level.”Mailing list · quote matchedOpen the message
Eric Voskuil challenged the rationale that invalidating 64-byte transactions lets nodes cache invalid block hashes to avoid re-downloading and re-validating, arguing that malleated blocks are cheaper to discard early and that caching by block hash is not optimal; the rationale needed to be dropped or justified.
“So why the block hash cache requirement? It cannot be applied to many scenarios, and cannot be optimal in this one.”Mailing list · quote matchedOpen the message
Antoine Riard thinks a full "fast block malleability validation" algorithm should be designed, implemented and benchmarked in Bitcoin Core before the consensus cleanup's rule invalidating 64-byte transactions is considered further. His reason is that the efficiency of that rule depends heavily on the implementation.
“it would be more constructive to come out with a full-fleshout "fast block malleability validation" algorithm in the sense of SipHash (-- and see to have this implemented and benchmarked in core) before to consider more the 64 byte transaction invalidity at the consensus level.”Mailing list · quote matchedOpen the message
Answer Eric Voskuil's objection that invalidating all 64-byte transactions does not allow earlier caching of block failures, only adds redundant checks, and introduces a discontinuity in valid transaction sizes.
“A rule to prohibit *all* 64 byte txs is counterproductive as it only adds additional checks on typically thousands of txs per block, serving no purpose.”Mailing list · quote matchedOpen the message
Eric Voskuil opposes the Consensus Cleanup's rule making 64-byte transactions invalid. He argues it does not let nodes cache block invalidity any earlier, and that the existing null-coinbase-point check already detects that malleation earlier, faster and more simply. In his view the rule only adds redundant, costly late-stage checks and an arbitrary size discontinuity.
“A rule to prohibit *all* 64 byte txs is counterproductive as it only adds additional checks on typically thousands of txs per block, serving no purpose.”Mailing list · quote matchedOpen the message
Antoine Poinsot defends making 64-byte transactions invalid as part of the consensus cleanup. He argues that the check is simple, so the risk of implementation bugs is small, and that it would make it impossible for two valid blocks to share the same hash.
“The potential for implementation bugs is a fair point to raise, but in this case i don't think it's a big concern. Verifying no transaction in a block is 64 bytes is as simple a check as you can get.”Mailing list · quote matchedOpen the message
Address the objection that invalidating 64-byte transactions does not make block hashes unmalleable, because duplicate-transaction-hash malleation remains, so this cannot be claimed as a benefit.
“This does not produce unmalleable block hashes. Duplicate tx hash malleation remains in either case, to the same effect.”Mailing list · quote matchedOpen the message
Justify invalidating 64-byte transactions against the objection that it adds a permanent consensus seam in valid transaction sizes, may cause more implementation bugs than it prevents, and mainly saves a little SPV proof bandwidth.
“It seems to me that introducing an arbitrary tx size validity may create more potential implementation bugs than it resolves.”Mailing list · quote matchedOpen the message
Eric Voskuil opposes the Consensus Cleanup's proposed rule making 64-byte transactions invalid. He argues it brings no performance gain over checking for a null coinbase point and adds a permanent consensus seam, and that it does not deliver unmalleable block hashes because duplicate-txid malleation remains. In his view the only benefit is small bandwidth savings for SPV proofs, which does not justify a new consensus rule.
“I would have a very hard time justifying adding any consensus rule to achieve only that result.”Mailing list · quote matchedOpen the message
Antoine Poinsot supports including the invalidation of 64-byte transactions in the consensus cleanup soft fork. He argues it enables earlier caching of block failures, saves SPV bandwidth, removes footguns and makes block hashes unique, with trivial confiscatory effect.
“Therefore i believe the benefits of making them illegal outweigh the costs.”Mailing list · quote matchedOpen the message
Justify invalidating 64-byte transactions when an existing context-free check, such as requiring the coinbase's first input to be null, might already be enough to detect malleated Merkle trees.
“My question is why is that not sufficient - especially given that a similar (context free) check is required for duplicated tx malleability?”Mailing list · quote matchedOpen the message
Justify invalidating 64-byte transactions when checking that the coinbase input is a null point during deserialization may already let implementations safely mark malleated blocks as permanently invalid.
“why is not a deserialization phase check for the coinbase input as a null point not sufficient mitigation (computational infeasibility) for any implementation that desires to perform permanent invalidity marking?”Mailing list · quote matchedOpen the message
ariard argues that the known DoS surface addressed by the Great Consensus Cleanup should be fixed before any block size increase, to keep the base-layer network robust.
“in a world where there is a already well-known DoS surface about current block size (a.k.a "The Great Consensus Cleanup"), it sounds more wise to address first those concerns to preserve the robustness of the base-layer network.”Forum · quote matchedOpen the message
Decide which mechanism (e.g. coinbase nLockTime or another one) should make coinbase txids unique after block 1,983,702, so that duplicate transactions are avoided.
“I think we should just make coinbase txids after block 1'983'702 unique (either through `nLockTime` or another mechanism).”Forum · quote matchedOpen the message
Mark F objected that fixing the timewarp bug would permanently rule out forward-blocks-style soft forks for flexible block size and subsidy smoothing, so the fix needed to be justified against giving up that capability.
“fixing the timewarp bug will _permanently_ cutoff the bitcoin community from ever having the ability to scale on-chain in a backwards-compatible way, now or decades or centuries into the future.”Mailing list · quote matchedOpen the message
Mark F objects to the consensus cleanup's timewarp fix. He argues it would permanently remove the ability to make changes like flexible block size and subsidy smoothing as backwards-compatible soft forks (as in his forward blocks proposal).
“Therefore fixing the timewarp bug will _permanently_ cutoff the bitcoin community from ever having the ability to scale on-chain in a backwards-compatible way, now or decades or centuries into the future.”Mailing list · quote matchedOpen the message
Decide whether the timewarp fix is worth closing off forward blocks, which Mark F calls the only known way to raise effective block size while staying fully compatible with un-upgraded nodes.
“with the tradeoff of removing the only known mechanism for upgrading the bitcoin protocol to larger effective block sizes while staying 100% compatible with un-upgraded nodes”Mailing list · quote matchedOpen the message
Antoine Poinsot argues the timewarp bug should be fixed as part of the consensus cleanup, saying it changes the 51% attacker threat model and lets miners force extra block data on nodes, and that this cost outweighs losing the "forward blocks" idea.
“the cost of not fixing timewarp objectively far exceeds the cost of making "forward blocks" impossible.”Mailing list · quote matchedOpen the message
Mark F opposes the timewarp fix in the Consensus Cleanup, arguing it only closes an unlikely, easily countered subsidy-draining attack while removing the only known way to raise effective block size compatibly with un-upgraded nodes (Forward Blocks).
“disabling time-warp will close off an unlikely and difficult to pull off subsidy draining attack that to activate would necessarily require weeks of forewarning and could be easily countered in other ways”Mailing list · quote matchedOpen the message
Choose a coinbase uniqueness mechanism other than requiring a witness commitment, since that cannot be enforced on past blocks.
“So requiring a witness commitment does not seem appropriate, because it can not be enforced on past blocks.”Forum · quote matchedOpen the message
Justify a consensus soft fork for coinbase uniqueness, given that a rule which cannot apply from genesis still leaves BIP30 fallback code needed for deep reorgs.
“If fallback code is needed anyway, then it seems better to do it without a consensus deployment.”Forum · quote matchedOpen the message
Decide whether the cleanup soft fork should cap scriptPubKey size (e.g. at 105 bytes) to move validation cost to the spending block.
“I think limiting scriptPubKeys to 105 bytes would cover all the existing standard cases”Forum · quote matchedOpen the message
Decide whether to add a rule retroactively preventing the two historical candidate blocks (209,921 and 490,897) from ever having a duplicate coinbase.
“we should consider adding a rule to retroactively prevent the two historical candidates (209,921 and 490,897) from having a duplicate coinbase at all.”Forum · quote matchedOpen the message
Decide how to make future coinbase transactions unique from block 1,983,702 onward, such as by requiring a witness commitment in non-empty blocks or by another field.
“blocks (with more than one transaction) at or above 1,983,702 MUST have a witness commitment”Forum · quote matchedOpen the message
ajtowns opposes including a fix for the SIGHASH_SINGLE bug in the consensus cleanup. He argues the behaviour has legitimate uses, such as cheaply sweeping insecure dust and reusable 'release' signatures, and that people can avoid it by using p2wpkh, p2wsh or p2tr.
“So personally I think it's fine to leave this as-is, and just recommend people use p2wpkh, p2wsh or p2tr instead to avoid this weird behaviour unless they actually want it.”Forum · quote matchedOpen the message
recent798 objects to the duplicate-coinbase part of the Consensus Cleanup, the requirement for a witness commitment. They argue that a soft fork cannot be enforced on past blocks, so fallback code is needed anyway, and the fix seems better done without a consensus deployment.
“So requiring a witness commitment does not seem appropriate, because it can not be enforced on past blocks.”Forum · quote matchedOpen the message
Decide how to count the sigops of spent bare-script prevouts toward the validation-cost limit, since they are currently only counted when the output is created.
“With regard to validation costs i think we should instead make sigops of prevouts with bare scripts count toward the budget of the block it's spent in.”Forum · quote matchedOpen the message
Resolve whether requiring a witness commitment in every coinbase transaction breaks empty blocks that contain only the coinbase.
“Wouldn't this not work for the occasional empty block?”Forum · quote matchedOpen the message
Check whether requiring the coinbase nLockTime to be set to the block height breaks anything for Stratum V2 or mining job distribution.
“To be checked if it doesn't break anything w.rt Stratum V2 / mining job distribution.”Mailing list · quote matchedOpen the message
Avoid a consensus minimum transaction size that would require all lightweight clients to update their acceptance logic; the spec instead invalidates only transactions of exactly 64 bytes.
“I think any consensus boundaries on the minimal transaction size would need to be done carefully and have all lightweight clients update their own transaction acceptance logic”Mailing list · quote matchedOpen the message
Antoine Riard supports the consensus cleanup's fix for the timewarp attack, citing its safety implications for long-term timelock use. He considers alternatives to forward blocks sufficient, so fixing timewarp is fine with him.
“I think fixing the timewarp attack is a good idea, especially w.r.t safety implications of long-term timelocks usage.”Mailing list · quote matchedOpen the message
Sjors supports pursuing the consensus cleanup soft fork while keeping it simple and uncontroversial. He argues that without a soft fork, an attack using slow-validating blocks could push pool operators into unhealthy off-chain coordination.
“But without a soft fork I'm worried that if an attack takes places, especially if people see it coming, there's an incentive for pool operators to hop on a phone call and coordinate what to do about it.”Forum · quote matchedOpen the message
Decide whether the 2012 SIGHASH_SINGLE bug should also be fixed as part of the Consensus Cleanup soft fork.
“I think SIGHASH_SINGLE bug reported in 2012 should also be fixed with other bugs”Forum · quote matchedOpen the message
Address confiscation concerns about the legacy Script restrictions that reduce worst-case validation time, for example by applying them only to outputs created after a given height.
“Some confiscation concerns were raised about the proposed mitigations. I believe those concerns are reasonable and could be addressed by only applying the new rules when checking the script for an output created after a certain block height.”Forum · quote matchedOpen the message
Restrict the transaction size rule to invalidating exactly 64-byte transactions instead of all transactions of 64 bytes or less, since smaller ones are not harmful.
“However the BIP proposes to also make less-than-64-bytes transactions invalid. Although they are of no (or little) use, such transactions are not harmful.”Forum · quote matchedOpen the message
Antoine Poinsot supports reviving the Great Consensus Cleanup, arguing the worst-case block validation time is concerning and that the timewarp bug, duplicate coinbase transactions and 64-byte transactions should be fixed. He also suggests limiting the maximum size of legacy transactions.
“i think the worst block validation time is concerning. The mitigations proposed by Matt are effective, but i think we should also limit the maximum size of legacy transactions for an additional safety margin”Mailing list · quote matchedOpen the message
Antoine Poinsot, revisiting the Great Consensus Cleanup, argues the bugs it targets are serious and worth fixing. He points to the timewarp vulnerability and the worst-case block validation time, and supports making 64-byte transactions invalid.
“i think it's bad. The worst case block validation time is concerning. I also believe it's more important to fix the timewarp vulnerability than people usually think.”Forum · quote matchedOpen the message
Antoine Poinsot opposes the original proposal's rule that also invalidates transactions smaller than 64 bytes, and would invalidate only exactly 64-byte transactions. He says being useless is not enough reason to ban a transaction type by soft fork.
“I believe considering a type of transaction useless is not sufficient motivation for making them invalid through a soft fork.”Forum · quote matchedOpen the message
Decide whether to add a limit on the size of legacy transactions as an extra safety margin on worst-case block validation time.
“I believe we could further introduce a limitation on the size of legacy transactions to be on the safe side.”Forum · quote matchedOpen the message
Add a fix making coinbase transactions unique so that BIP30 validation is not needed after block 1,983,702, choosing between requiring the coinbase nLockTime to commit to the height and making the witness commitment mandatory.
“A neat fix would be to simply requires the `nLockTime` field of the coinbase transaction to be set to the height of the block being created. However there is a more roundabout fix which is potentially easier for miners to deploy: make the witness commitment mandatory”Forum · quote matchedOpen the message
Anthony Towns says it is unclear to him whether the great consensus cleanup should be deployed on mainnet as is, after specific changes, or not at all. He adds that it is also unclear what work would settle the question, and suggests evaluation on signet as a way to get an answer.
“it's the same thing with drivechains and the great consensus cleanup: are these ideas sensible to deploy on mainnet? If the answer to that were a clear yes for either of them, then it would make sense to work on merging them in core”Mailing list · quote matchedOpen the message
Anthony Towns says he is convinced that at least some of the ideas in the 2019 Great Consensus Cleanup proposal (the precursor to BIP 54) are good, though not necessarily all of them. He regrets that it has not made more progress.
“Maybe not all of the ideas in it were unambiguously good [1], but personally, I'm convinced at least some of them are, and I don't think I'm alone in thinking that.”Mailing list · quote matchedOpen the message
Avoid fixing the OP_CODESEPARATOR validation cost by disabling it outright, since that risks confiscating user funds; the problem is not severe enough to justify the risk.
“Codeseperator and its related costs are not an especially severe problem.”Mailing list · quote matchedOpen the message
Avoid invalidating undefined sighash type bytes by consensus and instead mitigate validation cost with a non-consensus alternative such as caching the sha256 midstate.
“I still think the alternative proposal of caching the sha256 midstate is the better choice. We should strive to avoid changing the consensus rules when we have reasonable alternatives to achieve our goals.”Mailing list · quote matchedOpen the message
Avoid disabling OP_CODESEPARATOR, since it is a usable opcode and simplifying Bitcoin's theoretical operation does not justify removing it; mitigate the validation-cost vulnerability another way.
“Simplifying the theoretical operation of Bitcoin is not a sufficient reason to make changes to the consensus rules, and it is most certainly not a sufficient reason to remove usable op codes.”Mailing list · quote matchedOpen the message
Russell O'Connor opposes the Great Consensus Cleanup's removal of OP_CODESEPARATOR by consensus. He argues that simplifying Bitcoin's theoretical operation is not sufficient reason to remove usable opcodes, and that OP_CODESEPARATOR turned out to be useful. He supports making it non-standard and proposes counting executed OP_CODESEPARATOR/CheckSig pairs instead.
“Simplifying the theoretical operation of Bitcoin is not a sufficient reason to make changes to the consensus rules, and it is most certainly not a sufficient reason to remove usable op codes.”Mailing list · quote matchedOpen the message
Russell O'Connor opposes the Consensus Cleanup's plan to invalidate unusual sighash type bytes. He prefers the alternative of caching the sha256 midstate, because consensus rule changes should be avoided when reasonable alternatives exist, though he concedes the change is not unprecedented.
“I still think the alternative proposal of caching the sha256 midstate is the better choice. We should strive to avoid changing the consensus rules when we have reasonable alternatives to achieve our goals.”Mailing list · quote matchedOpen the message
Bound worst-case validation cost with a counting limit (such as alternating OP_CODESEPARATOR and CHECKSIG pairs) instead of disabling OP_CODESEPARATOR.
“it is really alternating uses of OP_CODESEPARATOR and CheckSig operations that is problematic, so it is probably worth attempting to count these pairs rather than just OP_CODESEPARATORS.”Mailing list · quote matchedOpen the message
Jacob Eliosoff supports the Consensus Cleanup's disabling of OP_CODESEPARATOR. He argues that research found no users relying on it, so refusing to disable it over backward-compatibility concerns takes caution too far.
“a case like this where extensive research unearthed zero users, is taking caution too far.”Mailing list · quote matchedOpen the message
Matt Corallo defends the Consensus Cleanup proposal's removal of OP_CODESEPARATOR by soft fork. He says nobody is known to use it, that removing it simplifies checksig analysis, and that a proposed alternative of charging extra weight does not solve the problem.
“It would end up being a huge shame to have all the OP_CORESEPARATOR mess left around after all the effort that has gone into removing it for the past few years”Mailing list · quote matchedOpen the message
Avoid disabling OP_CODESEPARATOR in P2SH and mitigate its validation-cost vulnerability another way, such as raising its weight, so usable opcodes are not removed.
“it would be much better than eliminating OP_CODESEPARATOR within P2SH entirely.”Mailing list · quote matchedOpen the message
Avoid disabling OP_CODESEPARATOR by consensus, because users with existing funds locked in such scripts could have them confiscated even though the opcode is already non-standard.
“While non-standardness is a helpful in dissuading users from committing new funds to OP_CODESEPARATOR scripts, it doesn't do anything to help users that may have been caught unaware by the non-standardness change.”Mailing list · quote matchedOpen the message
Russell O'Connor objects to the Consensus Cleanup proposal's disabling of OP_CODESEPARATOR. He argues that users whose funds would be affected are unlikely to notice or speak up, pointing to people still stuck after an earlier standardness change.
“It is so easy to say stuff like this when one's own money isn't what is at risk.”Mailing list · quote matchedOpen the message
Russell O'Connor opposes the cleanup proposal's plan to disable OP_CODESEPARATOR in P2SH scripts. He argues the goal should be removing the vulnerability, not the opcode, and suggests that raising the opcode's weight by about 572 bytes would be much better.
“I think it is worth attempting to be a bit more clever than such a blunt rule, but it would be much better than eliminating OP_CODESEPARATOR within P2SH entirely.”Mailing list · quote matchedOpen the message
Consider deprecating OP_CODESEPARATOR gradually, for example by raising its weight cost and announcing future removal, instead of disabling it outright.
“What about putting it in a deprecated state for some time. Adjust the transaction weight so using the op code is more expensive (10x, 20x?) and get the word out that it will be removed in the future.”Mailing list · quote matchedOpen the message
Decide whether outputs using OP_CODESEPARATOR (and similar features) created before activation should stay spendable, for example by keeping them standard with weight penalties, rather than being disabled.
“make UTXOs containing OP_CODESEAPRATOR (etc.) and mined prior to the soft fork activation standard, with weight penalties as appropriate”Mailing list · quote matchedOpen the message
Jacob Eliosoff supports the Great Consensus Cleanup's removal of OP_CODESEPARATOR, arguing that Matt showed the tradeoffs justify it and that hypothetical affected users should not veto a net-beneficial change.
“Matt did the legwork to show that the tradeoffs around OP_CODESEPARATOR justify removing it.”Mailing list · quote matchedOpen the message
James HRMH supports the cleanup's removal of OP_CODESEPARATOR, but wants it scheduled about ten years ahead and widely publicised so anyone affected has time to act.
“Lock in a blockheight to get rid of it 10 years in the future.”Mailing list · quote matched
Address worst-case validation cost from OP_CODESEPARATOR without disabling it, for example by counting its occurrences alongside signature operations and raising transaction weight accordingly, rather than invalidating its use.
“I think counting the number of occurrences of OP_CODESEPARATOR (perhaps at the same time we count OP_CHECKSIG operations?) is a reasonable compromise”Mailing list · quote matchedOpen the message
Avoid disabling OP_CODESEPARATOR outright, which could confiscate funds in unknown P2SH commitments; mitigate validation cost in a narrower way, such as raising the opcode's cost, so benign uses stay valid.
“Do you not recognize the material difference between a soft-fork that doubles the cost of a transaction like Alice and Bob's versus making their transaction entirely illegal?”Mailing list · quote matchedOpen the message
Russell O'Connor objects to the Consensus Cleanup proposal's invalidation of OP_CODESEPARATOR uses. He argues that it could confiscate funds in benign, possibly unseen scripts, and that the validation-cost problem should instead be fixed by increasing the opcode's weight.
“Instead, it is this soft-fork proposal that is unprecedented.”Mailing list · quote matchedOpen the message
Avoid invalidating undefined sighash type bytes, since doing so could confiscate funds whose transactions are only non-standard and fixes no existential threat.
“could hypothetically destroy other people money, it crosses a line I thought we were never supposed to cross.”Mailing list · quote matchedOpen the message
Avoid disabling OP_CODESEPARATOR, which could destroy funds locked in hidden P2SH scripts; mitigate its validation cost another way, for example by pricing it in weight.
“I am not suggesting we don't fix a vulnerability in Bitcoin. I am suggesting we find another way. One that limits the of risk destroying other people's money.”Mailing list · quote matchedOpen the message
Matt Corallo defends the Great Consensus Cleanup's plan to disable OP_CODESEPARATOR rather than merely limit how often it is called. He argues that limiting it adds a lot of complexity and makes sighash caching harder, while removing it allows a lot of code to be deleted.
“Note that "just limit number of OP_CODESEPARATOR calls" results in a ton of complexity and reduces the simple analysis that fees (almost) have today vs just removing it allows us to also remove a ton of code.”Mailing list · quote matchedOpen the message
Russell O'Connor opposes the Great Consensus Cleanup's proposed restriction on sighash type byte values. He argues it addresses no security threat and could destroy funds held in non-standard but valid transactions. He also says the rarity of such transactions on-chain cannot justify the soft fork, because policy already makes them non-standard.
“Since the above soft-fork isn't addressing addressing any such threat (that I'm aware of), and could hypothetically destroy other people money, it crosses a line I thought we were never supposed to cross.”Mailing list · quote matchedOpen the message
Russell O'Connor objects to the Great Consensus Cleanup's proposed disabling of OP_CODESEPARATOR. He argues that users may already have funds committed to legitimate scripts using it, hidden behind P2SH, and that disabling it risks destroying their money. He proposes pricing OP_CODESEPARATOR by weight instead.
“Please don't strawman my position. I am not suggesting we don't fix a vulnerability in Bitcoin. I am suggesting we find another way. One that limits the of risk destroying other people's money.”Mailing list · quote matchedOpen the message
Avoid invalidating signatures with non-standard sighash type bytes, since unbroadcast presigned transactions may depend on them; caching the sighash midstate was suggested instead.
“I don't think that one's hunch that there isn't much risk in disabling these sighashes is good enough to put people funds at risk”Mailing list · quote matchedOpen the message
Avoid disabling OP_CODESEPARATOR in legacy scripts, since unseen P2SH users could lose funds, and use an alternative such as pricing or limiting its execution to mitigate validation cost.
“Activating a soft-fork as describe above means these sorts of funds would be permanently lost. It is not acceptable to risk people's money like this.”Mailing list · quote matchedOpen the message
Matt Corallo, the proposal's author, defends the Great Consensus Cleanup's disabling of OP_CODESEPARATOR in non-segwit scripts, arguing it is a significant vulnerability with no practical use case and that the remote chance of rendering some funds unspendable does not justify leaving it unfixed.
“I strongly, strongly disagree that the highly-unlikely remote possibility that someone created something before which could be rendered unspendable is sufficient reason to not fix a vulnerability in Bitcoin today.”Mailing list · quote matchedOpen the message
Russell O'Connor opposes the Consensus Cleanup's proposed invalidation of non-standard sighash type bytes. He argues that users may hold unbroadcast presigned transactions using such bytes, which would put their funds at risk, and that caching the sighash midstate is an available alternative.
“I don't think that one's hunch that there isn't much risk in disabling these sighashes is good enough to put people funds at risk, especially given the alternative proposal of caching the just-before-the-last-byte sighash midstate that is available.”Mailing list · quote matchedOpen the message
Russell O'Connor opposes the Consensus Cleanup's proposed disabling of OP_CODESEPARATOR, arguing that funds in P2SH scripts relying on it to commit to a specific branch could be permanently lost. He suggests instead charging extra weight for its execution or limiting how many can be executed per script.
“Activating a soft-fork as describe above means these sorts of funds would be permanently lost. It is not acceptable to risk people's money like this.”Mailing list · quote matchedOpen the message
Add a Backward Compatibility section to the proposal.
“Needs a Backward Compatibility section”Mailing list · quote matchedOpen the message
Explain in the rationale why the transaction size rule excludes witness data.
“Rationale should include the reason(s) why the size doesn't count the witness here.”Mailing list · quote matchedOpen the message
Decide whether the timewarp fix should let the difficulty-adjustment block's timestamp go back 600 seconds or 7200 seconds relative to the prior block.
“Alternatively, some have proposed allowing the time to go backwards 7200 seconds, which introduces some small level of inflation in the case of a miner attack”Mailing list · quote matchedOpen the message
Decide whether to make non-standard sighash types invalid, or instead get the same caching benefit by caching the sighash midstate before the last byte.
“The 4th change (making non-standard signature hash types invalid) may be worth discussing.”Mailing list · quote matchedOpen the message
Matt Corallo, the proposal's author, puts forward the Great Consensus Cleanup soft fork to remove oddities in the consensus rules and fix several vulnerabilities. He argues that the timewarp vulnerability should obviously be fixed because exploiting it could only serve malicious inflation or extension blocks.
“As for why the timewarp vulnerability should (IMO rather obviously) be fixed, it seems rather clear that the only potential use for exploiting it would be either to inflate the currency supply maliciously by miners or to fork in what amounts to extension blocks.”Mailing list · quote matchedOpen the message
Who has spoken · 67 people, sized by how much they said
Consensus isn’t a vote: this shows who has spoken and about what, not a count. A ring means their latest statement on the proposal is against it or conditional. Authors are marked.
Antoine Poinsot argues that preventing the forward blocks exploit is an intended goal of the Consensus Cleanup timewarp fix, not a side effect. He sees it as a benefit that any lifting of block space limits would then need users to opt into a consensus change rather than being forced on them through an exploit.
“i do see as a benefit that it makes it necessary to convince Bitcoin users to opt into a consensus change that lifts block space constraints, instead of being able to force it onto them through an exploit.”2026-11-19 · GitHub
Antoine Riard supports moving BIP54 forward, including its time-warp fix. He argues that the objection that fixing time-warp would rule out a future "forward blocks" scheme does not hold technically, and that the forward block idea is unsound anyway.
“in light of the trade-off, it is reasonable to diminish the time-warp vulnerability surface, with a proposed mitigation”2026-10-31 · Mailing list
Clarify the 64-byte transaction rule by explicitly referencing BIP 144 so it is unambiguous whether the witness marker and flag bytes count toward the witness-stripped serialized size.
“"Transactions whose witness-stripped serialized size is exactly 64 bytes are invalid" would win to explicitly reference BIP 144.”2026-12-01 · GitHub
Investigate why ContextualCheckBlock can be reached with a null pindexPrev during ImportBlocks (seen in the kernel test), and make sure the BIP 54 checks handle that case safely.
“I seem to get an error around `test/kernel/test_kernel.cpp(935)` (so `chainman->ImportBlocks`) if I add a `pindexPrev != nullptr` assert at the top of `ContextualCheckBlock`; haven't looked in any further detail.”2026-11-27 · GitHub
Avoid invalidating undefined sighash type bytes by consensus and instead mitigate validation cost with a non-consensus alternative such as caching the sha256 midstate.
“I still think the alternative proposal of caching the sha256 midstate is the better choice. We should strive to avoid changing the consensus rules when we have reasonable alternatives to achieve our goals.”2019-03-13 · Mailing list
Pick up the abandoned change that adds the BIP 54 coinbase nLockTime and nSequence requirements to the getblocktemplate (GBT) specification, likely as a separate document.
“Closing this as up for grabs.”2026-05-28 · GitHub
Address the concern that making one specific transaction size invalid is itself a footgun, since transaction creation and validation must avoid that size.
“One could also raise the real possibility that a specific size transaction being invalid is also a footgun, as transaction creation (and validation) must avoid it.”2026-05-15 · GitHub
Decide whether the Bitcoin Core implementation should enforce BIP 54 from the hardcoded genesis block or start at height 1.
“Given that Genesis blocks of chains are hardcoded, should it be active for the Genesis block? Wouldn’t height 1 make more sense?”2026-10-16 · GitHub
Address Eric Voskuil's objection that invalidating 64-byte transactions adds validation cost and complexity without making block hashes unique identifiers, since checking the coinbase null point already detects 64-byte Merkle malleation cheaply.
“(4) the additional consensus rule will increase validation cost and code complexity.”2024-07-20 · Mailing list
Provide worst-case block validation time figures under the proposed sigops mitigation when the attacker uses only one preparation block, to judge the impact on cheap miner hardware.
“Do you happen to have numbers handy for the worst-case with, for example, one block of prep?”2025-02-26 · Mailing list
Jon Atack approved the change to BIP 54 that distinguishes how miners enforce the two timestamp restrictions, pending answers to the PR author's open questions. He noted the change assumes a recently merged Bitcoin Core PR is not backported.
“ACK modulo open questions by the PR author for BIP author feedback”2026-09-18 · GitHub
Define the new per-transaction signature operation limit in raw (unscaled) sigop counts, without the ×4 witness-scale factor that applies to pre-SegWit sigops.
“But if you introduce a new name then maybe also don't bother with that multiplication, since it _only_ applies to pre-SegWit spends.”2025-02-06 · Forum
optout21 reviewed the whole Bitcoin Core changeset implementing BIP 54 (Consensus Cleanup) without mainnet activation and approved it, finding only nits.
“I consider the changes correct and acceptable in the current form already (in spite the minor findings).”2026-11-17 · GitHub
Revise the rationale's description of 64-byte transactions as anyone-can-spend so it distinguishes immediately spendable outputs from timelocked anyone-can-spend outputs (e.g. 1 CSV, 52416 CSV), which create different miner incentives.
“it is not true that OP_TRUE, 52416 CSV, and 1 CSV are all equivalent.”2026-05-06 · Mailing list
Sebastian Falbesoner approved the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, acknowledging a specific commit.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”2026-11-26 · GitHub
Sjors Provoost defends adding sequence, timestamp (and version) fields to getblocktemplate for BIP 54. He argues they add no new rules to the proposal and only make implementation easier and safer.
“The fields do not add new rules to the proposal, they merely make implementation easier and safer.”2026-02-10 · Mailing list
Jeremy Rubin objected to invalidating 64-byte witness-stripped transactions to benefit SPV users, arguing that better alternatives exist; the BIP authors needed to decide between invalidation and those alternatives.
“I think removing 64 byte witness stripped transactions from Bitcoin to benefit SPV users is a mistake, and a mistake with better alternatives.”2026-05-28 · GitHub
ViniciusCestarii ACKed the Bitcoin Core pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, at commit 58b418f, after confirming the added tests kill the two mutants he had tested against.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a Can confirm the 2 mutants were killed.”2026-11-16 · GitHub
Gregory Sanders re-approved the Bitcoin Core pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, after test and comment fixes and noting that activation-boundary mutants are now killed.
“reACK https://github.com/bitcoin/bitcoin/pull/35793/commits/58b418f85582b559ad9ac718e42251e5bc5aab3a”2026-11-13 · GitHub
Specify whether signature operations in a bare previous output script (e.g. P2PK) count towards the 2,500 per-transaction sigop limit.
“am I correct assume the 2,500 input limit will apply to CHECK*SIG operations specified in a bare prevout script?”2025-02-05 · Forum
Resolve Luke Dashjr's concern that requiring the coinbase nLockTime to hold the block height takes away a location that could serve as a cheap extranonce for ASICs or microcontrollers.
“But this particular location, as @darosior says, minimises the need to re-hash a lot of data to roll it. That means it can more practically be done on ASICs or MCUs with nearly no latency.”2025-04-10 · GitHub
Weigh the concern that the 7200-second timewarp grace period lets an attacker lower difficulty by about 0.6% per period without advancing time, or hold time back by 0.6% without raising difficulty.
“it's annoying (if not concerning) that the 7200 allowance enables difficulty to be constantly lowered 0.6% in every epoch without advancing time, or holding time back by 0.6% without difficulty increasing”2026-09-20 · Forum
Make the Testnet 5 draft apply BIP 54 rules from block 1 rather than from genesis, since the timestamp and coinbase locktime rules cannot coherently apply to block 0.
“I think "are active .. from Genesis" is perhaps not great, and the BIP 54 rules should apply to block 1 and above only?”2026-06-05 · Mailing list
Giovanni Fametrano tested the Bitcoin Core pull request implementing BIP 54 without mainnet activation, cross-checking its sigop counting against his btclib library and other vectors against his own checker, and found them in agreement with passing tests.
“tACK 3f0f142b1d0d08a18152d6b100e12d1abf09d58e”2026-10-25 · GitHub
Decide whether BIP 54's timestamp rules should be modified so that a future soft fork addressing the nTime overflow remains possible, rather than requiring a hard fork.
“if we can modify BIP54 at little cost so that a soft fork remains in the cards, shouldn't we?”2025-12-16 · Forum
Mark F objected that fixing the timewarp bug would permanently rule out forward-blocks-style soft forks for flexible block size and subsidy smoothing, so the fix needed to be justified against giving up that capability.
“fixing the timewarp bug will _permanently_ cutoff the bitcoin community from ever having the ability to scale on-chain in a backwards-compatible way, now or decades or centuries into the future.”2024-04-30 · Mailing list
nervana21 tested and approved the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, at a specific commit.
“tACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”2026-11-15 · GitHub
Chris Stewart objected that the four largely unrelated fixes (timewarp, validation cost, 64-byte transactions, duplicate transactions) should be documented as separate BIPs under the shared Consensus Cleanup branding; the authors kept a single bundled BIP.
“I believe we should document these changes in separate BIPs.”2025-03-27 · Mailing list
Make Bitcoin Core's block template generation enforce the BIP 54 Murch–Zawy timestamp rule, with an accompanying test, submitted as a separate pull request.
“The miner currently does not enforce the murch-zawy rule but I think it should.”2026-08-03 · GitHub
Josh Doman objected that BIP 54's timewarp fix rules out a future soft fork for the nTime overflow, and proposed enforcing the timestamp rules on a u64 coinbase timestamp instead; this needed a decision on whether to keep the timewarp fix as specified.
“As written, BIP54 makes that soft fork impossible, leaving a hard fork as the only option to resolve nTime overflow.”2025-12-15 · Mailing list
polespinasa approved the Bitcoin Core pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, leaving only minor nits.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”2026-11-30 · GitHub
Choose a coinbase uniqueness mechanism other than requiring a witness commitment, since that cannot be enforced on past blocks.
“So requiring a witness commitment does not seem appropriate, because it can not be enforced on past blocks.”2024-04-05 · Forum
Explicitly state that the P2SH redeemScript is included in the signature operation count, so the limit is not ambiguous.
“Not mentioning it explicitly would definitely make it ambiguous as to whether it's included in the count.”2025-04-04 · GitHub
Determine whether forbidding 1-input, 1-output SegWit transactions that pay to 2-byte witness programs (such as P2A) harms any use case, and document the consequence.
“I am not aware of any reason why this would be a problem, but I have not seen it documented anywhere.”2025-02-26 · Forum
Decide whether the Miner forward compatibility section should state that Bitcoin Core 29.x–31.x only enforce the first-block timestamp rule in templates, and the last-block rule only from 32.0; the BIP authors chose to keep the existing wording as intentional.
“So versions 29.x through 31.x do not satisfy the blanket wording, which this PR corrects.”2026-09-18 · GitHub
fanquake approved the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation, at a specific commit.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”2026-11-25 · GitHub
Jacob Eliosoff supports the Consensus Cleanup's disabling of OP_CODESEPARATOR. He argues that research found no users relying on it, so refusing to disable it over backward-compatibility concerns takes caution too far.
“a case like this where extensive research unearthed zero users, is taking caution too far.”2019-03-12 · Mailing list
Express the timewarp rule's 2016 and 2015 height constants in terms of the difficulty adjustment interval, so that networks with a different interval such as regtest are covered by the specification.
“was just wondering if we could update the BIP to make 2016 and 2015 variables”2026-08-12 · GitHub
Pieter Wuille analyzed BIP-54's two timewarp rules and concluded, with a Lean-checked proof, that they are each necessary and together sufficient to tightly bound chain growth. This supports the timewarp-fix part of the proposal's approach.
“This shows that **both rules are necessary and together sufficient** to get a tight bound.”2026-09-17 · Forum
Review and verify the proposed correction to footnote 4, which would change the expected block interval reduction under attack with a 2-hour grace period from ~2.2 to ~3.3 seconds.
“It is a one-number change in footnote 4, ~2.2 to ~3.3 seconds, and the working is in the description.”2026-11-30 · GitHub
/dev /fd0 agrees with separating the consensus cleanup changes but says more details and discussion are needed before judging them, since any consensus change could introduce bugs.
“I need more details as some of them could be CIA proxy and introduce another bug. Any change in consensus code need more discussion.”2025-03-27 · Mailing list
0xB10C supports implementing the BIP 54 Consensus Cleanup code and functionality in this pull request without mainnet activation, so that it is available, but says he lacks the expertise and bandwidth to review it in detail soon.
“Concept ACK on implementing BIP 54 code and functionality here without mainnet activation to have it available.”2026-10-15 · GitHub
Decide whether the 2012 SIGHASH_SINGLE bug should also be fixed as part of the Consensus Cleanup soft fork.
“I think SIGHASH_SINGLE bug reported in 2012 should also be fixed with other bugs”2024-03-24 · Forum
Ariard6 thinks it is good to make progress on the timewarp fix in BIP 54 and says they will continue reviewing it. They also note a possible pending security issue with one of the BIP's other mitigations.
“IMHO it's good to make progress on the timewarp fix.”2025-04-22 · GitHub
Resolve whether requiring a witness commitment in every coinbase transaction breaks empty blocks that contain only the coinbase.
“Wouldn't this not work for the occasional empty block?”2024-03-28 · Forum
Decide whether BIP 54 should be deployed as a standalone soft fork or bundled with other changes such as covenant or rebindable-signature opcodes.
“It will be released alone? Or will it come in a package with rebindable opcodes and so?”2026-09-24 · Forum
da1sychain opposes splitting BIP 54 into separate BIPs for each component, arguing its scope is narrow compared to Segwit or Taproot and that such a drastic restructuring this late is unreasonable; competing variants should get their own BIP instead.
“changing the BIP (at what is effectively the 11th hour) this drastically is unreasonable”2026-05-26 · GitHub
dergoegge gave a Concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”2026-07-29 · GitHub
Consider deprecating OP_CODESEPARATOR gradually, for example by raising its weight cost and announcing future removal, instead of disabling it outright.
“What about putting it in a deprecated state for some time. Adjust the transaction weight so using the op code is more expensive (10x, 20x?) and get the word out that it will be removed in the future.”2019-03-10 · Mailing list
garlonicon calls the Consensus Cleanup small and non-controversial, and argues it should ship on its own rather than be bundled with other changes, which would risk not getting BIP 54 at all.
“It is easier to reach consensus for a change, where mining pools are already supporting it, and it is quite small and non-controversial, than add more things into it, and risking not having BIP-54 at all.”2026-09-27 · Forum
gmaxwell opposes modifying BIP54's timewarp fix to allow a future soft fork for the nTime overflow. He sees no particular value in avoiding a hardfork for this issue, considers using timewarp for it unclean, and is concerned that such a change would open room for abuse.
“I agree that there is no particular value in avoiding a hardfork to fix an issue like this– particularly as the other chain ‘stops’. Were there a clean non-hardfork solution then it probably would be preferable, but abusing timewarp doesn’t strike me as clean at all.”2025-12-18 · Forum
Avoid fixing the OP_CODESEPARATOR validation cost by disabling it outright, since that risks confiscating user funds; the problem is not severe enough to justify the risk.
“Codeseperator and its related costs are not an especially severe problem.”2019-03-13 · Mailing list
Fix the BIP 54 sigops test code so that assigning spent_script2 to the script reference no longer overwrites spent_script; otherwise the restored inputs end up with far too few sigops.
“Would feel better not to clobber `spent_script` as we do when assigning `spent_script2` to the `script` reference here on line 260.”2026-01-16 · GitHub
hsjoberg gave a concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”2026-07-30 · GitHub
ismaelsadeeq ACKed the pull request implementing BIP 54 consensus rules without mainnet activation, having cross-checked the rules against the specification and found they mirror it correctly.
“ACK 58b418f85582b559ad9ac718e42251e5bc5aab3a”2026-11-26 · GitHub
Make sure a public slow-block demonstration on signet does not leak details of how to optimise the validation-time attack on mainnet, for example by keeping the worst-case testing private.
“The main concern I'd have is whether or not doing so would leak more information to the world about how to conduct such an attack on mainnet. It may be prudent to perform such testing privately.”2026-02-25 · Mailing list
James HRMH supports the cleanup's removal of OP_CODESEPARATOR, but wants it scheduled about ten years ahead and widely publicised so anyone affected has time to act.
“Lock in a blockheight to get rid of it 10 years in the future.”2019-03-10 · Mailing list
Melvin Carvalho opposes adding getblocktemplate fields (sequence, timestamp, version) to BIP 54, arguing that bundling them would make the otherwise uncontroversial consensus fixes controversial and widen the policy surface. He says these additions should be specified in a separate proposal.
“Bundling new getblocktemplate additions into it changes that and expands the policy surface. Those additions should be specified separately, where they belong.”2026-02-10 · Mailing list
Melvin Carvalho opposes adding coinbase locktime and sequence fields to getblocktemplate within BIP 54, arguing that bundling them would make the otherwise uncontroversial consensus fixes controversial and widen the policy surface. He says these additions should be specified separately.
“Bundling new getblocktemplate additions into it changes that and expands the policy surface. Those additions should be specified separately, where they belong.”2026-02-10 · GitHub
Decide whether outputs using OP_CODESEPARATOR (and similar features) created before activation should stay spendable, for example by keeping them standard with weight penalties, rather than being disabled.
“make UTXOs containing OP_CODESEAPRATOR (etc.) and mined prior to the soft fork activation standard, with weight penalties as appropriate”2019-03-10 · Mailing list
Reword the timewarp rule so it is clear that the 7200 seconds are subtracted from the timestamp of block N-1, not from the height N-1.
“Maybe reword this to make it clearer that `minus 7200` is subtracted from the value of `nTime`, and not from `height N-1`”2025-03-26 · GitHub
Address the confiscation risk of BIP 54's per-transaction signature operation limit: transactions breaking that rule have already been mined (e.g. txid bb41a757…), and outputs that could be spent the same way already exist on-chain.
“I would actually go as far as to say the confiscation risk is higher with the TX limit proposed in BIP54 as we actually have proof of redemption of TXs that break that rule and the input set to do this already exists on-chain”2025-10-18 · Mailing list
salvatoshi, in passing, says he looks forward to the Great Consensus Cleanup properly mitigating quadratic hashing, which today parallel input validation only poorly mitigates.
“which I look forward to see mitigated more properly with your work on the Great Consensus Cleanup”2025-04-19 · Forum
SatsAndSports opposes the pull request that would split BIP 54 into its bundle constituents, arguing it is inappropriate to significantly edit a BIP proposed by other authors; those wanting a different proposal should write their own BIPs.
“NACK You are free to make your own BIP, or BIPs, with another proposal (or set of proposals). But it's not appropriate to significantly edit the BIP that was proposed by other authors”2026-05-26 · GitHub
sedited agrees with the change adding coinbase locktime and sequence fields to getblocktemplate in BIP 54, since those fields would gain consensus meaning. He also suggests linking to the text from BIP 22's "See Also" section.
“I think I agree with this.”2026-02-28 · GitHub
Build a simple display that reads node logs and shows block validation times as blocks arrive, so that users joining the Consensus Cleanup slow-block signet demo can see the effect on their own node.
“Just wanted to suggest vibe coding a basic GUI/display to pull from the logs and display to a user validation times as the blocks come in.”2026-04-02 · Forum
stickies-v gave a concept ACK to the pull request implementing BIP 54 (Consensus Cleanup) without mainnet activation.
“Concept ACK”2026-08-07 · GitHub
By stakeholder group
- Developers and reviewersnone found
- Miners and poolsnone found
- Economic nodesnone found
- Wallets and L2 buildersnone found
Groups are set only where a public source shows someone’s role, so an empty group may only mean nobody has been classified yet, or that what has been read so far doesn’t include them.