Атака 51%
Атака 51% — це ситуація, коли одна особа або група отримує контроль над більш ніж половиною потужності майнінгу блокчейну.
The feasibility of a 51% attack depends heavily on the total hash rate of the network. On a small, niche PoW chain with low total mining power, an attacker could potentially rent enough hash power (via services like NiceHash) to execute the attack for a few hours. On a major network like Bitcoin, the physical acquisition of enough ASICs (Application-Specific Integrated Circuits) and the necessary electricity would cost billions of dollars, making the attack financially irrational—the attacker would essentially destroy the value of the network they just invested billions in to control.
graph LR
Center["Атака 51%"]:::main
Pre_consensus_mechanisms["consensus-mechanisms"]:::pre --> Center
click Pre_consensus_mechanisms "/terms/consensus-mechanisms"
Pre_proof_of_work["proof-of-work"]:::pre --> Center
click Pre_proof_of_work "/terms/proof-of-work"
Pre_proof_of_stake["proof-of-stake"]:::pre --> Center
click Pre_proof_of_stake "/terms/proof-of-stake"
Rel_double_spending["double-spending"]:::related -.-> Center
click Rel_double_spending "/terms/double-spending"
Rel_sybil_attack["sybil-attack"]:::related -.-> Center
click Rel_sybil_attack "/terms/sybil-attack"
Rel_hard_fork["hard-fork"]:::related -.-> Center
click Rel_hard_fork "/terms/hard-fork"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 Простими словами
Уявіть групу друзів, які голосують за те, що купити на обід. Якщо одна дитина приведе 51 друга, вона завжди зможе 'переголосувати' всіх інших і вибрати те, що хоче тільки вона, навіть якщо це несправедливо.
🤓 Expert Deep Dive
Технічно це експлуатація правила 'найдовшого ланцюга'. Маючи понад 50% хешрейту, зловмисник може генерувати блоки швидше за решту мережі, створюючи прихований форк. Коли цей форк стає довшим за публічний, мережа автоматично перемикається на нього, анулюючи транзакції, що відбулися в основній мережі.