Основи блокчейну

Розподілена база даних, що підтримується мережею комп'ютерів і використовує криптографію для захисту даних від змін.

Перший практичний блокчейн був запущений у 2009 році Сатоші Накамото (Satoshi Nakamoto) для Біткоїна, щоб вирішити проблему 'подвійного витрачання' без банків. Блокчейни бувають публічними (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). Транзакції в блоці зазвичай хешуються в дерево Меркла (Merkle [Tree](/uk/terms/merkle-tree)). Для досягнення консенсусу в мережі без довіри (розв'язання задачі візантійських генералів) використовуються алгоритми 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.

🔗 Пов'язані терміни

Попередні знання:

📚 Джерела