Pay to Script Hash (P2SH)
The 2012 soft fork (BIP-16) that let anyone pay to the hash of a script, giving multisig its “3…” addresses after a fight with two rival designs.
The wiki's angle: P2SH was the first soft fork fought in the open, with rival code and rival coinbase votes, and it set the template for every activation argument that followed.[1][4]
What it does
BIP-16 describes a new standard transaction type in which an output commits only to the hash of a script, and the spender later reveals the script and satisfies it; the BIP adds validation rules that apply only to these transactions[1]. BIP-13 defines the matching address format, an address that “represents the encoded hash of a script” so the sender does not need to know the receiver's spending conditions[2].
The 2012 fight
P2SH had rivals. Gavin Andresen's earlier BIP-12 proposed a new opcode, OP_EVAL, and is now Closed[3]. 

Outcome
The BIP now states that the new rules apply to blocks with timestamps from 1 April 2012[1]. Bitcoin Core lists BIP-16 as implemented since v0.6.0[6]. The BIP Atlas Drama Hall summarises the fight alongside later activation battles[7].
References
- primaryBIP 16, “Pay to Script Hash”, bitcoin/bips
- primaryBIP 13, “Address Format for pay-to-script-hash”, bitcoin/bips
- primaryBIP 12, “OP_EVAL”, bitcoin/bips
- primaryBIP 17, “OP_CHECKHASHVERIFY (CHV)”, bitcoin/bips
- primaryBIP 18, “hashScriptCheck”, bitcoin/bips
- primaryBitcoin Core, doc/bips.md — BIPs implemented by Bitcoin Core (master, read 20 Nov 2026)
- primarybitcoin/bips repository [archived]
Related in the wiki
Related articles



