Deciphr Academy
Track 1 · Foundations · Module 2

How a blockchain works

Hashes, blocks, nodes and how strangers agree on one history.

Lessons
6
Reading
36 min
Quiz
15 questions
Pass mark
80%
  1. 1Hashes: digital fingerprintsWhat is a hash, and why do blockchains use them?5 min
  2. 2Blocks and chainsWhat is a block in a blockchain, and how are blocks linked?5 min
  3. 3Nodes: thousands of copiesWhat is a blockchain node, and why run one?6 min
  4. 4Proof of workHow does proof of work work?7 min
  5. 5Proof of stakeHow does proof of stake work?6 min
  6. 6Finality and forksWhen is a blockchain transaction final?7 min

The case used in this module

Each module tells its own made-up Brindlecove story, so details can differ from one module to the next.

Key words

Hash function
A function that turns data of almost any size into a short code of fixed length, called a digest.12
SHA-256
A hash function from a US standard, FIPS 180-4. Its digest is 256 bits long. Bitcoin uses it.23
Block
A batch of transactions plus a header that describes it, including the hash of the block before.2
Genesis block
The first block in a blockchain. It has no block before it.2
Node
A computer in a blockchain network that runs the network's software and connects to other nodes.24
Full node
A node that stores the blockchain and checks that transactions and blocks are valid.25
Nonce
A number used only once. In proof of work, miners change it to get a new hash.2
Proof of work
A way to agree on new blocks: the first computer to solve a hard guessing puzzle adds the next block.2
Proof of stake
A way to agree on new blocks: users lock up coins, and their chance of adding a block depends on their share of the stake.26
Validator
On Ethereum, a user who has deposited at least 32 ETH and runs software to check and propose blocks.67
Confirmation
On Bitcoin, a transaction gains one confirmation for each block, starting with the block that includes it.8
Finality
The point at which a transaction is in a block that can no longer change.910
Sources
  1. Hash Functions (project page). US National Institute of Standards and Technology, Computer Security Resource Center.
  2. NIST IR 8202: Blockchain Technology Overview. US National Institute of Standards and Technology (Yaga, Mell, Roby, Scarfone), October 2018.
  3. FIPS 180-4: Secure Hash Standard (SHS). US National Institute of Standards and Technology, August 2015.
  4. Nodes and clients. ethereum.org developer docs, page updated 13 July 2026.
  5. Running a full node. Bitcoin Project, bitcoin.org.
  6. Proof-of-stake (PoS). ethereum.org developer docs, page updated 7 October 2026.
  7. Pectra MaxEB. ethereum.org roadmap, page updated 16 July 2026.
  8. Bitcoin developer guide: Payment processing (verifying payment). Bitcoin developer documentation (developer.bitcoin.org).
  9. Proof-of-work (PoW). ethereum.org developer docs, page updated 13 April 2026.
  10. Gasper. ethereum.org developer docs, page updated 3 April 2026.