Transaction standardness is Bitcoin node policy that classifies some consensus-valid transactions as acceptable for ordinary mempool admission, relay and mining while treating others as non-standard. It is not the same thing as Bitcoin consensus validity.
The distinction became explicit very early. Bitcoin 0.3.18, released on 8 December 2010, added an IsStandard() whitelist for recognized transaction templates. The resulting argument exposed a durable Bitcoin seam: software defaults can strongly shape which valid transactions propagate without making those transactions invalid in blocks.
A separate, earlier example is Transaction replacement: Bitcoin's original client could accept higher-sequence conflicting transactions into its mempool, but commit 05454818 switched off that acceptance path on 19 August 2010. Neither decision changed Bitcoin's rule that confirmed transactions cannot double-spend the same output. The later BIP 125 and full-RBF history concerns revisable unconfirmed transactions, not the IsStandard() whitelist. 19 August 2010 source commit · BIP 125
Fee policy was a separate filter
The original Bitcoin client already had a fee-based block-selection mechanism: in v0.1.5 a miner passed a discount flag to GetMinFee() while its candidate block held fewer than 100 transactions, and the helper considered the transaction's size and small outputs. This had nothing to do with the later 2010 whitelist of allowable script templates. A transaction could use an understood script but fail a relay fee check, or be consensus-valid without meeting either default policy. Bitcoin transaction fees reconstructs the fee chronology and the distinction between wallet, relay and mining thresholds. Original fee policy · Original miner selection
A later example makes the boundary numerical. Bitcoin 0.8.2 (29 May 2013) added a default dust output filter to standardness: an otherwise consensus-valid transaction could fail ordinary relay for creating a tiny spendable UTXO. Its announcement's 5,430-sat example understated the 5,460-sat P2PKH threshold actually computed by the released code, as the June correction confirms. Dust outputs documents that discrepancy, today's script-dependent thresholds and the narrow ephemeral-dust package exception introduced in 2025. Bitcoin 0.8.2 first-party release · Direct correction record · Core 29.0 release record
Before IsStandard(): two earlier defensive layers
The December whitelist was not Bitcoin's first attempt to narrow hostile Script behavior. The source now lets us separate two earlier mechanisms that are easy to blur together.
On 31 July 2010, Bitcoin 0.3.7's imported Subversion revision trunk@121 added execution limits inside EvalScript(): a script could be at most 10,000 bytes, an individual pushed value at most 5,000 bytes, and at most 201 counted non-push opcodes could be executed. Bitcoin SVN r121 / 0.3.7 — direct source-control record
That was an execution rule. It constrained a script when a node evaluated it. Merely creating an output containing many opcodes did not execute that output script.
A second layer arrived on 7 September 2010. Imported Subversion revision trunk@148, released as Bitcoin 0.3.12, added CScript::GetSigOpCount(), counting OP_CHECKSIG/OP_CHECKSIGVERIFY as one operation and OP_CHECKMULTISIG/OP_CHECKMULTISIGVERIFY as twenty. It then added three different uses of that static count:
AcceptToMemoryPool()rejected a loose transaction with more than two SigOps, under the source comment “Rather not work on nonstandard transactions”.- The miner tracked a running block SigOp count and skipped transactions that would reach
MAX_BLOCK_SIGOPS. AcceptBlock()rejected blocks aboveMAX_BLOCK_SIGOPSonce the chain passed height 79,400.MAX_BLOCK_SIGOPSwas defined asMAX_BLOCK_SIZE / 50, or 20,000 with the one-megabyte block-size constant.
Bitcoin SVN r148 / 0.3.12 — direct source-control record
The same r148 commit also enforced the one-megabyte block-size limit after height 79,400. The SigOp ceiling and size ceiling therefore entered block acceptance together, while the much tighter per-transaction SigOp screen remained mempool/miner policy.
8 September 2010: the boundary was already public
The policy/consensus distinction was being discussed publicly three months before the BitDNS dispute.
In the Bitcoin 0.3.12 release thread, theymos quoted the existing mempool check for “nonstandard transactions” and the block-wide SigOp limit, then asked what those restrictions meant. Satoshi Nakamoto replied that Bitcoin clients currently created and recognized only two transaction templates and described the existing tests as loose checks for the general shape of those standard forms. He added that the test could be changed as more templates were introduced. Contemporary BitcoinTalk thread
Jeff Garzik immediately asked whether old clients would reject new non-standard transaction forms. Theymos answered that they would simply fail to include them in blocks they generated, so such transactions might be slowed rather than made impossible. Contemporary BitcoinTalk thread
What 0.3.18 called standard
The 0.3.18 implementation was small enough to inspect directly.
CTransaction::IsStandard() required every input scriptSig to contain pushes only and every output scriptPubKey to pass the script-level IsStandard() test. Bitcoin v0.3.18 transaction standardness — direct source
The script solver recognized only two output templates:
- Pay to public key:
<pubkey> OP_CHECKSIG. - Pay to public-key hash:
OP_DUP OP_HASH160 <pubkeyhash> OP_EQUALVERIFY OP_CHECKSIG.
The public-key template accepted key pushes from 33 through 120 bytes; the pubkey-hash template required a 20-byte hash. Bitcoin v0.3.18 solver templates — direct source
This was not a generic test that a script could execute successfully. It was a policy test that a transaction fit forms the software already knew and was willing to propagate.
7 December 2010: the whitelist lands in source
The exact implementing revision survives.
Bitcoin commit a206a23980c15cacf39d267c509bd70c23c94bfa was authored by Gavin Andresen on 7 December 2010 at 13:43:31 UTC. Its imported Subversion marker identifies the original revision as trunk@197. The commit message is unusually explicit: “IsStandard() check for CScripts: only relay/include in blocks CScripts we can understand.” Direct source-control record
The diff adds !IsStandard() to AcceptToMemoryPool(), adds CTransaction::IsStandard(), adds the input IsPushOnly() test, and exposes the script-template solver through a script-level IsStandard() helper. The same commit contains several unrelated maintenance edits, so BOMB treats the commit as the implementation event for the whitelist without pretending every line in the revision belongs to that feature.
8–9 December 2010: the policy boundary becomes political
Satoshi Nakamoto's 0.3.18 announcement summarized the change as an IsStandard() check for known transaction types in generated blocks. Preserved contemporary release thread
The objection arrived immediately. RHorning argued that choosing transaction forms in the default client would affect the network politically even if the underlying consensus rules were unchanged. theymos then said several substantial miners or pool operators had told him they would not use IsStandard() and promised a patch removing non-network-enforced restrictions. Those are direct contemporary claims about miner intentions; BOMB does not treat the quoted hashrate estimates as independently measured facts. Preserved contemporary thread
Gavin supplied the technical distinction that matters most for the later archive. He said 0.3.18 would not cause a blockchain split because clients still accepted blocks containing non-standard transactions as valid. The default effect was instead on propagation and block construction: many nodes would not relay the transactions and many miners would not include them. Preserved contemporary thread
Jeff Garzik objected that this could still create a rules split among miners rather than a consensus-chain split. Applications using non-standard forms could become dependent on reaching miners that accepted those forms. Preserved contemporary thread
That distinction became an enduring Bitcoin pattern. A transaction can be valid enough that every consensus node must accept a block containing it, yet difficult to use in practice because ordinary relay paths do not carry it.
9 December 2010: the developers point back to the revision
A surviving #bitcoin-dev log gives the source-control record a useful contemporary cross-check.
At 01:06 UTC, tcatm asked where IsStandard() lived in the source. Gavin said he needed to update his Git checkout from the latest SVN, then a few minutes later pointed the channel directly to commit a206a23980… as “the commit in question.” Jeff Garzik simultaneously walked through the new public-key-template bound in script.cpp. Contemporary IRC log
The same log also preserves disagreement about causality. Garzik asserted that Satoshi had asked Gavin to add IsStandard() in response to the OP_DROP/data-embedding proposals. Later that day, however, Gavin wrote publicly that he did not know whether the recent BitDNS discussion had swayed Satoshi and only vouched for his own earlier private recommendation to prefer a whitelist. Contemporary IRC log Preserved contemporary forum thread
Why whitelist at all?
The contemporary record does not support the simple claim that BitDNS directly caused IsStandard().
On 9 December, Gavin wrote that he had privately recommended a whitelist approach to Satoshi several months earlier, around the time of the 0.3.9-era bugs. He compared whitelisting known-safe transaction forms with trying to blacklist every dangerous construction after somebody discovered it. Gavin explicitly said he did not know whether the current BitDNS argument influenced Satoshi's timing. Preserved contemporary thread
Satoshi then said he had come to agree with Gavin because new transaction types could be added quickly when there was a real use for them. Preserved contemporary thread
Arbitrary data was already inside the design space
The whitelist did not make arbitrary data impossible.
Nanotube argued that determined users could already encode extra information in crafted transactions. Satoshi agreed that a public-key output could carry bytes in the key position and supported adding a dedicated standard transaction type for hash-sized timestamp data, partly so nodes could recognize that they need not index it like an ordinary spendable output. Preserved contemporary thread
That is a useful ancestor of the later OP RETURN compromise. It does not make the 2010 public-key trick and the 2014 null-data policy the same mechanism. The continuity is the policy problem: if users can encode data anyway, should default software provide a recognizable and less harmful standard form?
Block 71,036: a chain fossil of the problem
During the December argument, Gavin identified block 71,036 as the only block he knew of at that moment containing non-standard transactions and said those transactions paid no fees. Preserved contemporary thread
One surviving mainnet artifact can be named precisely. Transaction e411dbebd2f7d64dafeef9b14b5c59ec60c36779d43f850e5e347abee1e1a455 has an output whose locking script is 4,026 bytes long. Later chain decoding describes that script as a normal-looking P2PKH prefix followed by 4,001 additional OP_CHECKSIG opcodes, for 4,002 OP_CHECKSIG occurrences in that output. Learn Me A Bitcoin transaction decoder — later chain analysis
That wording needs an architectural caveat. Creating a scriptPubKey does not execute it. The repeated opcodes become execution work if the output is later spent. The static SigOp accounting introduced in September 2010 was different: it deliberately counted signature opcodes in transaction scripts before execution and used that count for relay/mining policy and, after activation, block validity.
A second later artifact comes from the Bitcoin Abe explorer codebase. Its database upgrade routine contains a function described as setting addresses to unknown for the “bogus outputs in Bitcoin 71036” and lists three transaction IDs:
a288fec5559c3f73fd3d93db8e8460562ebfe2fcf04a5114e8d0f2920a6270dc2a0597e665ac3d1cabeede95cedf907934db7f639e477b3c77b242140d8cf728e411dbebd2f7d64dafeef9b14b5c59ec60c36779d43f850e5e347abee1e1a455
Bitcoin Abe upgrade code — later explorer-maintainer evidence
A later set of Bitcoin Core RPC-response fixtures preserves all three decoded transactions plus the full seven-transaction block. In that snapshot, the three anomalies occur at transaction positions 3, 5 and 6 and form an in-block spend chain:
e411db…:0 → 2a0597…:0 → a288fe…
The first transaction creates a 0.04 BTC ordinary pubkey output and a 0.01 BTC anomalous output. The second spends that 0.04 BTC ordinary output and creates 0.03 BTC ordinary + 0.01 BTC anomalous. The third spends the 0.03 BTC ordinary output and creates 0.02 BTC ordinary + 0.01 BTC anomalous. Each anomalous output is 4,026 bytes and contains 4,002 OP_CHECKSIG occurrences. Each transaction also has one ordinary pubkey OP_CHECKSIG, so the later r148 counting method gives 4,003 SigOps per anomalous transaction. Later Bitcoin Core RPC block fixture
The same fixture identifies block hash 00000000000997f9fd2fe1ee376293ef8c42ad09193a5d2086dddf8e5c426b56, height 71,036, seven transactions and timestamp 29 July 2010. Counting the fixture with the r148 static rules yields 12,015 SigOps across the whole block.
The fixture also preserves raw serialized hex for all seven transactions, which allows a stronger check than trusting its decoded JSON labels. In this archive pass, BOMB independently double-SHA256ed each transaction serialization and reproduced all seven listed txids. Those seven hashes recompute the fixture's merkle root, f1cbd5d18720cd775f3ce92480c9cb2643b0cda98781e28004d0a903e0e24e25. Rebuilding the 80-byte block header from the preserved header fields then reproduces block hash 00000000000997f9fd2fe1ee376293ef8c42ad09193a5d2086dddf8e5c426b56. Later Bitcoin Core RPC block fixture
That produces an important correction: block 71,036 itself is below the later 20,000-SigOp block ceiling. The three anomalous transactions would each fail the later > 2 loose-transaction mempool policy, but their aggregate block would not fail the later SigOp consensus ceiling on count alone. The historical artifact therefore demonstrates exactly why policy and consensus should not be collapsed into one “reject” rule.
The source chronology now supplies two later defensive responses without proving their immediate cause. Bitcoin 0.3.7 / SVN r121, committed two days later on 31 July, limited evaluated scripts to 10,000 bytes and 201 counted non-push opcodes. Bitcoin 0.3.12 / SVN r148 on 7 September added the static SigOp counter, the two-SigOp mempool screen and the 20,000-SigOp block ceiling activated after height 79,400. SVN r121 — direct source SVN r148 — direct source
There is another technical correction hiding in the 0.3.6 source. When a block is connected, ConnectInputs() verifies each input by executing the locking script of the previous output being spent. It does not execute a transaction's newly created output scripts merely because that transaction appears in a block. The thousands of OP_CHECKSIGs in block 71,036's new anomalous outputs therefore were not twelve thousand signature checks performed just to accept block 71,036. Bitcoin v0.3.6 block/input validation — direct source Bitcoin v0.3.6 script interpreter — direct source
That makes r121's two-day-later execution bound easier to state precisely: it caps how far an evaluated script can run, including a future attempt to exercise a long chain of signature opcodes. r148 later adds a different defense by statically counting SigOps in transactions and blocks before those scripts are executed. Later CVE summaries that say block 71,036 itself “caused every node to do extra unnecessary work” preserve the vulnerability story, but BOMB should not silently translate that phrase into “every node executed all of these signatures while accepting the block.” Later Bitcoin Wiki CVE record
A second afterlife: timestamping?
The same chain artifact picked up another interpretation within the first year of Bitcoin.
Each of the three anomalous outputs is worth exactly 0.01 BTC. Before the repeated signature opcodes begin, each script has the ordinary pay-to-public-key-hash shape OP_DUP OP_HASH160 <20-byte value> OP_EQUALVERIFY OP_CHECKSIG. The first transaction carries 4838a081d73cf134e8ff9cfd4015406c73beceb3; the later two carry 913ce5a92daf975d2b349ce975057b19e03ad1b2. Those are twenty-byte values, the same length as a SHA-1 digest, but their size and placement alone do not prove that they are file hashes.
On 29 May 2011, in a BitcoinTalk discussion about coins sent to addresses whose private keys might not exist, bitlotto recalled a “timestamp” technique that hashed a file, turned the result into a valid-looking address, and sent about 0.01 BTC to it so the hash would remain in the chain. In the very next reply, cypherdoc linked directly to block 71,036. Later community recollection and block association
That memory has an intriguing architectural match. On 5 December 2010, Hal Finney publicly proposed running sha1sum on a file, converting the result to a Bitcoin address, and sending a small payment to that address as a timestamp. On 9 December Satoshi Nakamoto endorsed the idea and used 0.01 BTC in his example. Preserved December 2010 discussion
But the chronology cuts both ways: block 71,036 predates Hal's surviving public proposal by more than four months. The May 2011 exchange therefore cannot establish the July creator's intent. It could preserve memory of an earlier timestamping experiment, it could be a retrospective association with an odd-looking burn, or the twenty-byte values could belong to a different test entirely.
Relay topology becomes part of application design
The thread also exposed an operational consequence that would reappear in later metaprotocol history.
If most nodes refuse to admit and forward a transaction, a user of the non-standard form may need a direct path to a miner or to a subnetwork of peers willing to relay it. RHorning and theymos both described this topology problem in the 0.3.18 discussion. Preserved contemporary thread
That is why policy can matter without being consensus. It changes the probability that a valid transaction reaches somebody able and willing to mine it.
BIP 11 is another example of policy changing without introducing a new signature opcode. OP_CHECKMULTISIG was implemented in Bitcoin's early interpreter, but Bitcoin-Qt 0.6.0 newly treated specified bare multisignature outputs (up to three public keys) as standard relay and mining templates. BIP 16's P2SH checks, released alongside that software, involved a separate consensus activation. Original Script implementation · BIP 11 · Bitcoin-Qt 0.6.0 release
The same boundary later became visible around Counterparty and bare multisig, and around OP RETURN when Bitcoin Core deliberately standardized a constrained null-data carrier rather than leaving all application data to less-recognizable encodings.
The 2012 P2SH upgrade illustrates the other side of the distinction: adding a recognized payment template was not enough. BIP 16 imposed new consensus checks on the redeem script inside a spend. Older validators could accept a hash-matching spend that upgraded nodes rejected, so developers also coordinated activation and miner upgrades. P2SH's 520-byte redeem-script limit and signature-operation counting are part of that consensus history, rather than merely a whitelist setting. BIP 16 — compatibility and resource constraints · Andresen — miner warning, 27–28 February 2012
Why this page matters
Transaction standardness is a small implementation mechanism with unusually large historical reach.
It separates at least four questions:
- Can this transaction appear in a valid Bitcoin block? — consensus.
- Will my node hold it in its mempool? — local policy.
- Will peers forward it? — relay policy and network topology.
- Will miners select it? — miner policy and economics.
Treating all four as “Bitcoin accepts/rejects this transaction” erases the architecture that several later Bitcoin application disputes actually turned on.
Evidence map
Direct source
- Bitcoin v0.3.6 block/input validation
- Bitcoin v0.3.6 script interpreter
- Bitcoin 0.3.7 / SVN
trunk@121execution-limit revision - Bitcoin 0.3.12 / SVN
trunk@148SigOp accounting and non-standard-transaction revision - Gavin Andresen's 7 December 2010 implementation commit, imported as SVN
trunk@197 - Bitcoin v0.3.18
AcceptToMemoryPool() - Bitcoin v0.3.18
CTransaction::IsStandard() - Bitcoin v0.3.18 recognized script templates
Preserved contemporary public discussion
- BitcoinTalk: ''Version 0.3.12'', 8 September 2010
- BitcoinTalk: ''Version 0.3.18'', 8–9 December 2010
#bitcoin-devlog, 9 December 2010
Later chain / explorer preservation
Near-contemporary recollection inside the same thread
- Gavin Andresen's 9 December account of privately recommending whitelisting to Satoshi several months earlier.
Later recollection / interpretation
- 29 May 2011 BitcoinTalk exchange associating block 71,036 with hash-to-address timestamping
- Later Bitcoin Wiki CVE account of the SigOp incident
Related pages
Open research
Recover any surviving pre-
trunk@197 decision record or review discussion that explains the immediate path into Gavin Andresen's 7 December 2010 implementation. The implementation event itself is now pinned; the policy decision immediately before it is not.Recover the theymos patch and other miner-side patches discussed on 9 December 2010, then compare exactly which policy checks they removed rather than treating “disable IsStandard” as one uniform implementation.
Preserve block 71,036 and the three anomalous transactions directly from a Bitcoin Core node or another independent raw-chain source. The later RPC fixture's serialized transactions now reproduce all seven txids, the merkle root and the block hash under local re-hashing; what remains is independent source provenance for the bytes themselves.
Recover a contemporary message that explicitly joins block 71,036 to the July 0.3.7 / SVN r121 execution limits or the September 0.3.12 / SVN r148 SigOp rules. The source revisions are now pinned; the causal bridge is not.
Identify the intended meaning of block 71,036's two twenty-byte values,
4838a081…ceb3 and 913ce5a9…d1b2. A May 2011 recollection associates the block with file-hash timestamping, but no July 2010 record yet shows that these values were file digests or identifies what they would hash.