Podstawy Blockchain
Rozproszona baza danych utrzymywana przez sieć komputerów i zabezpieczona kryptografią.
Pierwszym szeroko wdrożonym blockchainem był Bitcoin, uruchomiony w 2009 roku przez Satoshiego Nakamoto, aby rozwiązać problem 'podwójnego wydatkowania' bez banków. Blockchainy mogą być publiczne (Permissionless) lub prywatne (Permissioned).
graph LR
Center["Podstawy Blockchain"]:::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;
🧒 Wyjaśnij jak 5-latkowi
Wyobraź sobie wspólny notes, którego kopię mają tysiące nieznajomych. Kiedy ktoś chce dodać nową stronę (blok), wszyscy sprawdzają, czy zapisy są poprawne. Jeśli się zgadzają, strona jest wklejana na stałe. Nikt nie może jej wymazać, a oszustwo jest natychmiast wykrywane.
🤓 Expert Deep Dive
Niezmienność osiąga się dzięki funkcjom hashującym (np. SHA-256) i drzewom Merkle'a. Konsensus w sieci P2P (rozwiązanie problemu generałów bizantyjskich) jest osiągany dzięki algorytmom takim jak Proof-of-Work czy Proof-of-Stake. Nowoczesna architektura staje się modularna (Rollupy), aby rozwiązać trylemat skalowalności.
❓ Częste pytania
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.