BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

Bitcoin multisignature

Bitcoin multisignature (multisig) describes spending conditions that require signatures corresponding to more than one public key, or a chosen threshold of signatures from a larger set. In a conventional 2-of-3 arrangement, any two of three specified keys can authorize a spend. Bitcoin validates the signatures and script conditions; it does not establish whether the keys belong to separate people, devices or institutions. BIP 11 — original standard multisignature specification

Three dates in the early history should be kept separate: OP_CHECKMULTISIG existed in Bitcoin's original script interpreter; Bitcoin Core merged support for standard multisig outputs in December 2011; Bitcoin-Qt 0.6.0 publicly shipped that relay policy in March 2012. The later P2SH consensus change was related, but was not what first created the multisignature opcode. Bitcoin v0.1.5 source · Core PR #669 · Bitcoin-Qt 0.6.0 release

Reading a multisig script

The bare output form described by BIP 11 places the threshold and public keys directly in the transaction output:

OP_2    OP_3 OP_CHECKMULTISIG

The spending transaction then supplies two matching signatures. Signature order matters when matching them to the ordered list of public keys. This is a threshold rule for authorizing a spend, not a rule about how many people hold the keys. A corporation can split keys among officers; an individual can keep several keys on different devices; and a script can encode a threshold without any conventional human custody arrangement. BIP 11 — specification and escrow example · Bitcoin 0.6.0 interpreter

There is also a historical quirk: OP_CHECKMULTISIG consumes one extra stack element. BIP 11's standard unlocking form begins with OP_0 before the signatures. The original source shows the opcode removing that additional item; the unused element later became relevant to Transaction malleability. Early interpreter · BIP 11 — extra stack item

From a valid script to a standard transaction

February 2009
The earliest tagged source directly checked for this article, Bitcoin v0.1.5, already executes OP_CHECKMULTISIG and OP_CHECKMULTISIGVERIFY. This is direct code evidence of an implemented opcode, **not** proof that a particular multi-party escrow used it in 2009. Source code
18 October 2011
Gavin Andresen's **BIP 11**, *M-of-N Standard Transactions*, was assigned. It proposed making bare m {pubkey}... n OP_CHECKMULTISIG outputs ordinary standard transactions for up to **three public keys**. Its motivations included protected wallets and two-of-three escrow. The threshold was a default policy allowance, not a limit on all consensus-valid script constructions. Canonical BIP 11
20 December 2011
Bitcoin Core PR **#669**, opened by Andresen on 28 November, was merged. The contemporary proposal grouped multisignature support with an experimental OP_EVAL scheme and described the wallet/RPC work as rudimentary, with addmultisigaddress testing restricted to testnet. This is a **merged source milestone**, not evidence that the OP_EVAL proposal activated. Contemporary PR and merge history
30 March 2012
Bitcoin-Qt **0.6.0** announced preliminary multisignature support. Its release notes explicitly say that such transactions had previously been non-standard and would now be relayed and accepted for mining by upgraded software. The same release says multisig creation and testing were restricted to testnet through addmultisigaddress; wallet interfaces for practical coordination between independent signers still needed development. Original release announcement
1 April 2012
**BIP 16** P2SH validation became applicable on mainnet according to its timestamp-based deployment. Bitcoin-Qt 0.6.0 supported P2SH addresses as well as BIP 11 multisig templates, but these were separate mechanisms with different enforcement boundaries. BIP 16 · Release notes
2015–2017
**BIP 67** specified deterministic sorting of compressed public keys for compatible P2SH multisig wallets; **BIP 147** later made the otherwise-unused multisig stack element empty by consensus, as part of the SegWit deployment. These addressed interoperability and malleability respectively, not the original creation of multisignature spending. BIP 67 · BIP 147
2021
**Taproot** introduced tapscript. BIP 342 disabled the old OP_CHECKMULTISIG opcodes within tapscript and introduced OP_CHECKSIGADD for script-path threshold constructions. Aggregated key-path signatures are a different way for several participants to cooperate without exposing an on-chain list of signers. BIP 342 — tapscript design · Taproot

A merged experiment that did not become the released rule

PR #669 makes the 2011 history easy to misread. It merged both BIP 11's standard multisig work and a proposed OP_EVAL extension, whose developers contemplated miner signals and a future consensus switchover. The final Bitcoin 0.6.0 source still has OP_CHECKMULTISIG but not that OP_EVAL implementation. Pay-to-script-hash documents the alternative that was adopted in BIP 16. PR #669 and contemporary explanation · Bitcoin 0.6.0 interpreter · BIP 12 — closed proposal

This is why the December 2011 merge cannot be cited as proof that arbitrary nested script execution reached deployed Bitcoin consensus. The surviving records establish the experimental merge and the later released code; tracing the precise intervening removal commits remains worthwhile.

Bare multisig, P2SH and wallet interoperability

Bare multisig places the full OP_CHECKMULTISIG script in the output itself. The sender must know its threshold, keys and ordering. BIP 11's three-key standard template is the familiar early example. A bare script does not carry the familiar P2SH 3... address; a human-readable destination is a wallet convention, not a field naming the signers in Bitcoin consensus. BIP 11 — standard template

With P2SH, the sender pays to a hash of the intended script. The recipient discloses the redeem script when spending the output, and upgraded Bitcoin nodes enforce its contents. Many different scripts, not just multisignature arrangements, can share the P2SH output shape. A 3... address by itself therefore does not prove the wallet used multisig or reveal the number of signing parties. BIP 16 — script-hash validation · Bitcoin address

BIP 67 addressed another practical problem: two wallets using the same set of keys can construct different P2SH scripts and therefore different addresses merely by ordering those keys differently. Its lexicographic compressed-key sorting is an application-level interoperability convention, not a consensus rule imposed on every multisig script. A small source wrinkle is worth preserving: BIP 67's motivation section mistakenly refers to P2SH as “BIP-0011”, although BIP 11 is the standard bare-multisig proposal and BIP 16 defines P2SH. BIP 67 — motivation and specification · BIP 16

Coordinating signatures across wallets

In 2017, BIP 174 proposed the partially signed Bitcoin transaction (PSBT) format to solve a different interoperability problem from BIP 11 and P2SH. A multisignature script says which signatures are required to spend an output. A PSBT records which proposed transaction those signers are cooperating on, and can carry earlier output information, redeem scripts, derivation paths and partial signatures between devices. The specification's 2017 draft already illustrated 2-of-3 multisignature coordination; the heavily revised format reached Bitcoin Core's 0.17.0 release in October 2018. A PSBT is an off-chain signing container rather than a new consensus multisignature opcode. Original BIP 174 and illustration · Core 0.17.0 release notes

Cooperative key aggregation rather than multiple on-chain signatures

MuSig2 is a different construction from a bare OP_CHECKMULTISIG output. Participants cooperate on an aggregate key and produce one Schnorr signature, potentially for Taproot. BIP 373 represents the public-nonce and partial-signature rounds inside a PSBT. The basic scheme is not automatically a 2-of-3 threshold arrangement, and its final on-chain signature does not identify how many people signed. BIP 327 · BIP 373

The BIP 327 history also matters for signing safety: a 2022 draft supporting individually tweaked keys was revised after a first-party disclosure involving concurrent nonce sessions. The final specification binds a signer's key choice to its nonce, and libsecp256k1 first distributed a BIP 327 musig module in November 2024. This is separate from Bitcoin Core's later complete wallet-signing implementation. Original proposal and security correction · Library release · Core wallet implementation

The dummy-value rule and new script versions

BIP 147's NULLDUMMY rule requires the extra element consumed by OP_CHECKMULTISIG to be empty. Previously, an observer could change that unused element, leaving the spend valid under older rules but changing serialized transaction bytes. The BIP explains that this could affect legacy txids and, for SegWit transactions, wtxids. It applied to relevant old scripts and P2WSH, and deployed with SegWit in August 2017. The BIP also reports that the reference implementation had enforced the empty-dummy condition as relay policy since Core 0.10.0; once again, relay policy preceded consensus enforcement. BIP 147 — original rationale and deployment · Segregated Witness

With Taproot, a tapscript script-path spend uses different signature opcodes. BIP 342 disables legacy OP_CHECKMULTISIG there and supplies OP_CHECKSIGADD, while multi-party protocols can also cooperate to produce one key-path signature. It would be inaccurate to infer from an observed Taproot signature that only one person authorized the spend. BIP 342 · BIP 340 — Schnorr

The unexpected second life: carrying application data

The same bare-multisig output form later became relevant to Counterparty and Bitcoin Stamps, but for a different purpose than distributed custody. Counterparty's maintained protocol specification describes one-of-three data outputs: one public-key position belongs to the sender so the output can be redeemed, while two other public-key-shaped slots encode protocol bytes. Those bytes are interpreted by Counterparty-aware software, not by Bitcoin's signature rules. This present-day specification is direct evidence of the documented encoding, not independent proof of exactly when each historical variant first appeared. Counterparty protocol specification — maintained first-party documentation

The distinction mattered in 2014. During the debates over OP RETURN, developers considered whether a small standard null-data carrier would discourage or redirect applications using bare multisig to publish larger payloads. Bitcoin Core's 0.9.0 release notes framed provably unspendable data outputs as a way to avoid unnecessary UTXO retention; Counterparty developers were already working within the alternative encoding's limits. Contemporary discussion · Bitcoin Core 0.9.0 release notes

In 2023, Bitcoin Stamps used Counterparty descriptions and bare-multisig-style output storage for its Classic image format. That is an example of a multisignature script pattern repurposed for data; it is not by itself evidence of three distinct custodians signing artwork transfers. The archive separately preserves an early Stamps specification that described its carrier as P2SH and later documentation that describes Classic as bare multisig; representative raw transactions remain the stronger way to reconcile those descriptions. Contemporary Stamps rules · Later implementation guide

Evidence and open work

The earliest source directly checked here proves the opcode existed by Bitcoin v0.1.5. BIP 11, PR #669 and Bitcoin-Qt 0.6.0 are contemporary proposal, merge and release records. BIPs 67, 147 and 342 are later specifications for distinct changes. Modern Counterparty documentation describes a maintained encoding, not a recovered 2014 binary. These source classes should not be swapped without explanation.

Open question
Identify an independently decoded earliest confirmed bare multisig output and a corresponding successful spend, distinguishing early non-standard confirmations from transactions relayed under Bitcoin-Qt 0.6.0 policy.
Open question
Trace the precise commits removing OP_EVAL's experimental implementation between the December 2011 merge and Bitcoin-Qt 0.6.0, without confusing removal with the later P2SH activation.
Open question
Reconcile early Stamps P2SH descriptions with representative raw Classic output scripts, preserving the source revisions and on-chain heights.