The Git board of snapshots, each one pointing at the one before. The chain you build here has the same shape. The new part is a price on adding each link, and a rule for when two chains disagree.
Before you start. A hash is a fixed-size fingerprint: change one byte and it changes completely (Git 02: The Tree hashed folders this way, and Git 03: Commits, Refs and HEAD let each Git commit name its parent by hash). A Merkle tree hashes hashes in pairs up to one top fingerprint (KV: everything used it to find three lost keys). Known nodes can agree on one log by majority (Raft Capstone: Everything).
Lesson 105 of 117 in From Scratch
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.