This is my lecture of the day and learned something. I made a draw in order to understand it better.
Recently I learned about the Finney Attack which was very interesting in theory but today it's a little hard to do it. So, let's say there's a guy (named Troll Finney) who has the best decentralized protocol, the internet of money named FinCoin (FIC), so let's go buy stuff with Troll who has bad intentions.
Finney Attack explained
So, in this example, we have: two shops, two transactions, two miners and one coin1. Let's go shopping and make an attack to the network.
- Let's say you want to buy...a coffee. You get there and your payment method is FIC.
- But at the same time, you're selling a bag of tea to someone. This fren will pay you also in FIC.
- Here's come the tricky part. Previous to pay the coffee Mr. Troll made a copy of the same coin he received. So now he has one FIC and a copy of tha same coin.
- Troll send the coin to shop 1 and shop 2 at the same exact time.
- The first bitcoin to broadcast the transaction will be the winner. Since both shops have the same coin, one shop won't have nothing.
So, as a result, SHOP X or SHOP Y will win? Even if Troll told you he made the transaction, someone won't get the coin. Yes, the miner with lower hashrate will lose obviously but it's not that simple to perform since most exchanges (in case you want to trade) requires a 2 or 3 confirmations before make the deposit in their platforms.
Footnotes
-
One coin to rule them all! ↩