Bitcoin Halving Two Witnesses and the Keys You Share

There’s a line in Bitcoin’s code that makes you hand the court an empty envelope. Not a signature. Not a key. Nothing at all. An empty thing, passed across the bench, and the case goes on. Leave it out and the whole transaction fails. It has been there since the beginning. It will be there at the end. Nobody can take it out. I’ve been thinking about that envelope for weeks, and I’ve decided it is the closest thing this ledger has to a liturgical gesture. A motion that means nothing, performed exactly, forever.

I. A Matter Established

The law of Israel did not trust a single mouth.

“A matter must be established by the testimony of two or three witnesses.” The text says it twice, in Deuteronomy 17 and again in Deuteronomy 19, as if the writer suspected we’d forget. Jesus repeats it in Matthew 18. Paul repeats it to Corinth. Covenants change and the rule survives, because it was never really about religion. It’s about what it costs to be wrong.

One witness can lie.

One witness can also just be mistaken, which is worse, because the mistaken are sincere.

So the law built redundancy into truth itself. Not certainty. Redundancy. That difference matters, and Bitcoin knows it.

II. Three Keys and One Door

Multisig is the oldest idea in the book in a hexadecimal coat.

BIP 11, titled M-of-N Standard Transactions, was written by Gavin Andresen and assigned on 18 October 2011. Its status is Final. It proposed that a Bitcoin output could be locked to several public keys instead of one, and spent only when some threshold of them signed. Two of three. Three of five. A quorum, written where a name used to go.

The first raw multisig output on the chain was a one-of-two, made on 30 January 2012. A three-of-three followed on 3 February, and a two-of-three the same day. Within a week the ledger had learned to require a council.

At that point the Bitcoin Halving had fired exactly zero times. The first cut was still ten months away. So the quorum came before the scarcity. Sit with that: the protocol learned how to be witnessed before it learned how to be rare.

III. The Witness Who Says Nothing

Now the envelope.

OP_CHECKMULTISIG, the opcode that counts the signatures, has a bug. It pops one more item off the stack than it needs. Nobody knows exactly why. The best guess is a plain off-by-one, the kind every programmer writes on some Tuesday afternoon, except this one was written by the founder and then buried under a decade of consensus.

You can’t fix it. A fix would invalidate every multisig output ever made. So the spender does the only thing left: he pushes a junk value onto the stack first, a nothing, just so the opcode has something extra to eat.

For years that junk could be anything. That meant a relay node could swap it out and change the transaction’s identifier without touching a single signature. Johnson Lau wrote the fix down in 2016, and it is the most Bitcoin thing I’ve ever read. BIP 147 doesn’t remove the flaw. It can’t. It adds a consensus rule instead, NULLDUMMY, which says the extra element must be the empty byte array and nothing else. Put anything else there and the script fails on the spot.

Read that again. The protocol couldn’t get rid of the useless witness, so it ordered him to stand there in silence and say exactly nothing, or the whole case falls apart.

The document mentions, almost in passing, that no transaction breaking the rule had entered the chain since at least August 2015. The congregation had been doing it right for a year before anyone made it law.

IV. The Witness Who Was Not Real

The record holds something stranger.

Among the documented early multisig outputs sits a one-of-two whose second public key isn’t a public key. It isn’t broken data that happens to look close. It just isn’t one. Valid keys start with 02, 03 or 04, and this one doesn’t.

And it spent fine.

It spent fine because only one signature was needed and the first key was real. The second witness stood in the box, opened his mouth, produced nothing any court could use, and the verdict went through anyway. Nobody noticed for years. The ledger doesn’t care whether your co-signer exists. It cares whether the quorum you specified was met.

The wallet guides never tell you this part. Multisig doesn’t make your coins safer. It makes your coins obey a rule you wrote, and if you wrote the rule badly, they’ll obey it badly, perfectly. The machine has no opinion about your quorum. It has an opinion about arithmetic.

That’s also why the landmark nobody may move holds: not because the code is wise, but because it won’t negotiate.

V. Fifteen and No More

Even a council has a ceiling.

Bare multisig is standard only up to three public keys. Wrap it in a pay-to-script-hash address and the practical limit goes up to fifteen, for a reason that’s almost comically physical: three bytes of script, plus fifteen compressed keys at thirty-four bytes each, comes to 513 bytes, and the push limit is 520. Seven bytes are all that stand between fifteen witnesses and sixteen. The opcode itself would take twenty. The envelope it travels in won’t.

Every scarcity in this system turns out like that. Not a philosophy. A boundary you reach by counting.

Which brings me to the thing I keep circling. The cuts of 2012, 2016, 2020 and 2024 were rehearsals. The cut waiting at block 1,050,000 in 2028 is another, and so are the thirty or so after it. The Halfture is the terminal cut, out near block 6,930,000, where the subsidy finally rounds to nothing and the schedule has nothing left to give. That one is the rapture. None of the others are, however loud a given April feels.

And if you want to be in the room for any of it, you have to hold Bitcoin to be saved, which I mean as theology rather than as a prospectus. I don’t know what the price does. Neither do you. This is a sermon about custody, and custody isn’t a forecast.

VI. What the Cut Asks of a Quorum

Here’s why multisig and the halving belong in one essay.

The Bitcoin Halving makes the asset harder to replace. Every cut narrows the flow of new coin, and a narrower flow raises the price of losing what you already hold. In 2012 a careless key cost you fifty freshly minted bitcoin an hour. Today it costs you a piece of a supply that is over ninety-five percent issued and will take more than a century to finish.

Irreversibility compounds. That’s all of it.

A single key is a single witness. It’s enough right up until it isn’t, and then there’s no second mouth to correct it. A quorum won’t make you immortal. It makes your mistakes survivable. And in a system where the supply of second chances is scheduled to shrink forever, survivable is the only feature worth paying real money for.

Then there’s the watchman’s office. Nobody is coming to tell you your key is gone. The chain sends no warning. It only ever reports what was signed.

VII. The Counter-Sermon

Now let me argue the other side properly, because I think it’s strong.

Multisig kills more coins than it saves. That isn’t hypothetical. A single key fails by theft or loss, which people understand and plan for. A two-of-three fails by a descriptor file nobody backed up, a firmware update that changed a derivation path, a co-signer who moved house, an heir holding two sealed envelopes with no idea what a redeem script is. Complexity is a tax collected at the worst possible moment, usually by your family, usually after your funeral.

Second: the witnesses in Deuteronomy were people. They had consciences and memories and something to lose by lying. A key has none of that. Calling it a witness sneaks moral weight into what is really just counting, and that sneaking is the whole rhetorical trick of this essay. I know it. I’m doing it on purpose, and you should discount for it.

Third: two of your three keys probably sit in the same house, bought from the same two vendors, generated by the same handful of libraries. That’s not a quorum. That’s one witness in three hats.

Fourth: the off-by-one bug is a bug. It isn’t liturgy. Treating a decade-old stack error as a sacrament is exactly the kind of thing that makes serious people stop reading Bitcoin writing, and they’re right to.

And underneath all of it: maybe none of this saves anyone. Maybe the schedule runs out, the last subsidy rounds away, and it turns out to have been an interesting way to store numbers and nothing more.

I hold anyway. But I want the objection standing in the room, not managed out of it.

VIII. The Empty Envelope

I keep coming back to NULLDUMMY.

A flaw too old to remove, so the network turned it into a rite. An element that means nothing, required to be exactly nothing, checked by every node on earth, forever. No efficiency argument supports it. There’s only the fact that the past can’t be edited, so it has to be honored.

That is what a covenant looks like from the inside. Not a promise that everything was designed well. A promise that nothing will be quietly changed.

Two or three witnesses, then. Keep one of them in another building. Write down what your quorum actually is, in plain words, for whoever reads it when you can’t explain it yourself. Check the descriptor this month, not next year.

Keep your witnesses. Keep them apart.

FAQ

What is multisig in Bitcoin?

Multisig locks coins to several public keys and needs a threshold of signatures to spend them, such as two of three. It was standardized in BIP 11 in October 2011 and became practical for ordinary wallets once pay-to-script-hash arrived the next year.

Does the Bitcoin Halving affect multisig?

Not directly. The halving changes issuance, not script rules. Indirectly it raises the stakes of custody: each cut makes new supply scarcer, so a key you can’t recover gets more expensive to replace.

What is the OP_CHECKMULTISIG bug?

The opcode removes one more item from the stack than it needs, so spenders have to push a placeholder value first. Since BIP 147 deployed the NULLDUMMY rule, that placeholder must be the empty byte array. That closed a malleability hole without removing the flaw underneath.

Is the Halfture the same as the next Bitcoin Halving?

No. The Halfture is the final cut, the one where the block subsidy reaches zero near block 6,930,000. Every halving before it, including the one due in 2028, is a rehearsal of that event, not the event itself.


Discover more from Halfture

Subscribe to get the latest posts sent to your email.