In short: Understand the 51% attack: when a group controls most of the mining, what it can and cannot do, real cases in other currencies and why Bitcoin is the most expensive target.
In numbers
The attack does not steal Bitcoins from wallets, but it can allow you to spend the same coin twice.
What is a 51% attack
In Bitcoin, miners compete to add blocks to the blockchain, and the network follows the chain with the most accumulated work. A 51% attack It happens when a person or group controls more than half of the processing power (hashrate) and starts to produce blocks faster than the rest of the network. Understand the basis in bitcoin mining.
What the attacker can and cannot do
| He can | Can not |
|---|---|
| Spend your own coins twice, reversing a payment | Stealing Bitcoins from other people's wallets |
| Prevent certain transactions from being confirmed | Create bitcoins beyond the rules or change the limit of 21 million |
| Rearrange recent blocks | Fake signatures |
The most common blow is the double spending: The attacker deposits coins at a brokerage firm, exchanges it for something else, draws, and then publishes an alternative chain in which the deposit never took place.
Real cases
- Bitcoin Gold (2018): It suffered a double spending that caused millions of dollars to damage brokerages.
- Ethereum Classic (2019 and 2020): underwent deep reorganizations of the chain.
- Bitcoin (2014): The Ghash.io pool has passed 50% of the hashrate for a short time. Miners left the pool and there was no attack.
The targets were smaller coins, where renting enough mining power is cheap, according to Wikipedia.
Why is it so hard on Bitcoin
Bitcoin has the highest hashrate among the proof of work coins. To attack it, it would be necessary to buy and connect a huge amount of machinery and energy, a cost of billions of dollars. And the attack would overturn confidence in the coin, devaluing precisely what the attacker invested. See the current size of the network in What is hashrate.
And the mining pools?
Pools bring together thousands of miners, and sometimes two or three add up to more than half of the hashrate. But who decides where to point the machines is each miner, who can switch pools in minutes. Learn more at mining pool.
This content is informative and is not an investment recommendation. Cryptocurrencies are volatile and you can lose money.
Frequently asked questions
Has Bitcoin ever been attacked by 51%?
There is no record of 51% successful attack against Bitcoin.
Can a 51% attack steal my bitcoins?
No. It doesn't allow you to spend other people's coins, just reverse the attacker's own transactions and block transactions.
How much would it cost to attack Bitcoin?
Billions of dollars in machinery and energy, in addition to the risk of lowering the value of the currency.
How many confirmations should I expect?
For high values, six confirmations is the classic reference.
References
This content is informative and is not an investment recommendation.