Example of double-spending
What would happen if a miner tries to conspire and create double-spent transactions?
Imagine the following scenario. John wants to buy a car with Bitcoin. He finds a dealer of sports cars who accepts Bitcoin as a form of payment. John buys an awesome orange Lamborghini for 10 Bitcoin. Right after the payment is made and included in the blockchain as the top block, John drives away in his new Lambo. The vendor has delivered the product with no delay. However, John has colluded with Mr. Li who is a miner. Actually, Mr. Li operates a huge mining pool with a lot of processing power. Think about a big data center full of computers dedicated just to mining on the Bitcoin blockchain. Mr. Li immediately re-mines the same ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access