Основы блокчейна
Распределенная база данных, поддерживаемая сетью компьютеров и использующая криптографию для защиты данных.
Первый практически применимый блокчейн был запущен Сатоши Накамото (Satoshi Nakamoto) в 2009 году для Биткоина, чтобы решить проблему «двойной траты» без банков. Блокчейны делятся на публичные (Permissionless), где участвовать может любой, и приватные (Permissioned), доступные только авторизованным участникам.
graph LR
Center["Основы блокчейна"]:::main
Pre_cryptography["cryptography"]:::pre --> Center
click Pre_cryptography "/terms/cryptography"
Pre_distributed_systems["distributed-systems"]:::pre --> Center
click Pre_distributed_systems "/terms/distributed-systems"
Rel_layer_1["layer-1"]:::related -.-> Center
click Rel_layer_1 "/terms/layer-1"
Rel_distributed_ledger_technology_dlt["distributed-ledger-technology-dlt"]:::related -.-> Center
click Rel_distributed_ledger_technology_dlt "/terms/distributed-ledger-technology-dlt"
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;
🧒 Простыми словами
Представьте общую тетрадь, копия которой есть у тысяч незнакомцев. Когда кто-то хочет исписать новую страницу (блок), все проверяют, верны ли расчеты. Если все согласны, страница «вклеивается» навсегда. Никто не может ее стереть, а попытка обмана тут же замечается.
🤓 Expert Deep Dive
Неизменность данных достигается с помощью криптографических хэш-функций (например, SHA-256) и деревьев Меркла. Для достижения консенсуса в сети (решение задачи византийских генералов) применяются алгоритмы Proof-of-Work (термодинамические затраты) или Proof-of-Stake (финансовые штрафы). Современная архитектура развивается в сторону модульности (например, Rollups) для решения трилеммы масштабируемости.
❓ Частые вопросы
Are blockchain and cryptocurrency the same thing?
No. Cryptocurrency (like Bitcoin) is just one application built on top of a blockchain. Blockchain is the underlying database technology that makes cryptocurrencies possible.
Why can't blockchain data be changed or hacked easily?
Because the blocks are linked mathematically using hashes. If a hacker tries to change data in an old block, its hash changes, which breaks the connection to the next block. They would have to recalculate the entire chain faster than the rest of the network combined.
What is a 'node' in a blockchain?
A node is simply a computer running the blockchain's software. It keeps a copy of the ledger, validates new transactions, and communicates with other nodes to reach an agreement (consensus) on the true state of the network.