0
1
Let's say miner Moe mines a block taht is accepted by the network. Moe presumably receives some Bitcoins in his wallet for this. So let's say Moe "spends" that Bitcoin by buying some anti-poking goggles from Curly, even though his newly mined block is at the top of the chain and has no blocks on top of it. Curly sends the goggles to Moe via FedEx. Then another miner Larry mines a longer block and that replaces the original one Moe mined. So now Larry has some Bitcoins. So does the transaction between Moe and Curly disappear and Curly is left without a pair of goggles and with no Bitcoin?
"But even if he did wait 100 blocks before transacting, Curly could still be defrauded." -- yes, but that would just be a regular double spend attempt. A reorganization of 100 blocks is unreasonable. After that much POW you can be assured that the block that mined the coins will stay in the chain. – Jestin – 2018-01-02T21:49:27.537
"Firstly, Moe cannot spend newly mined Bitcoins until 100 blocks have been mined on top of his block" -- what exactly prevents this? If Moe has hte Bitcoin adn Curly chooses to accept it (after being poorly advised not to wait for 100 blocks), what safeguard is there? – Dave – 2018-01-03T17:25:41.773
It is a consensus rule that prevents it. The transaction will be invalid. I suppose it doesn't matter if Curly accepts it even though it is unconfirmed. – Andrew Chow – 2018-01-03T18:08:54.870
But in my question Curly has accepted the Bitcoin before Larry has mined a longer block. Or can this siutation never happen, since you mention Moe cannot spend newly mined Bitcoins until 100 blocks have been mined (which I'm guessing is part of the Bitcoin software)? – Dave – 2018-01-03T20:53:41.350
This situation is possible but easily avoidable. – Andrew Chow – 2018-01-03T20:57:28.863
Ok, then could you explain your comment "Firstly, Moe cannot spend newly mined Bitcoins until 100 blocks". If my situation is possible it sounds like Moe could spend his Bitcoins immediately as long as there are a few suckers out there. – Dave – 2018-01-04T01:19:59.757
I misread your question. I thought Moe had mined a block containing that spend. – Andrew Chow – 2018-01-04T02:21:11.250