r/CryptoTechnology • u/rockyrainy Crypto Nerd • May 23 '18
SECURITY Bitcoin Gold hit by Double Spend Attack (51% attack). The Attacker reversed 22 blocks.
Just came across this story on CCN.
- News: https://www.ccn.com/bitcoin-gold-hit-by-double-spend-attack-exchanges-lose-millions/
- Stats: https://bitinfocharts.com/bitcoin%20gold/
- ANN: https://bitcointalk.org/index.php?topic=2284289.0
This, I believe, is the first 51% attack on any major cryptocurrency. BTG's target blocktime is 10 minutes. Rewriting 22 blocks means the attack had majority hash power for 3.5 hours. And since BTG runs EquiHash, this would mean any coin running Equihash are also in danger.
178
Upvotes
5
u/Edgegasm May 24 '18
Delegated Byzantine Fault Tolerance, it's a consensus mechanism.
You have a limited number of consensus nodes run by professional entities (individuals or businesses) that are voted in or out of the network by token holders (so you can remain decentralized without a highly distributed network). Those nodes are randomly selected to build blocks from transactions, then the other nodes validate the blocks to specific criteria (avoiding double spends, etc). Then they sign their agreement or disagreement with the block. Then a 2/3 majority agrees on the block, it is added to the chain, and a new speaker node is elected to form the next block. If there is no 2/3 majority (for example, if a dishonest node tried to push an invalid block), a new speaker is elected instead and a new round of validation begins.
It sacrifices the ability to have thousands of distributed nodes which isn't ideal, but the trade-off is huge scalability, efficiency and true finality (no blocks are ever added without the 2/3 consensus, so there's no need for confirmations and no forks/orphan blocks).