Protocol specification booklets and an engineering notebook, editorial illustration
BIP 54 / CONSENSUS

A proposed consensus cleanup.

A soft-fork proposal addresses timewarp behavior and several validation edge cases.

Read the explanation
← All standards

Why it exists

BIP 54 proposes a collection of narrow consensus changes aimed at difficult Bitcoin validation edge cases. The goals are to reduce timewarp opportunities, constrain expensive legacy signature processing, remove a Merkle-proof ambiguity and prevent future duplicate-transaction problems.

How it works

The proposal adds timestamp constraints at difficulty-period boundaries, limits potentially executed legacy signature operations per non-coinbase transaction, and rejects transactions whose non-witness serialisation is exactly 64 bytes. It also prescribes coinbase locktime and sequence values tied to the block height.

These rules would make certain blocks invalid after activation, so they are consensus changes rather than ordinary wallet improvements. Bundling the fixes shares the deployment cost, but each rule has its own compatibility rationale. An implementation enforcing relay policy is not equivalent to nodes enforcing new block-validity rules.

PUT IT IN CONTEXT

A practical example

Consider a malicious transaction designed to force unusually expensive legacy signature work. A node policy can decline to relay it, but a miner may still include a consensus-valid version in a block. BIP 54’s proposed validation limit would address the block case once activated, rather than relying only on relay behaviour.

What to keep in mind

The proposal is not a new payment feature or a general solution to every denial-of-service problem. Its precise limits and activation conditions matter; substituting a paraphrased rule in node software could split it from the network.

Status & implementation

The official specification is Complete. Bitcoin Core 30.0 introduced a 2,500-operation standardness limit as preparation for a possible future deployment. That release note is evidence of preparatory policy, not proof that BIP 54 has activated on mainnet.

Specification status: Complete · Sources checked 13 November 2026

Read the sources

Put the standard in context.

Explore the practical guide

Find your next answer.

Search the complete field guide · Esc to close