A more detailed explanation of the whole

"A double-spend broke Bitcoin" FUD that was circulated by an irresponsible publication.

1/

There was a chain re-organization in the Bitcoin blockchain. This is a common occurrence that is part of Bitcoin's normal operation. It is a result of decentralized consensus under Proof-of-Work. All PoW chains do this.

2/
Two blocks were mined almost simultaneously, competing for the same height, meaning that they had the same parent block and were trying to extend the chain of the same block

3/
Only one can ever succeed in the long run. It is possible that different nodes and miners see one or the other block first and assume it is the winner. This is also normal in a decentralized consensus algorithm

4/
Eventually, within an average of 10 minutes another block is mined. This new block has as its parent *one* of the two competing blocks. Which one? Whichever one the miner saw first and assumed to be the winner.

The new block extends the chain, resolving the issue.

5/
Of the two originally competing blocks, one is now a parent and the other is the last descendant of a shorter chain. The chain with the greatest cumulative difficulty is selected by all. This "orphans" any descendants from the other chain because it is discarded.

6/
Again, all of this is normal. A 1-block reorganization happens every couple of weeks on average as a consequence of decentralized PoW.

A 2-block reorganization happens less often, maybe a few times a year

A 3-block reorg is extremely rare. I don't think we've ever seen one

7/
What happens to any transactions in the discarded block? If they are also in the winning block then all is well. If they are not in the winning block, each node puts them back into its mempool as "unconfirmed" and they wait for another opportunity

8/
During a re-organization, there is a chance for someone to attempt a "double spend". This is not a double spend from the perspective of the blockchain as a whole. Only one spend survives, therefore no double spends happen. That's the whole point of PoW consensus.

9/
But from the perspective of the recipient of a payment, they may see a transaction that appears to have 1 confirmation (it is in a block), then disappears when that block is discarded.

10/
Very rarely, the sender will sneak a *different* transaction in the competing/winning block. Let's say this is a payment for a lesser amount (more change back), or to a different address.

11/
Because the original transaction is gone (discarded block), the new transaction (winning block) is the only "real" transaction. The blockchain has prevented a double spend by discarding one and only recording the other.

12/
From the perspective of the recipient, they thought they were "paid" after 1 block, then they... weren't. This is why "confirmations" provide /probabilistic/ immutability. The chance of a reorg drops with each subsequent confirmation

13/
This is described in the Satoshi whitepaper on page 8. In fact, it's the only math equation in the paper and it describes the declining probability of a re-org, showing why "6 confirmations", though arbitrarily chosen is a good basis to consider a transaction finalized

14/
Here's page 8. As you can see the chance of a block getting discarded from a reorg declines /exponentially/ as more blocks are added to the chain. Finality is based on probability.

15/
So when do you consider a transaction finalized and when is it safe to give your customer the TV or the fiat or whatever value you are exchanging? It depends on the amount!

I waited 3 confirmations after selling my car for $11,000 USD (IIRC). Was enough for me.

16/
It also depends on the risk of the buyer going away. I'd sell a house on 0-conf, *because I know where they live!*. They can't run away with it. Some things are more dangerous: I'd wait 6 confs to exchange for cryptocurrency, because once I give it I can't get it back.

17/
During this most recent re-org, a transaction of $22 was in both competing blocks as two competing transactions. We don't know why. We don't know who. But there's nothing "impossible" about this. It is part of the protocol

18/
Now, for $22 many would accept 1 confirmation. Worst case, you're out $22 of something you gave in return that was delivered instantly and irreversibly. Not a big deal.

19/
Many credit card vendors don't take a signature for amounts under $25 for the same reason: while it can be disputed without a signature, it's not worth the extra time and delay to get one for such an amount. Same risk model here.

20/
In fact, we do not know that the recipient of that payment lost money. They may have been waiting for 2 confirmations and not delivered the other part of the value. So in that case, they lost nothing - they consider this "unpaid" because it didn't get 2+ confirmations

21/
Someone article quoted the lie "it could've been $22 million". Well, no, it couldn't. If you accept a $22m payment on bitcoin, I would assume you understand how Bitcoin has worked since 2008, exactly as specified in the paper. You don't "deliver" on that payment after 1 conf

22/
Several other incorrect statements are also made in that and other articles about RBF and Segwit. Here's the truth: this is a normal function of any PoW blockchain. A re-org with two different versions of a transaction can occur in every other PoW chain.

23/
Nothing weird or outside the consensus algorithm happened. Bitcoin continues to work exactly as it should. The only thing that happened is bad "journalism" if it can even be called that. In a bubbly market, a rumour can circle the globe before it is debunked.

24/
Consider it debunked.

More from Bitcoin

The defi matrix

As each asset class goes on-chain, it can be stored in a digital wallet. And it can be traded against other such assets. Not just cryptocurrencies, but national digital currencies, personal tokens, etc.

We’re about to enter an age of global monetary competition.

The defi matrix is the table of all pair wise trades. It’s the fiat/stablecoin pairs, the fiat/crypto pairs, the crypto/crypto pairs, and much more besides.

Uniswap-style automatic market making for everything. Every possession you have, constantly marked to market by ~2040.

More liquidity, less currency?

This is an interesting point. Cash doesn’t make you money. In fact, it can lose you money in an inflating environment.

Reliable, 24/7 mark-to-market on everything is hard — but if achieved, means less % of assets in cash.


AMMs boost BTC. Here's why.

- All assets trade against all assets in the defi matrix
- Automated market makers give liquidity for rare pairs
- Everything is marked-to-market 24/7
- Value of cash drops, as you can liquidate instantly
- The new no-op is to keep your assets in BTC

Basically, automated market makers like @Uniswap boost BTC in the long term, because they allow *everything* to be priced in BTC terms, and *anyone* to switch out of BTC into their asset of choice.

Though in practice this may mean WBTC/RenBTC [or ETH!] rather than BTC itself.
Agree mate. Well done @ttmygh @profplum99 and @nic__carter on a ripping show. Im obviously in the "gold is superior" camp, though I am long #BTC (tiny position). I thought the best/most interesting point of whole debate was raised by @profplum99 regarding the fact that a 1/n


#Bitcoin transaction is never really final, given the energy required to keep the network running, and obviously its scale issues will only grow over time. That said, I actually though @nic__carter "won" the debate as it were, and I was unconvinced by the threat to national 2/n

security or undermining Fed policy angles Mike put forward. Two areas that are super interesting to me. One is the issue of #Bitcoin ownership, and how concentrated it is in terms of a small % of addresses that own most of it (2% addresses > 95% of holdings I think). 3/n

made great point a lot of this is omnibus/exchange related - so exchange or fund - ie @Grayscale holds #bitcoin for multiple investors. That may well be true - but it brings up 2 other issues. One - it proves that #bitcoin doesn't really "work" without 4/n

centralisation - as this implies most people need exchanges or funds (or @Paypal) to buy it. If so, that kills off a major "bitcoin is better than gold argument" - as in reality, gold is way more decentralised (from mine supply to ownership distribution). It also brings up a 5/n

You May Also Like