Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateLayer Two Labs, drivechains for Bitcoin
Bitcoin Takeover / BIPs / Drama Hall / The P2SH War
2011–2012 · BIP 12 BIP 16 BIP 17 BIP 18

The P2SH War

Activated
What it proposed

A way to pay to a script hash so senders need not know a multisig's full script. Three rival designs: OP_EVAL (BIP 12), P2SH (BIP 16) and OP_CHECKHASHVERIFY (BIP 17), plus BIP 18.

BIP 16 · Gavin Andresen

Evaluate a serialized script whose hash the output commits to. Miners vote by writing “/P2SH/” into the coinbase; 550 of about 1,000 blocks (≈55%) triggers it.

VS

BIP 17 · Luke Dashjr

A new opcode, OP_CHECKHASHVERIFY, instead of special-casing a script pattern. Miners vote with “p2sh/CHV”; needs at least 60%.

Why it blew up

Competing code, competing coinbase votes and competing thresholds for the same feature — an early template for every activation fight that followed. OP_EVAL (BIP 12) had already been replaced over complexity concerns.

Outcome

BIP 16 shipped in Bitcoin Core v0.6.0 and took effect on 1 April 2012. BIP 17 is Closed. P2SH's “3…” addresses (BIP 13) became the standard for multisig.

Timeline
  1. 3 Jan 2012BIP 16 (pay-to-script-hash, Gavin Andresen) is assigned. [1]
  2. 18 Jan 2012BIP 17 (OP_CHECKHASHVERIFY, Luke-Jr) is assigned as the rival design, with its own coinbase-vote schedule. [1]
  3. 29–31 Jan 2012On the mailing list Luke-Jr argues BIP 16’s advantages over 17 are gone; Gavin moves BIP 16/17 support talk to one thread. [1] [2] [3]
  4. 27 Feb 2012Miner support for BIP 16 is still under 50%, so Gavin sets a new switchover date. [1]
  5. 1 Apr 2012BIP 16 rules apply to blocks with timestamps from 1 April 2012. BIP 17 is later Closed. [1] [2]
In their own words
“The Motivation for this BIP (and BIP 13, the pay-to-script-hash address type) is somewhat controversial; several people feel that it is unnecessary, and complex/multisignature transaction types should be supported by simply giving the sender the complete {serialized script}.”
BIP 16 text · Gavin Andresen, author
BIP 16 · 2012 · source
“so the one remotely-tangible benefit of BIP 16 over 17 has been solved, right? ;)”
Luke-Jr · BIP 17 author
bitcoin-dev · 29 Jan 2012 · source
“I'm not aware of any remaining tangible objections to BIP 17 at this point (Gavin seems concerned over a theoretical risk-that-nobody-has-thought-of)”
Luke-Jr · BIP 17 author
bitcoin-dev · 31 Jan 2012 · source
“Mining support for BIP 16 is still under 50%, and won't possibly be over 50% by March 1.”
Gavin Andresen · BIP 16 author
bitcoin-dev · 27 Feb 2012 · source
In the Bitcoin Takeover Wiki
Every quote is checked word-for-word against the fetched source by tools/verify_quotes.py. Summaries are Bitcoin Takeover’s own.
0:000:00