Blockchain works by giving a network a shared, checkable history of records, with rules for accepting changes and cryptographic links that help expose alterations.
If the first word that comes to mind is Bitcoin, you have found a famous example. You have not yet found the whole subject. Bitcoin uses a blockchain to keep a particular kind of money record. The wider idea concerns records, permission, order and agreement. Those questions appear in many places that have nothing to do with buying a coin.
Imagine people trying to share one notebook even though they live in different places. Each needs to know what has been agreed, who was allowed to add it and whether an old entry has been quietly changed. Blockchain is one family of answers to that problem. It is useful in some circumstances, unnecessarily complicated in others, and always dependent on more than a clever chain of data.
This book starts with that notebook. It builds one idea at a time, then follows the ideas into certificates, deliveries, tickets, shared equipment and digital money. Read the opening chapters for the simplest explanation; use the worked examples to test it; continue into the existing Master Blockchain lessons when you want greater precision. You can understand the entire first route without opening an account or buying anything.
Choose your reading route
Start where your question begins. The first thirty chapters form the plain-language guide; the extended reading room supplies the detailed companion lessons.
- Begin with the idea — Chapters 1–6: separate blockchain from cryptocurrency and picture the shared notebook.
- See the mechanism — Chapters 7–16: follow records, fingerprints, signatures, agreement and programmed rules.
- Find the useful jobs — Chapters 17–24: explore realistic uses, their limits and evidence of adoption.
- Learn to judge it — Chapters 25–30: compare choices, try an exercise and explain the whole system yourself.
- Go deeper — Chapters 31–48: extended explanations from eduKateSG’s Master Blockchain collection.
Full chapter index · Paper activity · Advanced subject routes · Master Blockchain learning guide
Where this guide sits
This is the beginner entrance to How Blockchain Works. The English–Chinese Master Blockchain hub and structured learning guide provide the wider study routes. For the mathematical ideas behind checking and proof, continue to How Mathematics Works.
Full chapter index
Start with the ordinary problem · Chapters 1–6
See the machinery · Chapters 7–16
- 7. Blocks: why records are gathered into batches
- 8. Hashes: a fingerprint for digital information
- 9. The chain: why changing the past leaves a trail
- 10. Keys and signatures: who authorised the instruction?
- 11. Nodes and networks: who keeps the record?
- 12. Consensus: agreeing on a history without a classroom vote
- 13. Proof of work, proof of stake and permissioned agreement
- 14. Waiting, confirmations and finality
- 15. Smart contracts: rules that a computer can carry out
- 16. Oracles: how information gets in from the outside world
Find useful jobs · Chapters 17–24
- 17. Public, private and consortium systems
- 18. Certificates: checking a document without confusing the technologies
- 19. Deliveries and supply chains: following a thing through many hands
- 20. Tickets, membership and ownership: what does a token represent?
- 21. Money and payments: why cryptocurrency remains an important example
- 22. Archives, research and AI: preserving evidence without pretending to prove truth
- 23. Is blockchain becoming mainstream? Ask where, for whom and at what scale
- 24. What blockchain does not solve
Learn to judge and explain · Chapters 25–30
- 25. How to decide whether a job needs blockchain
- 26. Mistakes, lost access and recovery
- 27. Scaling and connecting systems: why there is more than one chain
- 28. A plain-English glossary you can actually use
- 29. Build a paper blockchain and see where the analogy breaks
- 30. Explain blockchain to a child, a parent and a curious adult
The extended reading room · Chapters 31–48
- 31. What Is Blockchain? A Clear Guide to Shared Records, Trust and Limits
- 32. Blockchain vs Traditional Databases: Choosing the Right Record System
- 33. Distributed Systems vs Blockchain: What the Extra Rules Change
- 34. Why Shared Records Need Trust Models
- 35. Blockchain History: From Digital Cash to Programmable Systems
- 36. Nodes, Clients and Peer-to-Peer Networks
- 37. Blocks, Transactions and the Meaning of State
- 38. Public, Private and Consortium Blockchains
- 39. When a Blockchain Is Useful and When It Is Not
- 40. Cryptographic Hashes: Fingerprints Without Secrecy
- 41. Public Keys, Private Keys and Digital Signatures
- 42. Sybil Attacks and Permissionless Participation: Why Identities Are Not Votes
- 43. Reading Blockchain Consensus Claims: Validity, Fork Choice and Finality
- 44. Proof of Work and Cumulative Work: Targets, Trials and Valid Branches
- 45. Proof of Stake, Validators and Slashing: Reading the Evidence Behind Participation
- 46. Finality, Confirmations and Reorganisations: A Recipient's Transaction Timeline
- 47. Smart Contracts as State Machines: Check the Caller, Conditions and Limits
- 48. Blockchain Oracles: Check the Report Before Trusting the External Fact
CHAPTER 1 OF 48 · Start with the ordinary problem
1. Bitcoin is one doorway, not the whole building
Say “blockchain” at a dinner table and somebody may mention Bitcoin. Somebody else may mention prices. Another person may remember a headline about a lost password, an expensive digital picture or a company that collapsed.
Those associations are understandable. They are also a crowded entrance to a much larger subject.
The easiest way in is to put the price chart aside for a moment. Ask a quieter question: how do people keep a record together when they do not want one person to control the whole record?
That question belongs to computer science, but it also belongs to everyday life. A club keeps a record of membership. A library keeps a record of loans. A shop keeps a record of stock. A delivery company keeps a record of handovers. A school keeps a record of certificates. Money is another kind of record: who can spend what, and which payments have already happened.
Bitcoin brought a particular solution to the digital-money problem. The blockchain is part of that solution. Other systems use related ideas for different records and different rules.
Three things that often get mixed together
A blockchain is a way of organising and maintaining a shared record. A cryptocurrency is a kind of digital asset that can be transferred under a network’s rules. A trading platform is a service through which people may buy, sell or hold assets. These are connected in many products, but they are not the same thing.
Imagine confusing a railway, the cargo on a train and the shop selling tickets. They belong to the same journey, yet each has a different job. A problem at the ticket shop does not explain every property of the railway. A valuable cargo does not prove that every railway project is useful.
The same care helps with blockchain. The price of a token does not measure the usefulness of every shared ledger. A well-designed ledger does not promise that a token will rise in value. Learning how the machinery works does not require participating in a market.
What changes when we begin with the record?
We start seeing practical questions. Who can add an entry? Can someone spend the same balance twice? Can a delivery company deny an earlier acknowledgement? Can an employer check that a certificate has not been altered? Can several organisations use the same history without placing every decision in one organisation’s hands?
Not all of those questions need a blockchain. Sometimes the best answer is an ordinary database. Sometimes it is a signed file. Sometimes it is a clearer agreement between the people involved. The subject becomes easier when we allow all those answers to exist.
Blockchain is therefore neither a synonym for cryptocurrency nor a promise that every record should become a token. It is a particular set of tools for particular coordination problems.
A useful first sentence
Try this: “A blockchain helps a network keep an agreed history that participants can check.” It is not the complete technical definition, but it points in the right direction. We will gradually add what makes the history checkable, how agreement works and why the word “agreed” needs care.
For now, hold four ordinary words: record, rules, checking and agreement. A record says what is proposed or what has happened. Rules decide what is allowed. Checking examines whether those rules have been followed. Agreement establishes which valid sequence the network treats as its history.
The interesting part is how these four jobs work together. That is where the book begins.
Keep this idea: Bitcoin is a famous use of blockchain. Understanding blockchain means understanding the shared-record machinery, not merely knowing the name of a coin.
CHAPTER 2 OF 48 · Start with the ordinary problem
2. Why people need shared records
A record is a way of helping memory travel. A person writes something down so that another person, or the same person tomorrow, can work from it.
We do this constantly. A shopping list remembers what the kitchen needs. A school timetable remembers who should be where. A receipt remembers what a shop says was purchased. A booking system remembers that a seat has already been reserved.
The difficulty grows when several people need to act on the same information. Their memories differ. Their messages arrive at different times. One person may make a mistake. Another may benefit from changing the story. A system must cope with ordinary human confusion as well as deliberate dishonesty.
One telescope, three clubs
Imagine three neighbourhood science clubs sharing a telescope. We will call them North, Garden and Harbour. These are invented clubs for learning, not actual organisations.
North bought the telescope. Garden stores it during the week. Harbour runs a weekend astronomy activity. All three need to know who has it, whether it has been checked and which club has booked it next.
At first they use messages. North says, “We returned it on Tuesday.” Garden says, “We have a message about Wednesday.” Harbour has a screenshot saying the telescope is available on Friday. Nobody is necessarily lying. They may simply be reading different pieces of the conversation.
The problem is not that they lack data. They have plenty of data. The problem is that they lack a clear rule for deciding which data forms the accepted record.
A shared record gives actions a common starting point
The clubs need to agree on a few things. Every telescope needs an identifier. Every booking needs a date. Every handover needs an authorised acknowledgement. A cancelled booking must be distinguishable from a booking that never existed.
Now the record begins to support action. Harbour can arrange an activity because it knows what “confirmed” means. Garden can prepare the equipment because it can see the next accepted booking. North can investigate a missing part because it can follow earlier handovers.
A record is useful because people rely on it to do something next. This is why small mistakes can matter. A wrong spelling in a private note may be harmless. A wrong identifier in a shared equipment register may send the wrong item to the wrong place.
Shared does not automatically mean trustworthy
Putting a file online makes it easier to share. It does not settle who may edit it, whether old versions survive or how disputes are resolved. A screenshot shows what a screen displayed, but may not reveal the full history behind it.
The clubs could appoint a trusted coordinator. They could buy a booking service. They could run a jointly administered database. They could investigate a blockchain. Each choice moves responsibility around in a different way.
Before choosing, they should identify the actual difficulty. Is it slow communication? Unclear authority? Missing backups? Conflicting bookings? Fear that one club might quietly rewrite the past? A solution to the wrong difficulty adds work without helping.
History and the present answer different questions
“Who has the telescope now?” asks for its current state. “How did it get there?” asks for its history. Both can matter.
A current-state table might say “Harbour.” A history might show that Garden acknowledged receiving it, later approved a transfer, and Harbour then acknowledged collection. The history explains why the present answer is what it is.
Blockchain systems connect these two ideas: a sequence of accepted records and the situation that follows from applying their rules. The telescope story will let us examine that connection without introducing money first.
Keep this idea: the real starting point is a group that needs to rely on the same record. Blockchain is a possible design for that record, not the reason the group exists.
CHAPTER 3 OF 48 · Start with the ordinary problem
3. The shared notebook explanation
Picture a notebook on a table. Each page contains a numbered set of entries. A new entry might say, “Garden confirms that Harbour has collected telescope T1.”
Now imagine that the notebook has several matching copies, held in different places. There is a rulebook for adding entries. There is also a way of linking each page to the page before it so that changes to an earlier page can be detected.
This picture gives us the first rough shape of a blockchain. The pages stand for blocks. The linking information forms the chain. The people following the rulebook stand for the computers participating in the network.
What the notebook picture gets right
It helps us see that a blockchain is about an ordered record. We do not simply collect loose statements in a box. We care about which statement came before another, because the order can change what is allowed.
If the telescope is available, a booking may succeed. If the same time has already been booked, another request may fail. The words in the requests may be identical except for the club’s name, yet the order determines the result.
The picture also makes checking visible. A club need not accept a page merely because somebody calls it the latest page. It can check the page against the rules, its earlier history and the evidence the system requires.
Finally, the copies help us understand why one person changing their own notebook is not enough to change everyone else’s accepted history. Other participants have their own information and their own checks.
Where the picture stops being literal
Computers do not pass paper around. They exchange messages. Not every participant keeps the same amount of information. Some maintain full validating records; others rely on narrower proofs or services. Different blockchains divide these roles differently.
Nor does every computer gather for a simple show of hands. Agreement mechanisms use specific rules about who can propose a block, how a proposal is checked and what evidence supports accepting a history. We will unpack those rules later.
A blockchain is also not a notebook that nobody can ever change under any circumstances. Networks can experience competing histories, software changes, attacks and failures. “Difficult to rewrite under the system’s assumptions” is more useful than “impossible to change.”
A new page has to belong
Suppose somebody adds a page saying Harbour can use the telescope on Friday. The page should identify the earlier page it follows. Its entries should be properly authorised. They should not break booking rules. The network’s agreement process should establish where the page belongs.
These checks do different jobs. A page might link correctly but contain an unauthorised booking. It might contain a valid request but arrive too late because a conflicting request has already been accepted. It might be valid in isolation but belong to a branch the network does not ultimately follow.
This is why “it is on a blockchain” is only the beginning of an explanation. We need to know which blockchain, which rules, which evidence and which stage of acceptance.
The smallest useful model
For a first reading, think of a blockchain as a shared notebook with checked entries, linked pages and rules for choosing the accepted sequence. Keep all four parts. Remove the checking and it becomes easy to record invalid changes. Remove agreement and the copies can disagree indefinitely. Remove the links and this particular method of exposing alterations disappears.
The notebook does not see through walls. It cannot confirm that the telescope physically arrived merely because an entry says it did. Someone or something must supply that real-world information. This limit will become one of the most important ideas in the whole book.
Keep this idea: linked pages help protect the history, but the complete system also needs authorisation, validation and agreement.
CHAPTER 4 OF 48 · Start with the ordinary problem
4. What blockchain adds to an ordinary database
An ordinary database is already powerful. It can store millions of records, control access, keep an audit trail, make backups and serve users in different countries. It can run on several machines. It can use encryption and digital signatures.
So the honest question is not, “Can a database do anything useful?” It is, “What extra requirement makes us consider a blockchain?”
Very often that requirement concerns who controls the accepted history.
One organisation can be the right organiser
Suppose a school needs to record its classroom bookings. The school is responsible for the rooms. It can appoint administrators, correct mistakes and decide who has permission. A conventional booking database may be an excellent fit.
Distributing copies of that database across several servers can improve resilience. An audit log can help investigate changes. A signed export can let somebody check a particular report. None of these improvements requires turning the system into a blockchain.
Now consider several independent organisations that must maintain a common sequence of changes. They may want each participant to verify the history, and they may be unwilling to let one participant alter that history alone. The design problem has changed.
Replication and shared authority are different
Replication means keeping copies. Shared authority means dividing meaningful power. Ten servers controlled by one company may give ten copies and one ultimate administrator. Three organisations following a jointly governed protocol may divide authority more meaningfully, even with fewer machines.
The number of computers is therefore a poor shortcut for judging a system. Ask who operates them, who can change their software, who controls important keys and what the other participants can independently check.
A blockchain can provide rules for maintaining a common history among parties whose interests are not identical. It does this at a cost: more checking, communication, storage, coordination and governance. Those costs may be justified. They may also be unnecessary.
Editing a row and adding a correction
In many databases, an authorised administrator can directly update a row. That can be desirable. A misspelled name should be repairable. A private record may need controlled deletion. Good database design can still preserve an audit history of the correction.
A blockchain application often treats corrections as new accepted actions. The earlier history remains visible to those entitled to see it, while a later action changes the present state. A booking can be cancelled without pretending it never existed.
That is useful when the sequence matters. It can be awkward when sensitive information should never have been recorded in the first place. Good design begins before data enters the system.
Compare complete systems
An unfair comparison gives the database every possible weakness and the blockchain every possible strength. A fair comparison includes real controls on both sides.
Can the database produce independently verifiable evidence? Can the blockchain recover when an administrator loses a key? Who pays for operations? How quickly does each system give the user a dependable answer? How does each handle a disputed entry?
The answer may be a combination. An application can use a normal database for search and private data while publishing selected commitments to a blockchain. It can use signed documents without publishing anything to a chain. The best design follows the job.
The existing database comparison takes this decision further. For now, remember that blockchain is not an upgrade button that makes every database better. It changes the arrangement of authority and evidence, and asks us to pay for that change.
Keep this idea: choose blockchain when its particular way of sharing control and checking history serves a real requirement.
CHAPTER 5 OF 48 · Start with the ordinary problem
5. The four questions behind every blockchain
When a new subject becomes noisy, a few stable questions help. For blockchain, four questions carry a surprising amount of the explanation.
What is being recorded? Who may change it? Which changes are valid? How does the network accept one history?
They sound simple because they are meant to be usable. You can ask them about a classroom exercise, a public cryptocurrency network or a complicated business proposal.
What is being recorded?
A record might describe a payment instruction, a reservation, a digital token transfer or an acknowledgement about a delivery. It may contain the full relevant data, or only a compact commitment to information stored elsewhere.
The distinction matters. Recording a file’s fingerprint is not the same as storing the file. Recording a claim about a painting is not the same as possessing the painting. Recording that an account holds a token is not automatically a complete statement of legal ownership outside the network.
Start by naming the object plainly. “This system records approved changes to a shared equipment booking” is clearer than “This system digitises trust.”
Who may change it?
Different actions can require different permissions. A club member may request a booking. A club coordinator may approve it. A maintenance officer may mark the telescope unavailable. A system administrator may manage membership without being allowed to invent a handover.
Good systems separate these powers when separation helps. A valid digital signature supports a claim about signing authority. It does not automatically mean that every requested action should be permitted.
If somebody signs a request to reserve every telescope for the next ten years, the signature may be correct while the request violates the booking rules. Authorisation and validity have to meet.
Which changes are valid?
Rules describe permitted transitions. A booking must not overlap an accepted booking. A return must refer to an item that is currently on loan. A transfer of a digital asset must satisfy the relevant spending conditions.
These are application or protocol rules, not votes on whether a request feels reasonable. A network should not accept a transaction that breaks its validity rules merely because a powerful participant proposes it.
Precision can be surprisingly practical. Does a reservation ending at 3 pm overlap one beginning at 3 pm? Does a cancellation take effect when requested or when accepted? What happens if a report arrives late? The program needs answers that ordinary conversation often leaves unstated.
How is one history accepted?
Two individually plausible requests can conflict. Garden and Harbour may both ask for the same time slot before either sees the other’s request. The system needs an ordering rule and an acceptance process.
That process is called consensus in the broad discussion, although its technical parts deserve separate treatment. Participants need rules about validity, competing branches and the point at which they treat an outcome as sufficiently settled.
Agreement does not make the physical world obey. It establishes a common result inside the record system under stated conditions.
Use the questions as a reading tool
When you see a headline about a blockchain project, translate it into these four questions. If the explanation never identifies the record, it may be selling a mood. If it never explains permission, it may be hiding a powerful administrator. If it never describes invalid actions, its rules may be unclear. If it never explains acceptance, “instant” may mean only that a screen changed.
You do not need to dismiss the project. You need a better explanation. These questions make it easier to ask for one without pretending to be an expert.
Keep this idea: records, permission, validity and accepted order are separate jobs. Understanding the system means seeing how each job is done.
CHAPTER 6 OF 48 · Start with the ordinary problem
6. From intention to accepted record: one complete journey
Let us follow one action slowly. Harbour wants to borrow telescope T1 on Friday evening. The clubs have already agreed on their booking rules. Their shared system currently shows that the slot is free.
This is a fictional teaching example. Its purpose is to make the sequence visible; a real implementation may arrange its technical steps differently.
First, somebody has an intention
Harbour’s coordinator wants the telescope. The intention exists in a person’s mind before it becomes a computer instruction. A good application helps the coordinator express it clearly: the right item, the right date, the right time and the right club.
This first step matters because a system can correctly execute the wrong instruction. Selecting Saturday by mistake does not become harmless because every later cryptographic check works.
Next, the application constructs a request
The interface turns the choice into structured data. It identifies T1, Harbour, the requested period and the action being requested. It may include a sequence number or other information that helps prevent an old instruction being reused in the wrong context.
The coordinator should be able to review what is being authorised. A friendly button labelled “Continue” can conceal a consequential action if the interface is poorly designed.
Authority is attached and the request is sent
The appropriate signing process supplies evidence of authorisation. The request is then sent to the network or a service that relays it. Sending is not the same as acceptance.
Think of posting a letter. Putting it in the postbox does not prove that the recipient has read it, agreed with it or acted on it. In the same way, a submitted transaction can still be waiting, rejected, replaced or omitted.
The rules are checked
Participants check the request according to the system’s design. Is the format valid? Is the authority acceptable? Is the request allowed from the present state? Has the slot already been taken by an earlier accepted action?
A request can fail at this point even though the coordinator genuinely intended it. Correct intention is not enough; the action must satisfy the rules at the time it is processed.
An order is established
The system places accepted actions into its history. If two clubs want the same slot, the agreed ordering and booking rules decide which action can take effect. The network’s acceptance process supplies the evidence relevant to that history.
Some systems provide a form of finality through defined voting conditions. Others build increasing confidence as more work or history accumulates. The application should explain the status that matters for its task.
The present state changes
After the booking takes effect, the current state says that Harbour holds the reservation. A later request from Garden for the same slot should now encounter that state and be handled accordingly.
The history explains the change. The state makes the next decision easier. The screen is a view of these records; it is not itself the ultimate source of authority.
Real life still has to happen
On Friday, somebody must collect the telescope. The blockchain cannot carry it down the stairs. A signed collection acknowledgement can be added, but the reliability of that acknowledgement depends on the people or devices supplying it.
Notice how much becomes clear from one complete journey. We can distinguish intention, instruction, authorisation, submission, validation, ordering, acceptance, state and physical action. These are different stages, even if an app hides them behind one neat screen.
Keep this idea: a successful-looking click is not the same as a completed, accepted and correctly understood action.
CHAPTER 7 OF 48 · See the machinery
7. Blocks: why records are gathered into batches
The word “block” makes blockchain sound as if it is built from little digital bricks. A more useful picture is a batch of records with accompanying information that allows the batch to be checked.
A batch might contain several transactions. The block also carries information required by that network’s rules. A typical design includes a reference to the preceding block and a commitment to the block’s contents. The exact fields vary across systems.
You do not need to memorise a block header to understand its purpose. The block says, in effect, “Here is the next proposed batch, here is where it belongs, and here is the information needed to check it.”
A page is a container, not an endorsement of reality
Return to the club notebook. A page might contain a booking, a cancellation and a maintenance report. Binding those entries into a page does not make the telescope clean, repaired or delivered. It groups statements and instructions within the record system.
This distinction prevents a common leap. People hear that a record is in a block and assume the underlying event has been proven. The system may instead have proven something narrower: that an authorised account submitted a particular statement and the protocol accepted it under its rules.
That can be valuable. It is simply a different claim.
Order inside a batch can matter
Suppose a cancellation and a new booking concern the same slot. Process the cancellation first and the slot may become available. Process the booking first and it may fail because the slot is still occupied.
The rules must make this behaviour predictable. A system cannot leave every computer to improvise an order and still expect them to reach matching results.
Different architectures handle execution and ordering differently. Some execute a proposed sequence as they validate it. Some arrange endorsement, ordering and later validation in separate stages. The beginner’s lesson is that a block is part of a larger processing design, not a universal recipe that every network follows identically.
Blocks have limits
Networks limit resources in various ways. A block may have limits related to size, computation or other measures. These limits influence how many actions can be processed and how demanding it is to participate.
If everyone could place unlimited work into every block, checking the network might become too expensive for many participants. If limits are very restrictive, users may wait longer or compete for capacity. Design involves a balance, not an escape from resource limits.
This also explains why a network may be busy. A submitted action can wait because available capacity is being used by other actions. The precise fee and selection rules depend on the network.
A block number is an address in a sequence
People often describe blocks by their height: their position relative to the beginning of a chain. That is useful for orientation. It does not necessarily identify one unique block across all possible competing branches.
Imagine two people each drafting a different page 12. “Page 12” is not enough to distinguish them. A specific cryptographic identifier helps say which page is meant. This becomes important when we discuss forks.
At the simplest level, remember that blocks organise proposed changes into checkable units. They help the network discuss, transmit and accept a sequence. They are not little safes containing physical money, and they do not make every included assertion universally true.
Keep this idea: a block is a structured batch in a history. Its contents still need the right checks, and its place in the accepted chain still matters.
CHAPTER 8 OF 48 · See the machinery
8. Hashes: a fingerprint for digital information
A photograph can be copied perfectly. A document can be changed almost invisibly. How can a computer quickly compare the exact digital contents of two files?
One tool is a cryptographic hash. A hash function takes input data and calculates a fixed-length result, often called a digest. It is convenient to picture the result as a digital fingerprint, provided we remember that the comparison has limits.
Give the same exact bytes to the same hash function and it produces the same digest. Change the bytes and the result will normally look very different. A tiny edit can therefore be easier to notice through a digest comparison than by reading a long document.
A school-trip letter
Imagine a letter saying the trip begins at 9 am. Somebody changes it to 8 am. The altered letter may look almost identical. Its calculated digest will normally differ from the digest of the original file.
That lets a verifier detect that the files do not match. It does not explain which time is correct. It does not say whether the teacher approved either letter. The reference digest must itself come from a source worth relying on.
If an attacker replaces both the letter and the digest displayed beside it, a careless comparison may approve the attacker’s version. A fingerprint is useful only within a trustworthy checking process.
A hash is not a compressed copy
A short digest cannot hold all the information in every possible long file. You cannot generally reconstruct a lost document from its hash. The hash helps check a candidate file; it does not replace storing the file.
This matters when somebody says a certificate or artwork is “on the blockchain.” The chain may hold only a digest or a reference. If the actual file disappears, the reference does not automatically bring it back.
The digest is also not guaranteed to be unique across every imaginable input. There are more possible files than fixed-length digests, so some inputs must share outputs. Secure cryptographic designs aim to make finding useful collisions computationally impractical under their security assumptions. “Practically difficult to find a collision” is a better explanation than “mathematically impossible.”
A hash is not encryption
Encryption is designed to hide information from people who lack the appropriate key. Hashing has a different job. There is no ordinary decryption key that turns a hash back into the original message.
Yet this does not mean hashing automatically makes information private. If there are only a few possible inputs, somebody can try them and compare the results. A hash of “yes” or “no” offers little secrecy to a person who can test both words.
Likewise, predictable personal information can be vulnerable to guessing. Privacy needs deliberate design, not merely a hash symbol next to a record.
Why hashes matter to the chain
A block can include a digest associated with an earlier block. This gives the next block a checkable reference to what came before. Altering the earlier information changes what the later reference should be.
The link exposes an inconsistency. The network’s agreement rules then matter because somebody could otherwise recalculate a whole sequence of links. Hashing and consensus solve different parts of the problem.
For exact examples, the hash lesson includes reproducible calculations and explains why spaces, capital letters and encoding affect the input. The beginner’s understanding can remain simpler: a hash is a compact result that helps us check exact data against a trusted reference.
Keep this idea: a matching hash supports a statement about matching data. It does not independently prove truth, identity, secrecy or permanent availability.
CHAPTER 9 OF 48 · See the machinery
9. The chain: why changing the past leaves a trail
Suppose each new page in our notebook includes a fingerprint of the previous page. Page 2 refers to Page 1. Page 3 refers to Page 2. The references connect the sequence.
Now somebody changes a booking on Page 1. Page 1’s fingerprint changes. The reference written on Page 2 no longer matches. If the person changes Page 2 to hide that mismatch, Page 2’s fingerprint changes too, which affects Page 3.
An old alteration therefore spreads forward through the checks. This is the basic intuition behind a hash-linked chain.
Detection is not the whole defence
On a private laptop, it may be easy to edit every page and recalculate every fingerprint. The result could be a new internally consistent chain. Hash links alone do not tell everybody which of two internally consistent histories they should accept.
The wider network is crucial. Other participants have existing records, validation rules and evidence of accepted history. A rewritten sequence must overcome the system’s acceptance conditions, not merely pass a local arithmetic check.
Different networks impose different obstacles. Proof-of-work systems involve accumulated computational work. Other systems rely on defined voting conditions, stake, identities and governance arrangements. No single notebook analogy captures all those mechanisms.
What “immutable” is trying to say
You will often hear that blockchain records are immutable. In casual conversation, that can sound like a law of nature: once written, nothing can ever change anything.
A more careful explanation is that an accepted history is designed to resist unauthorised alteration under the system’s rules and assumptions. How strong that resistance is depends on the network, the stage of acceptance, the participants and the attack being considered.
Recent blocks may be displaced during a reorganisation. A poorly secured network may be vulnerable to history changes. A community may adopt a software change that affects how it proceeds. An application may allow authorised updates to current state while preserving the earlier transactions.
These possibilities do not make the design meaningless. They tell us what its promise actually is.
Corrections can preserve accountability
Suppose the clubs accidentally record the wrong serial number. The sensible response may be a new correction entry: “The earlier entry referred to T2; the intended item was T1.” The accepted history now shows both the mistake and the authorised correction.
That is often useful for accountability. People can see why the current answer changed. They can distinguish an honest correction from an attempt to pretend that no error occurred.
It is less useful if the original entry contains information that should never have been shared. Once data is widely copied, a later correction cannot ensure every earlier copy disappears. This is one reason to minimise sensitive data on shared ledgers.
A chain gives continuity, not omniscience
The chain connects accepted records across time. It helps later readers check that the sequence they are shown is consistent with earlier commitments. It does not reveal events that nobody recorded. It does not detect a false statement merely because the statement is false in the outside world.
If a dishonest person records “the telescope was returned in perfect condition,” the chain may preserve that dishonest statement very well. The evidence of the telescope’s condition must come from inspection, photographs, accountable witnesses or another appropriate process.
This is the difference between protecting a record and protecting the truth of every claim inside it. A good explanation keeps both in view.
Keep this idea: hash links make alterations detectable; network rules and participation make an alternative history difficult to get accepted.
CHAPTER 10 OF 48 · See the machinery
10. Keys and signatures: who authorised the instruction?
In a paper club register, a coordinator may sign beside an entry. Other members recognise the signature and know which role the coordinator holds. Digital systems need a different method because a picture of handwriting can be copied easily.
A digital signature is a mathematical result tied to a message and a signing key. The corresponding verification information lets others check the signature without receiving the secret signing material.
This is one of the most useful separations in the subject: the power to authorise and the ability to check do not have to be the same power.
Private key and public key
In a typical public-key signature system, the private key is secret material used for signing. The public key supports verification. “Public” does not mean everyone gains the power to sign. It means verification can be available without sharing the secret.
Think of a special seal whose impressions can be checked by many people, while the ability to make a valid impression remains controlled. The analogy helps with roles, although actual digital signatures depend on mathematics rather than a physical stamp.
An address is another related concept. Depending on the system, it identifies a destination or account and may be derived from key information or other data. It is not automatically a person’s name, and it is not interchangeable with a private key.
What exactly did the signer approve?
The message matters. “Book T1 for Friday” differs from “Give this application permission to manage all my bookings.” Both may appear behind buttons in an interface. A signature is useful only if the meaning of the signed instruction is understood.
Context matters too. A message intended for one system should not be usable as authority in an unrelated system. Sequence numbers, domain information and other safeguards can help prevent replay or confusion, depending on the protocol.
For a beginner, the practical question is: what action does this exact signature authorise, and in which context?
A signature does not identify a human by magic
A successful check supports a conclusion about the relevant signing key. Connecting that key to Harbour’s coordinator requires another arrangement: registration, a certificate, a membership system or some other trusted binding.
If someone steals the coordinator’s signing authority, the system may still see valid signatures. The mathematics has not learned that a thief is holding the device. Recovery and revocation procedures belong to the larger design.
This also explains why shared accounts create accountability problems. If five people can use the same signing authority without separate records, a signature may not tell the organisation which person acted.
Signed does not mean allowed, true or wise
Harbour can correctly sign a request for a slot it is not permitted to reserve. A coordinator can correctly sign a mistaken delivery statement. A user can correctly authorise an action they later regret.
The signature is one part of the evidence. Application rules, identity checks, human review and dispute procedures may still be needed. Good systems do not make a signature carry claims it cannot support.
Nor does a signature normally hide the message. Public verification and confidentiality are separate requirements. If a record must remain private, the design needs an appropriate privacy mechanism.
The keys and signatures guide explores these distinctions in more detail. At this stage, the important idea is that a digital signature helps the network check authority over a particular instruction. It does not make the instruction correct in every possible sense.
Keep this idea: signatures help answer who had the relevant signing authority over these exact data. Identity, permission, truth and good judgment need their own checks.
A blockchain does not live inside one magical machine. It operates through software running on computers that exchange information. A participating computer or software instance is commonly called a node.
That simple word hides different jobs. A node may verify records, relay messages, supply data to an application or participate in producing blocks. A person using a wallet app is not necessarily running every part of the network themselves.
The useful question is therefore not just “How many nodes exist?” It is “What do these nodes do, and who controls the important decisions?”
The librarian, the courier and the reader
Imagine a library system. Some people maintain catalogues. Others carry messages between branches. A reader searches through an app. The app can be useful without storing every book catalogue locally, but its user depends on the service supplying the answer.
Blockchain applications have similar layers. A wallet may ask a service for account information. A full validating node can independently check a broader set of protocol rules. A specialised participant may propose blocks. These roles overlap in some designs and separate in others.
Avoid assuming that every device displaying a balance independently verified the complete history. The interface may be relying on someone else’s node.
Messages take time
The internet does not deliver every message to every computer simultaneously. One node may hear about a request before another. A connection may fail. A machine may restart. Two valid proposals may appear close together.
These are normal coordination problems, not extraordinary surprises. A protocol must define how participants behave when their current views differ.
For the clubs, imagine Garden receiving a booking request while Harbour’s internet connection is down. The system should not quietly invent a guarantee that both have already seen the same thing. It needs rules for progress, waiting and later reconciliation.
Different copies can have different scopes
Some nodes preserve extensive historical data. Others retain less historical information while maintaining the data needed for their role. Light clients can use particular proofs and assumptions to check narrower claims. Permissioned systems may restrict which participants see which data.
“Everyone stores everything” is therefore too broad. It is often used as a teaching shortcut, but real architectures are more varied. It is better to say that the network distributes relevant records and verification responsibilities according to its design.
This matters for both privacy and reliability. A user needs to know who can see the data and whether the data needed for future checking will remain available.
Many machines can still mean concentrated control
If one operator controls many nodes, the system has more machines without necessarily having more independent decision-makers. If many operators rely on one cloud provider, one software implementation or one data service, they may share a point of failure.
Decentralisation has several dimensions: participation, operation, infrastructure, development and governance. A single number rarely captures them all.
For a beginner, a practical test is to ask what would happen if one major operator disappeared, refused a request or changed its policy. Could other participants continue? Could users obtain their records? Could they verify a different service’s answer?
Participation is a responsibility
Running a network requires electricity, storage, communication, maintenance and people who understand the software. A distributed system does not remove these costs. It spreads and reorganises them.
The nodes and peer-network lesson gives the next level of detail. For now, imagine a community of computers with different roles, communicating imperfectly and following explicit rules. That is much closer to the real machine than a glowing chain floating in the cloud.
Keep this idea: a network is made of real operators, software and connections. Its independence depends on their arrangement, not just their count.
CHAPTER 12 OF 48 · See the machinery
12. Consensus: agreeing on a history without a classroom vote
If three computers receive two requests in different orders, how do they decide which sequence to treat as accepted? This is the coordination problem behind consensus.
The tempting explanation is “everyone votes and the majority wins.” That is usually too loose. It ignores who gets influence, what counts as a valid proposal and what the vote actually establishes.
A better starting point is: the network follows a protocol for accepting a valid history despite defined kinds of disagreement or failure.
Validity comes before preference
Suppose a booking rule says that only club coordinators may reserve the telescope. A stranger submits a request. The stranger then creates a thousand online identities and asks them all to support it.
The request should not become valid just because many names support it. The authorisation rule still applies. Consensus is not permission to ignore every other rule.
Similarly, two histories may both contain individually valid transactions but conflict over their order. The protocol then needs a way to choose or finalise a sequence. Validity, choice among branches and finality are related but distinct questions.
Why counting usernames fails
Online identities can be cheap to create. If influence were simply one account, one vote, a single actor might create many accounts and appear to be a crowd. This is the basic concern behind a Sybil attack.
Different systems address participation differently. An open network may tie influence to costly computation or stake under particular rules. A permissioned network may admit identified organisations and use a defined voting arrangement. Each approach carries assumptions and tradeoffs.
The point is not that one method solves every problem. The point is that the protocol needs a meaningful answer to “Who can participate with how much influence?”
Safety and progress are different goals
A system wants to avoid accepting incompatible outcomes. It also wants to keep making progress. Under difficult network conditions, those aims can come into tension.
Imagine two disconnected groups of clubs. Each group cannot hear the other. If both freely confirm the same telescope for different borrowers, they may create conflicting promises. If they wait for sufficient coordination, some users may experience delay.
Waiting can therefore be a protective behaviour rather than evidence that all data is wrong. The exact guarantees depend on the protocol and its assumptions about communication and faulty participants.
Agreement has a scope
Consensus can establish that the network accepted a particular statement or state transition. It does not establish that the statement is true about the outside world.
All participants might correctly process a signed report saying a parcel arrived. If the report is false, perfect agreement about the report does not produce a real parcel. The evidence source remains a separate dependency.
This is why consensus is not a universal truth machine. It solves a defined coordination problem inside a system.
What a beginner should ask
Ask which rules decide validity. Ask how competing histories are handled. Ask when a result is considered settled. Ask what happens if some participants fail, act dishonestly or lose contact.
You do not need to calculate every threshold on your first day. You do need to resist phrases that erase these questions. “The network agrees” is useful only when the meaning of agreement is clear.
The consensus guide separates validity, fork choice and finality. The Sybil-attack lesson explains why a thousand identities need not represent a thousand independent participants.
Keep this idea: consensus is a rule-governed process for accepting history, not a popularity contest and not proof of every external fact.
CHAPTER 13 OF 48 · See the machinery
13. Proof of work, proof of stake and permissioned agreement
Different blockchains organise participation in different ways. Three families of ideas are worth recognising early: proof of work, proof of stake and agreement among admitted participants.
You do not need to choose a favourite. Understanding their jobs is more useful than memorising a slogan about which is best.
Proof of work: making participation costly in a particular way
In Bitcoin, miners repeatedly try candidate block-header values until they find a hash that satisfies the required target. Finding a qualifying result requires probabilistic trial and error; checking a presented result is comparatively straightforward.
The work supports the network’s method of selecting among valid competing histories. It does not allow a miner to make an invalid payment acceptable to nodes that enforce the rules. Nor is the work a calculation of whether a person deserves money or whether a real-world statement is true.
The name “mining” can distract. No physical coin is dug out of a digital mountain. The participants perform a protocol role, and the protocol defines rewards and fees. The Bitcoin developer guide explains the chain and work relationship.
Proof of stake: value at risk under protocol rules
Proof-of-stake systems organise participation around stake and specified responsibilities. In Ethereum, validators perform duties such as proposing and attesting to blocks. Certain provable violations can lead to slashing, while other failures may have different penalties or consequences.
It is too simple to say “the richest person decides everything” or “staking makes everyone honest.” The details of selection, voting, penalties, withdrawal, network communication and governance matter. A design can discourage some actions without making every harmful action impossible.
Ethereum’s proof-of-stake documentation describes its particular mechanism. Other systems using the same broad label need not have identical rules.
Permissioned agreement: recognised participants
The science clubs may not need an open competition involving unknown participants. They might admit a defined set of organisations, each with a recognised role, and agree on how those organisations maintain the record.
Such a network still needs clear fault assumptions and governance. What if one organisation stops responding? What if two organisations collude? Who can admit a new participant? Which actions require wider approval?
Identity changes the design problem; it does not remove every trust problem. The system may rely on legal agreements and operational accountability as well as software.
Not every blockchain needs a tradeable coin
Some permissioned platforms can operate without a native cryptocurrency. Hyperledger Fabric’s documentation explicitly describes this possibility. The organisations still pay for infrastructure and administration; “no native coin” does not mean “no cost.”
On a public network, a native asset can play roles in fees, participation or incentives. A non-financial application may therefore use a network whose operation involves a cryptocurrency even when its user is simply checking a record. The relationship is practical and design-specific.
This is the fuller answer to the opening question. Blockchain and cryptocurrency are distinct concepts, but they can remain connected in the machinery of a particular implementation.
Energy belongs to the mechanism
Proof of work involves substantial computational competition. Other mechanisms do not use that same competition. It is therefore misleading to assign one energy profile to every blockchain.
It is equally misleading to assume that a different consensus design has no environmental or operational cost. Machines, networks, storage and maintenance still exist. Compare a specified service performing a specified job, including the broader infrastructure it needs.
The useful lesson is that security is constructed. It comes from rules, costs, evidence, incentives, participation and assumptions working together. The label on the mechanism is only the beginning of the explanation.
Keep this idea: agreement mechanisms allocate influence and make certain kinds of cheating harder. Their guarantees depend on their exact rules and operating conditions.
A screen can change faster than a dependable outcome becomes available. Blockchain systems make this visible because transactions often pass through several statuses.
The words vary across products, but the underlying distinction is stable: a request can be prepared, sent, observed, included, executed and eventually treated as sufficiently settled. These are not synonyms.
Submitted means the journey has begun
When Harbour submits a booking, the application may immediately display a transaction identifier. That can help locate the request. It does not by itself prove that the network accepted the booking.
The request may wait for capacity. It may reach some nodes but not others. It may be rejected because its format or authority is wrong. It may become unsuitable because an earlier accepted action changes the state.
A good interface tells the user which stage it has evidence for. “We sent your request” is a useful message when that is all the system knows.
Included does not always mean the intended action succeeded
Some systems can include a transaction whose execution fails. The record may show that the attempt occurred while the intended application changes did not take effect. Fees or other protocol consequences may still apply.
For a beginner, the lesson is to inspect the outcome, not merely the presence of a transaction. A receipt needs to be read in the context of that network’s rules.
The same principle applies outside blockchain. A delivery log can record a failed delivery attempt. The existence of a log entry does not mean the parcel reached the customer.
A recent history can change
Networks may temporarily have competing branches. Participants use their protocol’s rules to resolve or choose between them. When an application’s recent view is replaced by another accepted branch, people call the event a reorganisation.
A transaction in the displaced branch might later appear elsewhere, remain pending or no longer take effect. The details depend on the transaction and network.
This is why some applications wait for additional confirmations or a particular finality condition before treating an action as settled. The appropriate policy depends on the system and the consequences of acting too early.
Finality is a defined promise
In some systems, finality involves a specified set of attestations or votes. In others, confidence in a transaction increases as the accepted history accumulates more work. These are different models.
Neither should be explained with an unqualified claim that absolutely nothing can ever go wrong. Guarantees hold under assumptions about participants, software, cryptography and network conditions. A finality rule is meaningful precisely because it states a more specific condition.
For the clubs, a provisional reservation might be enough to begin discussing an event. Handing over expensive equipment may require a stronger accepted status. The application should distinguish these decisions.
Four questions for any status label
What evidence does the label represent? Who supplied that evidence? Could the status still change under normal operation? What action is the user being encouraged to take because of it?
These questions are more useful than treating a green tick as a universal guarantee. A website may show a convenient summary while depending on a data service that is delayed or mistaken.
The recipient’s transaction timeline follows these stages more carefully. It helps separate the network’s record from an application’s display and from the receiver’s decision about when to act.
Keep this idea: the right question is not simply “Did I click send?” It is “What has been accepted, what actually happened, and how settled is that result?”
CHAPTER 15 OF 48 · See the machinery
15. Smart contracts: rules that a computer can carry out
The words “smart contract” sound grander than the basic idea. A smart contract is program code operating under a blockchain’s execution rules. It can check conditions and update permitted records when it is called in the appropriate way.
It is not a little lawyer living inside a computer. It does not automatically understand fairness, intention or the physical world. It carries out the behaviour expressed in its code and surrounding system.
A booking rule becomes a program
Suppose the clubs agree that an available telescope may be reserved by an authorised coordinator. The program checks the caller’s permission, the requested time and the current booking state. If the conditions are satisfied, it records the reservation.
That is useful because participants can apply the same specified rule. They need not ask one person to make an informal decision every time.
But the rule must actually express what the clubs want. If the program forgets to prevent overlapping bookings, consistently executing it may consistently produce a bad result. Reliable execution and good policy are different achievements.
The current state changes the answer
The same instruction can succeed in one state and fail in another. “Reserve Friday” may work when Friday is free and fail after another accepted booking.
This is why smart contracts are often described as state machines. The phrase sounds technical, but its everyday meaning is manageable: the program has a current situation, a set of permitted actions and rules for moving to a new situation.
For a borrowed item, the states might be available, reserved, collected and returned. Each change needs a defined trigger and the right authority.
Code does not usually wake itself up
A deadline in a program does not necessarily cause a transaction to happen automatically at that moment. In many designs, an external caller or service must submit an action that checks the deadline and applies the appropriate change.
Imagine a reservation that expires at noon. The code can say what should happen when an expiry action is processed. Somebody or something still needs to trigger that processing according to the system’s design.
This distinction matters when products promise complete automation. Ask what initiates each step, what pays for it and what happens if the triggering service is unavailable.
The program can only use the information it receives
A smart contract cannot look out of a window to see whether it is raining. It cannot inspect a telescope for damage. It needs some source to provide relevant information in a form it can consume.
That source may be called an oracle. The next chapter examines it. For now, notice that automation does not remove the need for evidence; it makes the evidence pathway part of the program’s design.
Administration may still exist
Some contracts are designed to be difficult to alter. Others have upgrade mechanisms, pause controls or administrators. These powers can support maintenance and recovery, but they also create dependencies.
“Runs on a blockchain” does not tell you who can change the program’s effective behaviour. You need to inspect the actual control arrangement. A responsible system explains those powers rather than relying on the word “decentralised.”
Ethereum’s smart-contract introduction describes code, state and execution on Ethereum. The eduKateSG state-machine lesson turns the idea into a worked reservation exercise.
Keep this idea: a smart contract can enforce programmed conditions. Whether those conditions are complete, fair, secure and connected to reliable evidence remains a design question.
CHAPTER 16 OF 48 · See the machinery
16. Oracles: how information gets in from the outside world
The clubs want to know whether the telescope was returned safely. Their ledger contains a field called “condition.” Can the blockchain fill it in by itself?
No. A field name does not create a pair of eyes.
Somebody must inspect the telescope, or a device must measure something relevant, and a report must reach the application. In blockchain discussions, an oracle is a mechanism that supplies outside information for on-chain use.
The path from event to record
Think of several steps: an event happens, someone observes it, a report is prepared, the report is authenticated, the data is delivered, and the program decides whether to accept it.
Each step can fail differently. The observer may inspect the wrong telescope. The report may use the wrong identifier. A message may arrive late. The signer may lack authority. The application may misunderstand the report’s units.
Correctly completing the last step does not repair every earlier mistake. That is why the evidence pathway deserves as much attention as the blockchain itself.
A temperature example
Imagine a fictional display cabinet with a classroom sensor. The program receives a number, 28. Does that mean 28 degrees Celsius? Was it measured now or yesterday? Which cabinet does it refer to? Is the device calibrated? Did the message come from an approved reporter?
The number alone is not enough. Meaning requires context.
Even a correctly signed message proves only a narrower claim about the report and signing authority. It does not guarantee the sensor was physically positioned correctly or that the measurement describes the item the user cares about.
More reporters can help, but ask about independence
A system might compare reports from several sources. This can reduce reliance on one reporter when the sources are meaningfully independent and the aggregation rules are appropriate.
But three websites may copy the same underlying feed. Three sensors may share one faulty calibration process. Three operators may depend on the same unavailable service. Counting reports is not the same as counting independent evidence.
The system also needs rules for disagreement. Should it pause, reject an outlier, request an inspection or use a specified aggregation method? The appropriate answer depends on the task.
Freshness is part of truthfulness in use
A report can be accurate about yesterday and unsuitable for a decision today. If the telescope was available at noon but collected at one, a noon report should not justify a two o’clock booking.
A well-designed application asks not only whether the report is authentic but whether it is recent enough for the intended decision. It also considers what to do when fresh information is missing.
Silently using an old value can be more dangerous than openly saying, “We do not have a current answer.” The interface should make that uncertainty visible.
This is where many use cases succeed or fail
Supply-chain records, insurance triggers, physical-asset tracking and environmental claims all depend on information from outside the chain. A robust ledger can preserve an accepted report. It cannot remove every weakness in observation, identity, incentives or measurement.
This does not make such applications pointless. It tells us where to invest effort. Better inspections, accountable reporting, reliable sensors and clear dispute procedures may matter more than adding another technical label.
The oracle-report lesson provides a detailed exercise on identity, units, freshness and disagreement. Its central question is simple enough for any reader: what exactly was observed, by whom, and why should this decision rely on it?
Keep this idea: a blockchain can check how a report is handled. The report’s connection to the real world needs its own evidence.
There is no single doorway marked “the blockchain.” There are many networks, designed for different participants and different purposes.
Some make records widely readable and participation broadly open under protocol rules. Some admit selected participants. Some are governed by one organisation; others by a group. The words public, private and consortium give a first orientation, but they do not describe every permission in a system.
Separate reading from writing
A system can let many people read records while restricting who may submit particular actions. It can let anyone submit a transaction while requiring specific authority for that transaction to succeed. It can restrict access to some data even among network members.
Reading, submitting, validating, proposing blocks and changing governance are different powers. A good description names each one.
For the science clubs, parents might be allowed to see available event times. Only coordinators might reserve equipment. Only recognised maintainers might approve a repair status. Network operators could have still different responsibilities.
Public networks
A public network can provide a common infrastructure that is not limited to one organisation’s members. This may support open verification and applications that interact across a wider ecosystem.
That openness brings design demands. The system must handle unknown participants, public scrutiny, resource competition and incentives. Users may also expose more information than they expect through visible transaction patterns.
An address that does not display a name is not automatically anonymous. Information from other sources can connect activity to a person or organisation. Privacy needs a more careful explanation than “names are hidden.”
Private and consortium networks
A private deployment may place major control within one organisation. A consortium arrangement may divide participation and governance among several organisations. These can be sensible choices when membership, confidentiality and accountability are important.
They do not automatically provide the same resistance to exclusion or unilateral control as a particular public network. Equally, a public network does not automatically satisfy an organisation’s data, performance or governance requirements.
The question is fit. What must the participants be able to check? What information must remain restricted? Who is accountable for admission, software changes and recovery?
A blockchain without a coin market
Hyperledger Fabric is an example of a permissioned platform whose design does not require a native cryptocurrency. Its documentation describes identified participants and configurable components.
This gives us a concrete reason not to equate blockchain with buying coins. An organisation can investigate shared-ledger software for operational records without creating a retail trading product.
However, platform capability is not evidence that a proposed project has achieved useful adoption. The organisations still need a clear problem, a workable operating arrangement and measurable benefits.
Labels are the start of an inspection
If a proposal says “private blockchain,” ask who can rewrite policy, remove a participant and approve a new operator. If it says “public blockchain,” ask which services the user actually depends on and whether the application has privileged administrators.
If it says “consortium,” ask whether members have meaningfully separate control or merely different logos. Shared branding is not the same as shared authority.
The network-types lesson compares these questions systematically. The beginner’s principle is that access and governance are part of the machinery. They are not decorations added after the chain is built.
Keep this idea: identify who can read, request, validate and govern. A broad network label cannot answer all four questions.
CHAPTER 18 OF 48 · Find useful jobs
18. Certificates: checking a document without confusing the technologies
Imagine receiving a certificate by email. It has your name, the course title and a result. You send it to an employer. The employer wants to know whether it came from the stated institution, whether it has been altered and whether it remains valid.
These are three useful questions. Notice what they are not: “Has the price of a coin gone up?” or “Is this document a speculative asset?” Document verification is a different job.
What a blockchain can contribute
A certificate system can publish a commitment to issued documents or document batches on a blockchain. A verifier can compare supplied evidence with the accepted record. Depending on the design, the system can also record status changes such as revocation.
This can reduce some dependence on manually contacting the issuer for every check. It may make alteration easier to detect and provide a shared reference that different parties can consult.
The full certificate need not be placed on a public ledger. In fact, placing personal details in widely replicated records can create avoidable privacy problems. A careful design separates the private document from the public or shared evidence needed to verify it.
What the check does not establish
A certificate can be authentic while its holder is someone other than the person presenting it. A genuine certificate can have been issued in error and later revoked. A verified document does not itself measure everything a person can currently do.
The employer therefore needs to understand the scope of the check. Document integrity, issuer identity, current status and the presenter’s identity are different questions.
This distinction is valuable even for a child. A library card can be real while belonging to somebody else. The existence of a valid card does not settle who is holding it.
Singapore’s OpenCerts is a useful example with an important update
OpenCerts has used blockchain-based document verification through its earlier OpenAttestation approach. Its current FAQ, checked on 12 October 2026, says new OpenCerts certificates use TrustVC, an implementation of W3C Verifiable Credentials, while older OpenAttestation certificates remain accepted. It describes checks for document integrity, issuer identity and revocation status.
This is a helpful example precisely because the architecture is evolving. It would be inaccurate to teach that every current digital certificate, or every new OpenCerts certificate, necessarily needs a blockchain. Read the current OpenCerts FAQ when assessing a particular certificate format.
Digital signatures can solve important parts without a blockchain
A signed credential can let a verifier check the issuer’s statement without placing that credential on a chain. The W3C Verifiable Credentials Data Model 2.0 describes an ecosystem of issuers, holders and verifiers. The credential concept should not be treated as a synonym for blockchain.
The right architecture depends on what shared registry, status service, key information and governance the system requires. A blockchain may serve some of those roles in some designs. Other designs use different mechanisms.
Follow the evidence, not the sticker
Suppose a training centre advertises “blockchain certificates.” Ask what a recipient can actually verify. Does the check detect changed contents? Does it establish the issuing organisation’s identity? Does it check current status? How does the verifier know the presenter is the named person?
Then ask about continuity. Can recipients retain the document? What happens if the provider closes? Will old certificates remain checkable after a migration? Who explains a failed check?
These questions are much more useful than admiring the word “blockchain” printed on a certificate. The goal is a durable, understandable verification process.
Keep this idea: document verification is a real use case, but cryptographic credentials and blockchains are distinct tools. Check the actual format and the actual claim.
CHAPTER 19 OF 48 · Find useful jobs
19. Deliveries and supply chains: following a thing through many hands
A box travels from a maker to a warehouse, then to a carrier, then to a shop. Each organisation has its own software and its own version of the story.
The maker says the box left on Monday. The warehouse says it arrived on Tuesday. The carrier says it collected two boxes, while the shop’s record mentions only one. The difficulty is not simply storing a number. It is coordinating evidence across organisations.
A shared ledger can be a candidate for recording agreed handovers and events. The attraction is a common sequence that participants can inspect, rather than repeated arguments over separate spreadsheets.
Begin with the identifier
Before any chain helps, everyone must know which object the record refers to. A serial number, batch code or other identifier connects entries to a particular item or group of items.
That connection can fail. A label can be copied. A tag can be attached to the wrong box. A worker can scan the correct code while handling the wrong object. A blockchain cannot repair a weak physical identification process by itself.
Good traceability therefore starts at the boundary between the object and its digital description. The ledger is one part of a longer chain of responsibility.
Record a statement precisely
“Delivered” can mean several things. Delivered to the building? Signed for by a receptionist? Opened and inspected by the buyer? Accepted with no damage? Each meaning supports a different decision.
A useful record states the event, time, item, reporting party and relevant evidence. It should distinguish a claim made by the sender from an acknowledgement made by the receiver.
If both parties sign a handover record, the evidence differs from a unilateral statement by one party. Neither should be described as if it magically proves every aspect of the box’s contents.
What could improve?
Participants may spend less time reconciling inconsistent histories. They may be able to trace which parties handled a batch. They may obtain clearer evidence when investigating a disputed handover.
Those benefits are conditional. Everyone needs compatible identifiers and reporting rules. Important participants must actually submit usable data. The system must handle corrections, privacy and disagreement.
A beautiful ledger with missing events can still tell an incomplete story. A technically correct chain of false reports can preserve a false story consistently.
A hypothetical recall
Suppose a fictional maker discovers that batch B17 has a packaging defect. A shared history could help identify recorded destinations and relevant handovers. The organisations can use that information to coordinate an investigation or recall.
The record does not inspect every remaining box. It does not prove that no unrecorded resale occurred. It does not replace the responsible organisation’s recall process. It improves one information pathway within that process.
This distinction keeps the use case useful. We can identify a concrete benefit without pretending the technology controls every physical event.
A real project also needs a business community
TradeLens is an instructive historical example. Maersk and IBM announced its discontinuation in November 2022. Maersk’s announcement said the platform had not achieved the level of commercial viability needed to continue. This is evidence that functioning technology and a sustainable shared business arrangement are different requirements.
Read the original discontinuation announcement rather than treating every announced supply-chain project as a permanent success.
The lesson is not that all shared-ledger logistics projects must fail. It is that adoption, incentives, governance and cost belong in the evaluation alongside technical capabilities.
Keep this idea: a supply-chain ledger can preserve and coordinate reported events. Reliable identification, observation and participation still determine how useful those events are.
CHAPTER 20 OF 48 · Find useful jobs
20. Tickets, membership and ownership: what does a token represent?
A token is a record that a system treats as representing something under its rules. What it represents depends on the design.
It might represent a unit of a digital asset, a membership permission, a collectible or a claim associated with an outside asset. The word alone does not tell us the holder’s rights.
This is where many explanations become confusing. They move too quickly from “an account controls a token” to “a person owns the thing.” Those statements can be related, but the connection has to be established.
The concert-ticket example
Imagine a fictional concert ticket represented by a token. The system records which account can present it. A transfer changes the account associated with the ticket. At the entrance, a checking process determines whether the ticket is valid and unused.
The blockchain may help coordinate transfers and make the accepted history checkable. It cannot force the venue to open its doors or make an event happen. The organiser’s terms, identity checks and entry system remain important.
If the ticket is copied as an image, the token record may help distinguish the accepted holder from someone showing a screenshot. But the entrance process still needs to prevent replay and handle the relationship between a person and the account they control.
Transferability is a policy choice
Not every membership or credential should be freely transferable. A course completion certificate concerns a particular learner. A museum membership may have conditions. A concert organiser may limit resale.
A token design can include restrictions, but the restrictions must match the intended policy. The existence of a transfer function does not answer whether a transfer is appropriate or recognised outside the software.
Sometimes a conventional membership database is easier to administer and recover. Sometimes a portable token serves a particular ecosystem. The choice depends on the job, not on whether tokenisation sounds modern.
NFTs and the object behind them
A non-fungible token is typically designed to be distinguishable from other tokens in the relevant system. That does not automatically mean its associated image is unique, permanently stored or legally transferred with it.
The token may point to metadata, which may point to a file elsewhere. Different projects attach different permissions and promises. A buyer or user needs to know what the record actually grants, who maintains any external content and what happens if a service disappears.
It is helpful to separate three layers: control of the token, access to associated data and rights recognised outside the chain. Treating all three as one thing causes avoidable confusion.
Physical ownership needs a bridge to institutions
Suppose a token is said to represent a bicycle. Who ensures that the bicycle exists? Who holds it? How does a transfer of the token affect recognised ownership? What happens if the bicycle is stolen or the record is wrong?
The ledger can record actions according to its rules. The relationship to the physical asset depends on custody, agreements, institutions and applicable arrangements. The exact legal effect cannot be inferred from the token’s technical format alone.
This is not a reason to ignore tokenisation. It is a reason to state its meaning carefully.
The useful question
Ask, “What can the holder actually do because this record exists?” If the answer is enter an event, redeem a service, exercise a permission or claim something from an issuer, identify who must honour that action.
Then ask what happens when that party cannot or will not do so. A robust record of a claim is different from a guarantee that the claim will always be fulfilled.
Keep this idea: a token is meaningful through its rules and recognised relationships. The record, the associated object and the holder’s outside rights must be explained separately.
CHAPTER 21 OF 48 · Find useful jobs
21. Money and payments: why cryptocurrency remains an important example
We began by separating blockchain from cryptocurrency. That does not mean cryptocurrency should disappear from the explanation. Digital money is one of the clearest places to see why ordering and agreement matter.
If a person sends the same spendable value to two recipients, the system needs a rule for deciding which use is accepted. Copying a digital message is easy. Maintaining a coherent spend history is the harder task.
Bitcoin addresses this problem through a particular combination of transaction rules, signatures, peer-to-peer communication and proof of work. Its design is a major reason blockchain became widely known.
A balance is a result of rules
An app can display a balance, but that number is not a little pile of coins inside the phone. It is a view of records and the rights to spend under a system’s rules.
Different networks represent this differently. Some use account-like state. Bitcoin uses unspent transaction outputs. You do not need to master both models immediately; you do need to know that the screen is interpreting a record system.
Control over the relevant signing authority affects who can authorise transactions. The device, wallet software and any custody service therefore matter alongside the chain.
A transfer and a purchase are different events
The network may record a digital-asset transfer correctly. A seller may still fail to deliver the promised goods. A recipient may receive the wrong asset on the wrong network. A service may display information incorrectly.
These are different failure points. The ledger’s success at one task does not guarantee every commercial outcome around it.
This is especially useful for understanding headlines. A problem at a trading platform, a faulty application and an attack on a network’s consensus mechanism are not interchangeable events. Each requires a different explanation.
Stablecoins, bank deposits and central bank money
These labels describe different arrangements. A stablecoin commonly aims to maintain a value relative to a reference such as a currency, but the mechanism and risks depend on the issuer and design. A tokenised bank deposit represents a bank-related claim. Central bank digital currency concerns central bank money in a digital form.
The word “digital” does not make their backing, redemption or governance identical. Nor does every form of digital money require the same ledger technology.
This chapter explains the categories rather than recommending a product. To understand a particular arrangement, identify the issuer, the claim, the redemption process, the control rules and the relevant evidence.
What programmable coordination could change
Suppose two parties need to exchange an asset and payment. They may want the two actions to occur together under defined conditions, reducing the risk that one side completes while the other does not.
Compatible programmable systems can support forms of coordinated exchange. The promise still depends on what is actually represented on each system, the settlement arrangement and the bridges between digital records and outside claims.
A program can coordinate recorded actions. It cannot make an unsupported asset valuable or an unreliable issuer dependable merely by coordinating faster.
Why the wider lesson still matters
Money makes the record problem easy to see because conflicting spends have obvious consequences. The same structural questions appear elsewhere: conflicting bookings, duplicate ticket use, inconsistent ownership claims and incompatible updates.
Understanding cryptocurrency can therefore teach the machinery, provided we do not let trading become the whole subject. The transferable idea is a shared set of rules for authorised changes and accepted order.
For readers ready for the technical differences, continue to UTXO transactions and account state and nonces.
Keep this idea: cryptocurrency is an important application because it makes conflicting digital claims visible. Its market value is a separate question from how its record system works.
CHAPTER 22 OF 48 · Find useful jobs
22. Archives, research and AI: preserving evidence without pretending to prove truth
A researcher finishes a report. An artist publishes a drawing. A team releases a software file. Later, someone asks which version existed, who approved it and whether the copy being shown has changed.
These are evidence questions. Hashes, signatures, timestamps, archives and sometimes blockchains can help answer parts of them.
The key is to avoid asking one piece of evidence to prove more than it can.
The version problem
Imagine a report with three versions. The first has a mistaken measurement. The second corrects it. The third adds an explanation. A reader needs to know which version supports a particular claim.
A well-designed publication record can identify the exact file associated with each version and preserve the sequence of authorised updates. A blockchain may supply a shared commitment history when that is useful to the participants.
But the file still needs to remain available. A digest is not an archive. If nobody preserves the report, a future reader may have a reference that cannot be used to inspect the underlying content.
Existence, authorship and quality differ
A timestamped commitment can support evidence that some data was committed to by a particular point in a record history. It does not automatically prove who originally created the work, whether they had permission to publish it or whether the work is correct.
A signature can support evidence about an approving key. Connecting that key to an author requires identity arrangements. Assessing the research requires methods, data, review and domain knowledge.
These are complementary checks. They should not be collapsed into one green badge saying “verified.”
AI makes provenance questions more noticeable
An AI system can generate text, images and other outputs. A signed provenance record might help identify which system or organisation made a particular statement about an output. A version history might help track later edits.
Neither mechanism establishes that the content is true. A false report can have a perfectly preserved origin. A real photograph can carry a misleading caption. A correct hash can identify a file whose claims are wrong.
When evaluating an AI-related blockchain proposal, ask what specific evidence is being preserved. Is it a model identifier, a document digest, a permission record or a log of authorised actions? Then ask how that evidence is created and what the verifier can legitimately conclude.
A record of permission can be useful
Suppose an organisation allows an automated system to reserve equipment within a limited schedule. A record of granted permissions and executed actions could help investigators understand whether the system acted within its mandate.
The useful work lies in defining the permission, checking proposed actions and preserving accountable records. A blockchain is one possible component if several independent parties need a jointly maintained history.
If one organisation is responsible for the entire workflow, a conventional audit system may be sufficient. The presence of AI does not automatically create a blockchain requirement.
Archives need care over time
Formats become obsolete. Websites close. Keys are replaced. Institutions merge. A long-lived record needs a plan for preservation and interpretation, not just an impressive entry date.
Future readers must be able to understand what the record meant, locate relevant data and identify changes in status or authority. A correction should remain connected to the earlier claim it corrects.
This is where the subject connects naturally to education. Good learning preserves meaning across time and context. Good evidence systems preserve the relationship between a claim, its source and the limits of what the evidence supports.
The trust-model lesson uses a research-report archive to make these dependencies explicit. It is a useful next step for readers interested in knowledge rather than markets.
Keep this idea: provenance explains where a record came from and how it changed. Truth and quality still require investigation.
CHAPTER 23 OF 48 · Find useful jobs
23. Is blockchain becoming mainstream? Ask where, for whom and at what scale
A technology can be familiar without being widely used. It can be widely used in one sector and experimental in another. It can work in a pilot yet remain difficult to operate as a sustainable service.
This is why “blockchain is becoming mainstream” needs a more precise question: which use, among which participants, measured by what evidence?
The answer is more interesting than a simple yes or no. Different parts of the field are moving at different speeds.
Recognition is the first layer
Many people recognise the word blockchain. Recognition tells us that the idea has entered public discussion. It does not tell us that a particular system has active users, dependable operations or benefits greater than its costs.
An announcement is another early layer. A group may agree to explore a use case. That is evidence of interest. It is not yet evidence of a functioning service.
A pilot goes further: participants test a design in some defined setting. Its results matter, but the setting may be narrow. A production service faces ongoing support, failures, costs, changing membership and real user needs.
A useful ladder of evidence
- A concept explains a possible mechanism.
- A prototype shows that a limited implementation can run.
- A pilot tests the implementation with specified participants and conditions.
- A production service supports real ongoing activity.
- Sustained adoption shows continued use, useful outcomes and an operating model that survives beyond the initial excitement.
None of these stages should be silently substituted for another. A promising pilot deserves attention as a pilot. It does not need to be exaggerated to be interesting.
What Singapore’s current evidence says
In a 9 October 2026 speech, MAS described tokenisation as technically demonstrated while identifying commercial scale, common standards and interoperability as continuing challenges. It noted that meaningful commercial adoption had typically occurred within smaller ecosystems and that tokenised activity remained small relative to conventional markets in the asset classes discussed.
That supports a measured conclusion: real institutional work is progressing, but broad adoption is uneven. It does not support the claim that every industry is already moving to one universal blockchain. See the MAS speech for the stated scope and date.
Useful adoption may become less visible
People rarely ask which database powers a cinema booking. They care whether the booking works. Likewise, a useful blockchain component may become less prominent in the user interface as the service improves.
That does not mean the architecture stops mattering. It means users should not have to learn every implementation detail to perform an ordinary task. Designers still need to explain consequential choices: control, privacy, recovery, fees and the meaning of a confirmation.
The strongest adoption story may therefore be quite ordinary. Fewer disputed records. Easier verification. Less repeated reconciliation. Better portability where it is actually needed.
A project can stop for sensible reasons
Some trials show that an ordinary database is simpler. Some networks cannot attract enough relevant participants. Some operating models cost more than the benefit they create. A discontinued project is evidence to study, not a reason to erase the whole subject or pretend the project never existed.
We learn by comparing the intended mechanism with actual outcomes. Which assumptions held? Which did not? Was the difficult part cryptography, governance, data quality or customer demand?
What to watch next
Watch for durable user benefits, clear governance, understandable interfaces, reliable recovery and compatibility between systems. Treat transaction counts and partnership announcements as partial evidence that needs context.
The field remains open to discovery, but discovery includes learning where the technology is unnecessary. A mature understanding welcomes that result too.
Keep this idea: adoption is a claim about a specified use at a specified scale. Evidence improves when those details are visible.
A good tool becomes easier to use when its edges are visible. A bicycle is useful partly because we know it is not a boat. Blockchain deserves the same practical clarity.
It can help a network maintain a checkable record under rules. It does not remove every problem involving trust, computers or people.
It does not make false input true
If a reporter lies about a delivery, the ledger can preserve the lie. If a sensor measures the wrong thing, the network can consistently process the wrong measurement. Outside evidence still needs accountable sources and suitable checks.
The question is not whether the ledger is impressive. It is whether the whole path from event to decision is reliable enough for its purpose.
It does not make every action fair
A program can enforce a badly chosen rule. A governance system can concentrate power. A user can authorise something without understanding it. A visible transaction history does not automatically produce equal bargaining power or an accessible appeal process.
Fairness involves choices about institutions, participation and remedies. Some of those choices can be expressed in code; others require people to interpret circumstances.
It does not remove administrators from every application
An application may have upgrade keys, pause powers, admission controls or a central website. A public underlying chain can coexist with a highly controlled application.
The relevant question is which powers remain and who holds them. A diagram that shows many computers but omits one powerful administrator is incomplete.
It does not guarantee privacy
Public records can reveal patterns. A pseudonymous address can become linked to a real identity. Hashing predictable information may leave it guessable. Replication can make removal difficult.
Privacy therefore needs data minimisation, access design and appropriate cryptographic or organisational controls. It cannot be inferred from the presence of long strings of letters and numbers.
It does not guarantee availability
A network can experience congestion, outages or stalled progress. An application’s website can fail even when the underlying chain continues. Off-chain files can disappear. A provider can stop serving data.
The system needs a continuity plan at each layer. Preserving a reference to a document is not the same as preserving access to the document.
It does not make security a single property
A strong signature scheme can coexist with a misleading interface. A robust consensus mechanism can coexist with a faulty smart contract. A correctly written program can depend on a compromised administrator.
Security is a chain of responsibilities. A statement such as “the blockchain is secure” needs to identify which threat, which component and which assumptions it addresses.
It does not remove the cost of coordination
Participants still need to agree on meanings, maintain software, handle membership, pay for resources and resolve disputes. A shared ledger can reduce some reconciliation work while creating other operational responsibilities.
That trade can be worthwhile. It should be measured rather than assumed.
It does not replace judgment
The technology can give people better evidence for a decision. It cannot decide every purpose worth pursuing or every rule worth enforcing. A teacher still needs to judge learning. A curator still needs to assess provenance. An organisation still needs to decide what it owes its users when something goes wrong.
The positive lesson is not disappointment. It is precision. When we stop asking blockchain to solve everything, we can see the specific jobs it may perform well.
Keep this idea: a protected record is valuable, but it is one component of a reliable service. People, evidence, governance and recovery remain part of the system.
CHAPTER 25 OF 48 · Learn to judge and explain
25. How to decide whether a job needs blockchain
Imagine that someone offers the science clubs a new blockchain platform. The demonstration looks attractive. Bookings appear quickly, the dashboard has a map, and the presentation promises trust.
The clubs should begin with their own problem, not with the demonstration. What is difficult today? Which records conflict? Who needs independent verification? Which organisation currently holds too much unilateral control, if any?
These questions can lead to a sensible decision without requiring everyone to become a programmer.
Write the job in one ordinary sentence
“We need three independent clubs to maintain a common booking history and investigate disputed changes.” That is a useful start. “We need a blockchain strategy” does not yet identify a user’s need.
Then describe success. Perhaps coordinators should spend less time reconciling records. Perhaps participants need a reliable way to export and check accepted bookings. Perhaps no single club should be able to rewrite history unnoticed.
Measurable outcomes make it possible to compare alternatives honestly.
Ask whether one accountable operator is acceptable
If all parties are comfortable appointing one responsible operator, a conventional database may meet the need with less complexity. That operator can still use access controls, audit logs, signatures and independent oversight.
If no participant should hold unilateral authority over the shared history, investigate designs that divide control. Blockchain may be one candidate. The question is whether its extra coordination machinery addresses the actual disagreement about authority.
Compare the whole lifecycle
A successful demonstration shows the happy path. A useful evaluation also examines mistakes, outages, departures and recovery.
Can a club correct an accidental booking? Can a new coordinator replace someone who leaves? Can records be exported? Can participants continue if the vendor closes? Who pays when the system is busy? What happens when two members disagree about a physical handover?
These are not negative questions. They describe normal life over a system’s useful lifetime.
Use the least complicated sufficient evidence
If the only requirement is checking that a file came from an issuer and has not changed, a signed document may be sufficient. If the requirement is fast internal recordkeeping, a database may be sufficient. If independent organisations need a jointly accepted sequence, a shared-ledger design may deserve closer study.
The aim is not to avoid new technology. It is to spend complexity where it buys a useful property.
Test a claim that could fail
A pilot should be able to change the decision. “Users liked the demo” is weak evidence for a record system. “The trial reduced disputed booking reconciliation under these conditions” is more specific.
Test the ordinary workflow and several difficult cases. Delay a message. Submit a conflicting booking. Remove an operator temporarily. Rotate a coordinator’s authority. Export the history and check whether another participant can understand it.
The results should reveal dependencies, not hide them. If a central administrator resolves every disagreement manually, that may be an acceptable operating model, but it should be described accurately.
Make the decision reversible where possible
Keep data portable. Use clear identifiers. Document meanings. Avoid placing unnecessary personal information in durable shared records. Establish an exit process before the organisation becomes dependent on one supplier.
These are good habits for many technologies, which is part of the point. Blockchain does not exempt a project from ordinary engineering discipline.
The usefulness guide develops the comparison. A strong decision may choose blockchain, a database, signed documents or a hybrid. The quality of the decision lies in the fit between the requirement and the evidence.
Keep this idea: a useful blockchain proposal explains the shared-control problem, compares alternatives and survives a realistic failure test.
| Need | First question | Possible direction |
|---|---|---|
| Internal records for one organisation | Is one accountable administrator appropriate? | A conventional database with suitable controls. |
| Check a document’s issuer and integrity | Is a signed credential sufficient? | Digital signatures and a status or key-discovery process. |
| Coordinate changes among independent parties | Must participants jointly control or independently verify the accepted history? | Evaluate shared-ledger designs, including blockchain. |
| Prove an event happened in the physical world | Who observed it, and how reliable is the observation? | Strengthen evidence collection; a ledger alone cannot answer. |
CHAPTER 26 OF 48 · Learn to judge and explain
26. Mistakes, lost access and recovery
A system is not fully explained until we know what happens on a bad day.
The coordinator loses a device. A member books the wrong date. A software update contains a bug. An operator stops responding. A report turns out to be false. These are ordinary reasons to design recovery before the system is needed.
Blockchain can make certain changes harder to reverse. That can protect history, but it can also make user mistakes more consequential. Recovery therefore deserves its own chapter.
Begin by locating the failure
Did the user intend the wrong action? Did the interface construct the wrong request? Was signing authority compromised? Did the application execute incorrectly? Did the network fail to progress? Did the outside report describe the wrong object?
Different failures need different remedies. Repeating a transaction will not repair a false sensor reading. Changing a website password may not replace compromised on-chain signing authority. Restarting an app will not make an invalid booking valid.
Precise diagnosis avoids treating “blockchain problem” as one giant category.
Lost access is not always the same as lost records
The network’s record may remain intact while a user loses the means to authorise actions. In some designs, there is no administrator who can simply restore that authority. In others, recovery mechanisms are deliberately built in.
Possible arrangements include shared approval, account recovery policies or institutional procedures, depending on the system. Each arrangement changes who has power and what failures can be handled.
The important point is to understand the actual recovery design before relying on it. Do not assume that every wallet behaves like an ordinary website account with a password-reset button.
Correction does not always mean erasing history
If the clubs book Saturday accidentally, the system may allow a cancellation and a new booking. The old transaction remains part of the history, while the current state reflects the correction.
If an asset has already been transferred to another party, recovery may require that party’s cooperation or some pre-existing control in the application. A protocol’s record cannot be casually rewritten merely because a user wishes the action had been different.
This is why clear review screens and understandable permission requests matter. Preventing an avoidable error is often easier than repairing its consequences.
Emergency powers are a tradeoff
A pause mechanism can stop some application actions during an incident. An upgrade mechanism can repair some software defects. Shared administrative approval can reduce reliance on one person.
These controls may improve recoverability, but they also introduce authority. Who can pause the service? Can users still withdraw or recover their records? Who approves a software change? Can the same emergency power be misused?
The right answer depends on the service. What matters is that the powers are visible and proportionate to the job.
Practise with harmless examples
For learning, use paper records and invented identities. Pretend a coordinator leaves the club. Ask which permissions must change. Pretend the catalogue service goes offline. Ask which evidence the participants retain. Pretend a report was wrong. Ask how the correction becomes connected to the earlier claim.
These exercises teach the structure without requiring anyone to handle real funds or secrets. They also reveal whether the explanation is complete enough to guide action.
Recovery is part of trust
A service earns confidence partly through how it handles failure. Users need to know who responds, what can be repaired, what evidence is preserved and which limits are unavoidable.
A claim of perfect prevention should not replace a recovery plan. Reliable systems assume that some components will eventually fail and arrange responsibilities accordingly.
Keep this idea: protecting history and helping people recover are both design goals. Ask how the system handles each one before relying on it.
CHAPTER 27 OF 48 · Learn to judge and explain
27. Scaling and connecting systems: why there is more than one chain
After understanding the basic record, people often ask why the world cannot simply put everything on one enormous blockchain.
The answer begins with different needs. A public payment network, a confidential business consortium and a classroom certificate service do not necessarily want the same permissions, costs, data visibility or governance.
There are also practical limits. Computers must process data. Networks must move it. Participants must be able to verify the claims on which the system depends. More activity does not make those responsibilities disappear.
Faster is not one measurement
A system can quickly acknowledge a request while taking longer to settle it. It can process many simple actions but fewer complex ones. It can appear fast under light load and become congested under pressure.
When someone advertises speed, ask what is being measured. Submission? Inclusion? Execution? Finality? The user’s ability to act safely on the result?
The clubs care about a dependable booking, not merely a fast animation. A meaningful performance claim should relate to that outcome.
Dividing work can help
Some designs move parts of processing away from a base chain while using that chain for selected forms of settlement, verification or data publication. Layer 2 is a broad term used for systems built around such relationships, though the exact security properties vary.
A rollup, a sidechain and an application-specific chain should not be treated as identical just because each promises more capacity. Ask which system checks the result, where necessary data is available and what users can do if an operator stops cooperating.
The beginner’s principle is simple: when work moves, responsibilities move too. Follow them.
A bridge adds another boundary
If a record or asset is represented across two networks, some mechanism must connect the claims. That mechanism is commonly called a bridge.
The bridge may rely on proofs, a set of signers, a custodian, special contracts or other arrangements. Its assumptions may differ from those of either underlying chain.
Imagine two libraries with separate catalogues. A transfer desk reports that an item has left one and become available in the other. Even if both catalogues are well maintained, the transfer desk still needs trustworthy rules. Otherwise the connection becomes the weak point.
Shared meaning matters as much as shared messages
Two systems can exchange data while interpreting it differently. One may use “owner” to mean current account control; another may mean a legally recognised person. One may consider a record final under a condition the other does not understand.
Interoperability therefore includes identifiers, formats, meaning, status, evidence and governance. Sending a message is only one part of making systems work together.
This is another reason to learn the foundations first. Without a clear idea of what each record claims, connecting records can multiply confusion.
The useful next level
The existing monolithic and modular architecture lesson maps responsibilities. The Layer 1, Layer 2 and appchain guide asks where security properties come from. The rollup lessons then examine the evidence more closely.
These are advanced routes, but the questions are already familiar. Who records? Who checks? Who decides? Where is the data? What happens when a participant fails?
The subject grows by adding detail to those questions, not by abandoning them.
Keep this idea: scaling distributes work, and interoperability connects responsibilities. Neither should be explained as free speed without new assumptions.
CHAPTER 28 OF 48 · Learn to judge and explain
28. A plain-English glossary you can actually use
A glossary should help you return to an idea, not make you feel that you have another list to memorise. Read these words as labels for jobs you have already seen in the telescope story.
Start with the ordinary explanation. The more precise treatment can come later. If a definition uses five words you do not know, it has not yet helped you.
The record words
Ledger: an organised record of relevant events or changes. It may help explain who can do what now and how that situation arose.
Transaction: a structured instruction or record processed under the system’s rules. It need not mean buying something. A booking request can be a transaction in our teaching model.
Block: a structured batch associated with a place in the history. Its accompanying data helps participants check its contents and relationship to earlier records.
State: the current situation produced by applying accepted actions under the rules. “T1 is reserved for Harbour” is a state statement.
Hash: a calculated digest of exact input data. It helps compare data or link records; it does not by itself prove truth or secrecy.
The authority words
Private key: secret signing material in a public-key system. Control of it can permit important actions, depending on the application.
Public key: information used to verify signatures under the relevant scheme. Sharing it for verification does not normally grant the ability to create authorised signatures.
Digital signature: a mathematical result tied to particular data and signing authority. Its meaning depends on the key, message, context and security assumptions.
Address: an identifier used by a particular network or application. It is not automatically a human identity or a guarantee about the person controlling it.
Wallet: software or a service that helps users manage relevant keys, accounts and interactions. Its role and custody arrangement depend on the product.
The network words
Node: a participating software instance or computer. Different nodes may perform different roles.
Consensus: the protocol-governed process by which participants accept a history or result under stated assumptions. It is not a vote on whether every external assertion is true.
Validator: a term whose exact role varies by system; commonly a participant with defined duties in checking or attesting to network outcomes. Ask which protocol uses the word.
Miner: a participant performing proof-of-work block-production activity in systems such as Bitcoin. Mining is a protocol process, not the extraction of a physical object.
Finality: a defined basis for treating an outcome as settled. Different networks provide different models and assumptions.
Fork: a divergence in histories or protocol paths. A temporary competing branch and a deliberate rules change are different situations that may both be discussed using this word.
The application words
Smart contract: program code operating on state under a blockchain’s execution rules. It needs triggers and available inputs; it does not automatically understand the outside world.
Oracle: a mechanism supplying outside information for on-chain use. Its reliability depends on the sources, reporting process and acceptance rules.
Token: a record representing something under a system’s rules. Its outside meaning depends on the associated arrangements.
Gas: a measure of computational resources in systems that use this model. Gas used, gas limit and the price paid for gas are related but different quantities.
Bridge: a mechanism connecting claims or activity across networks. Its own trust assumptions need inspection.
The judgment words
On-chain: recorded or processed within the relevant blockchain system. Always ask which chain.
Off-chain: outside that chain. A document can remain off-chain while a commitment associated with it is recorded on-chain.
Permissioned: participation in specified roles requires admission. The permissions should be stated rather than assumed.
Decentralised: meaningful control or operation is distributed in some respect. Ask which respect and how independent the participants are.
Trust model: an explanation of what the system relies on, which powers participants hold and what failures its guarantees can withstand.
You now have enough vocabulary to ask better questions. The goal is not to sprinkle these words into conversation. It is to use them when an ordinary question needs a more precise name.
Keep this idea: terminology is a map of responsibilities. If a word does not help you identify a responsibility, return to the example behind it.
CHAPTER 29 OF 48 · Learn to judge and explain
29. Build a paper blockchain and see where the analogy breaks
You can learn the essential coordination problem with paper, pencils and three readers. No accounts, real keys or financial assets are needed.
This is a model of selected ideas, not a secure implementation. In particular, the simple page-checking device below is not cryptography. Its job is to make changes and dependencies visible.
Prepare the record
Give each reader a copy of the same starting sheet. Label the readers North, Garden and Harbour. Write: “Telescope T1 is available. No Friday reservation has been accepted.”
Agree that only the named club coordinator can request a booking for that club. For the exercise, the reader playing that club serves as its coordinator. Use a separate sheet of rules so that no participant can quietly redefine a valid booking halfway through.
The rule is simple: one accepted reservation can occupy the Friday slot. A cancellation by the authorised holder makes the slot available again.
Make the first request
Harbour writes a request to reserve T1 for Friday. All three readers check that the request names the item, the slot and the requesting club. They check that the slot is currently available.
For this exercise only, require all three readers to acknowledge the same next page before adding it. This is a classroom rule, not a description of how every blockchain reaches consensus.
Once they acknowledge it, each reader adds the same entry to their copy and marks the current state “reserved for Harbour.”
Link the pages
Write a page identifier on the accepted page. On the next page, write “follows page 1” and copy a short summary of page 1. If you later change page 1, the copied summary on page 2 will no longer match.
This demonstrates dependency, not cryptographic security. A real cryptographic hash has mathematical properties that a handwritten summary does not. The exercise helps you see why a later record can commit to an earlier one.
Introduce a conflict
Garden now requests the same Friday slot. Check the request against the current state. The request may be properly made by Garden’s coordinator, but it conflicts with the already accepted reservation.
Rejecting it illustrates the difference between authority and validity. Garden is allowed to make requests; it is not allowed to override every accepted booking.
Now reset the exercise and let Garden and Harbour submit requests before any booking is accepted. Discuss how your classroom protocol orders them. Do not let each reader choose a different order and still claim that all copies agree.
Remove a participant
Ask North to stop responding for a minute. Under the exercise’s all-three rule, new pages cannot be accepted. The record may remain consistent while progress stops.
That is a concrete way to distinguish safety from liveness. It also shows why a real protocol needs a deliberate fault model. Requiring unanimous participation may be simple to explain but fragile when a member is unavailable.
Tell a false physical story
Harbour writes, “The telescope has been returned,” while the imaginary telescope remains at Harbour. All readers correctly copy the statement. Has the telescope moved?
No. The exercise has preserved a report, not performed a delivery. Ask what evidence would be needed: a receiving acknowledgement, an inspection or another accountable process.
Explain what you learned
Try answering these questions in your own words: Why did the second booking fail? Why did the system stop when North disappeared? Why did copying a return statement not prove a return? Why would a better fingerprint still not decide which history everyone should accept?
The answers are: rules depend on current state; the chosen agreement rule required North; outside events need evidence; and cryptographic linking does not replace consensus.
You have now encountered the central ideas through action. The advanced vocabulary can attach to something you have actually seen.
Keep this idea: a good model teaches both its useful resemblance and its limits. Do not mistake this paper activity for a secure protocol.
CHAPTER 30 OF 48 · Learn to judge and explain
30. Explain blockchain to a child, a parent and a curious adult
Understanding becomes stronger when you can change the explanation without changing the underlying idea.
A child may need the notebook first. A parent may need to understand a certificate check. A curious adult may want to know why a group would choose a shared ledger instead of a database. These are different entrances to the same machinery.
The child’s explanation
“Imagine several clubs sharing a notebook about one telescope. They follow rules about who can add an entry. The pages connect to the earlier pages, so changing an old page leaves clues. The clubs also have rules for agreeing which pages count. Computers can do a much more careful version of this.”
Then add the limit: “The notebook cannot see the telescope. If somebody writes that it was returned, we still need a good reason to believe them.”
That final sentence is not an advanced complication. It protects the basic understanding from becoming magical.
The parent’s explanation
“A blockchain can give different parties a shared reference for checking records. For a certificate, that might help detect changes or connect a document to an accepted issuance record. But the exact design matters. Digital signatures and verifiable credentials can also work without a blockchain. We should ask what the check proves, who issued the document and whether its status is current.”
This explanation connects the machinery to a useful task. It does not ask the parent to learn trading terminology before understanding document verification.
The adult’s explanation
“A blockchain combines structured records, cryptographic links, authorisation checks and an agreement protocol to maintain a history among participants. It can be useful when independent parties need shared control or independent verification of accepted changes. It adds cost and complexity, so we compare it with databases, signed documents and other designs.”
Then ask about dependencies: “Who controls the software and keys? Where does outside information come from? What can be corrected? What happens during failure?”
The explanation is now more precise, but it still uses the same four ideas from the opening: record, rules, checking and agreement.
The one-minute version
Blockchain is a family of systems for keeping a shared, checkable history. Records are grouped and linked. Participants check proposed changes. A protocol establishes the accepted sequence. Applications use that sequence to maintain state and coordinate actions.
Bitcoin is one important use. Other uses can involve documents, permissions, shared assets and operational records. Some applications use public networks and cryptocurrencies in their infrastructure; some permissioned designs do not require a native coin.
The technology does not automatically prove outside facts, hide information or make every decision fair. Its value depends on the whole system and the job it is meant to perform.
How to know that the idea has landed
You can separate a transaction from a screen message. You can explain why a signature is not the same as truth. You can see why a hash does not preserve a missing file. You can ask who controls the important powers. You can describe a case where a database is enough.
That is real progress. You do not need to know every acronym before you can judge an explanation sensibly.
Where the next questions lead
If you are curious about checking, continue into hashes, signatures and inclusion proofs. If you are curious about agreement, continue into nodes, consensus and finality. If you are curious about useful applications, continue into smart contracts, oracles and database comparisons.
The extended reading room follows, with eighteen existing eduKateSG lessons assembled around those questions. The advanced subject routes at the end also lead directly to architecture, execution and scaling articles.
You can stop here and return when a real question makes the next chapter useful. The purpose of the book is to make the subject navigable, not to make every reader finish it in one sitting.
Keep this idea: blockchain becomes understandable when we follow one record, one rule and one responsibility at a time.
The extended reading room
You can stop after the first thirty chapters with a working understanding of blockchain. The following eighteen companion readings bring selected teaching from the existing eduKateSG collection into this book. They move more slowly through technical distinctions and worked examples. Each links to its individual lesson so you can continue through that subject’s sequence.
CHAPTER 31 OF 48 · The extended reading room
31. What Is Blockchain? A Clear Guide to Shared Records, Trust and Limits
Continue into the existing eduKateSG lesson: What Is Blockchain? A Clear Guide to Shared Records, Trust and Limits. The explanation below is included here for readers who want the longer worked treatment in one place.
Begin with a shared register
Imagine three independent organisations maintaining a record of a laboratory instrument: a manufacturer, a delivery company and a testing centre. Each needs to know which organisation most recently acknowledged responsibility for the instrument. They also want to inspect the sequence of earlier acknowledgements.
A spreadsheet held by one organisation could perform this job. The others would then depend on that organisation to preserve the history, control access and resolve conflicting edits. A shared database could offer stronger controls and backups. These may be perfectly sensible choices.
A blockchain becomes a candidate when the organisations require a jointly governed sequence of updates and do not want one participant to have unilateral authority over the accepted record. Each proposed update must meet the system’s rules. Participants can verify the relevant record rather than relying only on a screenshot from the organisation currently holding the spreadsheet.
The important improvement is therefore specific: a different arrangement for maintaining and checking a shared history. It is not a guarantee that the instrument was actually delivered. A dishonest employee might acknowledge a delivery that never happened. Physical checks, accountable organisations and dispute procedures still matter.
This example is hypothetical. It illustrates the question to ask before discussing platforms: what disagreement about records are we trying to resolve, and which parties must be able to check the answer?
Four building blocks, with four different jobs
Records: what happened, or what is being requested?
A blockchain records protocol-defined data. A transaction may request a transfer, update a contract or record an attestation. “Transaction” does not always mean buying or selling something. In the instrument example, it could mean recording that a named participant acknowledged a handover.
Blocks group records according to the network’s design. A block generally contains or commits to transaction information and refers cryptographically to an earlier block. The resulting chain helps participants check that a presented history is internally connected.
Rules: which changes are permitted?
The software defines what a valid update looks like. A request may need the right signature, sufficient spendable resources and an acceptable sequence number. An application can add rules such as requiring two organisations to approve a handover.
These rules matter more than the visual appearance of the chain. A neatly linked series of blocks containing invalid changes should still be rejected by participants that correctly enforce the protocol. The ability to propose a block is not the authority to make arbitrary changes valid.
Agreement: which valid history is accepted?
Participants may hear about requests at different times. Some may be offline. Two requests may conflict. Consensus rules help the network establish an accepted order or state despite the failures covered by its design.
Different networks solve this coordination problem differently. Some allow broad participation and use resource-based mechanisms; others admit known organisations and use membership and voting arrangements. There is no single “blockchain consensus” that describes every network.
Accountability: who can act, and what happens after failure?
A working system also needs operational and governance arrangements. Who runs the software? Who can change application rules? How are signing keys protected? Can an error be corrected through a new record? Who handles a dispute about goods, identity or entitlement?
These questions are sometimes treated as details to consider later. In practice they determine whether the shared record will remain useful when something goes wrong. A technical diagram without recovery and governance is an incomplete description of the system.
NIST’s introductory overview provides a foundational account of blockchain structure and tamper resistance. It is an October 2018 publication, useful for core concepts rather than evidence of today’s deployment status. Read NIST IR 8202.
The ledger, the state and the application are different
The ledger is the recorded history. The state is the current result obtained by applying the relevant rules to that history. The application gives those records a practical meaning and presents them to a user.
In our example, the ledger might contain “manufacturer issued instrument,” “carrier accepted custody” and “testing centre acknowledged receipt.” The current state might say that the testing centre is the latest recorded custodian. The application might display a delivery timeline.
Notice the careful wording: “latest recorded custodian” is a claim about the system. “The instrument is physically inside the testing centre” is a claim about the world. The second does not follow automatically from the first.
A user interface can also conceal distinctions. A screen showing “complete” may mean that a server received a request, that a transaction appeared in a block, or that a protocol-specific finality condition was met. Those are different events. Understanding the underlying state prevents a friendly screen from becoming the only source of evidence.
Follow one transaction from intention to accepted record
Consider a simplified transfer of ten fictional learning credits from Mei to Arun. These credits have no monetary value. The example is a teaching model, not the transaction format of a named network.
First, Mei expresses an instruction. Her software constructs a message identifying the proposed action and relevant account information. What Mei sees should accurately represent what the software will authorise.
Second, the instruction is authorised. In a simple key-based design, Mei signs the message with the appropriate private key. Other participants can check the signature without receiving that secret key. A more complex account could require several approvals or other programmed conditions.
Third, the network checks eligibility. Does the authorisation satisfy the rules? Are the credits available? Has this instruction already been used? Merely receiving a request does not mean accepting it.
Fourth, a participant proposes an order. Suppose Mei also submits a conflicting instruction to transfer the same ten credits elsewhere. The system needs an accepted ordering so that both requests cannot spend the same available credits in the same accepted history.
Fifth, participants validate the resulting changes. In this teaching model, one valid transfer reduces Mei’s balance and increases Arun’s. If the conflicting request is then evaluated without enough credits remaining, it cannot make the same transfer valid again.
Finally, the result reaches the network’s relevant confirmation or finality condition. The practical meaning of “settled” depends on the protocol and application. It should not be inferred from a universal number of seconds or blocks.
Ethereum’s transaction documentation offers a concrete account-based implementation. Bitcoin’s developer documentation explains a different model using unspent transaction outputs. The shared lesson is that authorisation, ordering and validation have distinct jobs. Ethereum transactions · Bitcoin transactions.
What hashes and signatures actually prove
A cryptographic hash is a compact fingerprint calculated from data. If the data changes, its hash will normally change too. This makes hashes useful for detecting differences and linking records. A hash does not explain why a statement is true, and it does not encrypt the original information.
Imagine hashing a report that says the instrument passed a safety inspection. Later, a verifier can compare a supplied report with the recorded fingerprint. A match can support the conclusion that the report is the one committed to by that fingerprint. It does not establish that the inspection was properly performed.
A digital signature supports a different check: whether a message was signed under the relevant key. A valid signature does not necessarily identify a particular human being. The connection between a key and an organisation depends on identity and authorisation arrangements. If an attacker steals the signing authority, the attacker may produce signatures that are technically valid.
Finally, linking blocks with hashes is not enough on its own. Someone could edit a private copy and calculate new links. The harder question is whether that altered version would be accepted by other participants. Consensus, independent validation and the network’s security assumptions provide the additional protection.
A useful memory aid is: hashes help check data, signatures help check authorisation, and consensus helps coordinate an accepted history. None is a substitute for the others.
“Difficult to change” is more precise than “impossible to change”
Blockchain is often described as immutable. For a beginner, the safest interpretation is resistance to unauthorised changes under specified assumptions.
A network may reorganise recent history when participants learn about a different valid chain. Protocol rules may be upgraded through governance and software adoption. Application administrators may have powers to pause or alter a contract. These are different mechanisms; describing them all as “the blockchain was changed” hides important detail.
Even where an old record remains, the system can support a later corrective record. If a serial number was entered incorrectly, a well-designed register could retain the original entry and add an authorised correction with a reason. Preserving an audit trail and correcting the current understanding can coexist.
Before relying on permanence, ask which part is meant: the transaction history, the current application result, a linked document or an administrator-controlled setting. A document stored outside the chain can disappear even if its fingerprint remains recorded.
Bitcoin’s original paper explains its proof-of-work approach to conflicting histories. It is a 2008 design paper, not a universal description of all blockchains. Read the Bitcoin paper.
Public and permissioned systems answer different questions
A public network can make records widely inspectable. A permissionless design allows participation without a central membership approval, subject to its protocol conditions. A permissioned system limits particular roles to approved participants.
These labels should not be collapsed into one scale. Public visibility, permission to submit transactions, permission to validate and authority to upgrade software are separate dimensions. A system can make information visible while keeping control concentrated. A permissioned network can distribute responsibilities across several organisations while still depending on its membership authorities.
Hyperledger Fabric illustrates a permissioned architecture with distinct endorsement, ordering and validation responsibilities. That makes it a useful contrast with open cryptocurrency networks, rather than evidence that one design is always superior. Fabric introduction.
For the instrument register, publishing all commercial details to everyone may be unnecessary or harmful. The design question is which participants need which evidence, and why. More public data is not automatically more useful accountability.
Blockchain is not the same thing as cryptocurrency
A blockchain is an architecture for records and permitted changes. A cryptocurrency is one application and, in some networks, part of the mechanism that pays for resources or shapes participation incentives.
A permissioned ledger does not necessarily require a publicly traded coin. Conversely, a cryptocurrency exchange is a service with its own accounts, controls and operational risks; it is not identical to the underlying blockchain network.
The same separation applies to smart contracts. A smart contract is code executed according to a platform’s rules. It can make specified actions conditional on specified inputs. It does not independently know what happened in a warehouse or classroom. An oracle supplies information from outside the chain, bringing its own sources and failure risks. Ethereum’s oracle documentation explains this boundary.
Three useful promises, and their limits
A shared history can be independently checked. This is valuable when participants need to inspect what the system accepted. The limit is that the verifier still needs the appropriate data, software and understanding of the rules.
Rules can constrain updates. A protocol can reject a transfer that lacks valid authorisation. The limit is that correctly executing a poorly designed rule can still produce an undesirable result. Software correctness and a good policy are different achievements.
Several participants can maintain continuity. Distributed operation can reduce dependence on one machine or organisation. The limit is that shared software faults, common hosting, concentrated control or an unavailable access provider can create correlated failures.
These are conditional engineering benefits. They should be evaluated against a specific alternative, not against an imaginary database with no access controls, backups or audit logs.
Return to the instrument: a worked design review
Suppose the manufacturer proposes storing a hash of each inspection report, a handover record and the organisation that signed it. Three questions immediately clarify the proposal.
What can a reviewer verify? A reviewer with the report can compare its fingerprint with the recorded value, check the associated authorisation and inspect the recorded sequence. This may make later disputes about which version was submitted easier to investigate.
What remains outside the chain? The quality of the inspection, the actual location of the instrument and the authority of the person operating the signing key still need evidence. The report itself also needs a reliable storage and retrieval arrangement.
How would an error be handled? The proposal should specify corrections, revoked signing authority, disputed handovers and unavailable participants. “Nobody can ever change anything” is not an adequate procedure for a wrongly entered serial number.
A reasonable outcome could be a permissioned ledger. Another could be a shared database with signed records. A third could be a simpler registry operated by an institution all parties already trust. The example does not prove that blockchain wins; it shows how to make the comparison concrete.
Five questions before accepting a blockchain proposal
- Who writes? Identify the people, services or organisations allowed to propose each kind of change.
- Who verifies? Ask who can independently check the relevant evidence rather than merely view a dashboard.
- Who controls exceptions? Find the upgrade, pause, correction and recovery powers, including any administrator keys.
- What is still trusted? Include identity providers, document storage, sensors, oracles, interfaces and real-world issuers.
- Why is a simpler option insufficient? Compare the proposed system with a database, signed document or shared audit log that has competent operational controls.
If a presentation cannot answer these questions, adding terms such as “decentralised” or “next generation” does not resolve the missing design work.
Check your understanding
Question 1: A shipment record is on a blockchain. Does that prove the correct goods arrived?
Question 2: A message has a valid signature. Does that prove its author was an honest employee?
Question 3: A wallet says “submitted.” Is the requested change necessarily final?
Question 4: A company wants a private database for its own staff, with one administrator and no need for external verification. Is blockchain automatically the best choice?
Answers: No in all four cases. The shipment needs real-world evidence. A signature is checked against signing authority, not a person’s honesty. Submission precedes possible inclusion and finality. The company should first assess a conventional database with access controls and an audit trail.
For a deeper exercise, write one sentence describing the instrument register without using “secure,” “transparent” or “trustless.” A strong answer is: “The organisations share an ordered record of authorised handover statements, while inspections and dispute procedures establish what those statements mean in the real world.”
Frequently asked questions
Is blockchain just a database?
It stores and coordinates data, so comparison with databases is useful. Its distinguishing concern is how participants agree on and verify permitted changes to shared history. Conventional databases can also be replicated, access-controlled and audited. The appropriate comparison is between complete designs.
Does everyone store everything?
Not necessarily. Nodes can have different roles, retention policies and verification capabilities. Some systems divide data or restrict access. Never infer storage and privacy arrangements from the word blockchain alone.
Can a blockchain contain false information?
Yes. A valid transaction can record a false external assertion. The system may faithfully preserve who submitted that assertion without independently proving it true.
Must I learn programming first?
No. Begin with records, authorisation, ordering and failure handling. Programming becomes useful when you want to inspect or build an implementation, but it should not replace understanding what the system is meant to guarantee.
What should I learn next?
Learn why hashes differ from encryption, how signatures differ from identity, and how a network resolves conflicting updates. Then compare blockchain with a conventional database using one concrete workflow. Understanding those distinctions is a stronger foundation than memorising platform names.
Sources and further reading
- NIST IR 8202: Blockchain Technology Overview, October 2018: foundational terminology and architecture.
- Bitcoin: A Peer-to-Peer Electronic Cash System, 2008: the original proof-of-work cash-system design.
- Bitcoin Developer Guide: Transactions, living documentation: unspent outputs and transaction structure.
- Ethereum: Transactions, living documentation: one account-based transaction lifecycle.
- Ethereum: Oracles, living documentation: the boundary between onchain computation and outside information.
- Hyperledger Fabric: Introduction, living documentation: a permissioned architecture.
The central question to carry forward is simple: who can change what, under which rules, and what happens if they fail?
CHAPTER 32 OF 48 · The extended reading room
32. Blockchain vs Traditional Databases: Choosing the Right Record System
Continue into the existing eduKateSG lesson: Blockchain vs Traditional Databases: Choosing the Right Record System. The explanation below is included here for readers who want the longer worked treatment in one place.
Define the job before selecting the system
“Build a blockchain platform” is an implementation direction. It is not a clear description of the problem. A useful problem statement identifies a record, an action and the people affected.
For example: “Three training centres need to reserve a shared set of laboratory instruments, avoid conflicting confirmed bookings and investigate disputed changes.” That statement leaves room to compare solutions. It also distinguishes a booking problem from a certificate-verification problem or an inventory problem.
Next, state the observable outcome. Does a user need an immediate provisional response, a confirmed reservation, an independently checkable history or all three? Can a temporary conflict be resolved by a coordinator, or would that violate the purpose of the arrangement?
Finally, say what the system does not decide. A reservation record cannot determine whether an instrument is safe, whether a learner is qualified to operate it, or whether a centre complied with a physical inspection procedure. Those tasks need their own evidence and controls.
This requirements-first method is editorial guidance. It is deliberately practical: write the job in ordinary language so that a proposed architecture can be tested against it.
Separate three kinds of trust
Trust in the operator concerns who administers the system. Can this organisation delete records, change permissions, restore backups or provide different views to different users? What contractual, technical or institutional controls constrain it?
Trust in participants concerns the organisations submitting information. Do they sometimes make mistakes? Could they deliberately submit a misleading booking cancellation or backdated explanation? Does one organisation benefit from another being denied access?
Trust in inputs concerns how the record connects to reality. A barcode scan, inspection result or signed statement can still be wrong. Neither a database nor a blockchain eliminates this problem merely by storing the input.
A team may trust a university to administer bookings while distrusting individual users to report usage accurately. In that case, better validation and audit procedures may matter more than changing the storage architecture. Conversely, several institutions may accept each other’s signed requests while refusing to let one of them unilaterally rewrite the shared sequence.
The phrase “we do not trust each other” is therefore too vague. Specify the action you do not want another party to control and the evidence needed to detect misuse.
Compare complete designs, not stereotypes
A weak comparison sets a carefully engineered blockchain against a single unprotected spreadsheet. That does not establish which architecture is appropriate. The alternative should include the controls that a competent database design would normally consider.
For a database proposal, describe authentication, permissions, transaction handling, backups, audit logging, monitoring and administrator oversight. If independent parties need receipts, explain whether signed exports or independently retained acknowledgements could meet that requirement.
For a blockchain proposal, describe membership, validation, ordering, participant operation, application permissions, data access and software upgrades. Identify the services outside the chain: websites, identity systems, document storage, notification providers and support teams.
Both proposals need a credible recovery procedure. Both also need someone to pay operating costs and maintain integrations. A diagram with many nodes does not make these responsibilities disappear.
NIST’s Blockchain Technology Overview, published in October 2018, is a foundation for the blockchain side of this comparison. Its terminology should not be used to assume that every contemporary system has the same control structure.
The first decision: is one accountable administrator acceptable?
Suppose one training centre owns its equipment, sets the booking rules and accepts responsibility for resolving disputes. Staff and learners need reliable access, but outside institutions do not need to independently approve the official record.
A conventional database is a strong starting candidate. It can support the application while the centre defines who may create, cancel and correct bookings. Audit records and backups address different needs: investigation and recovery. The design still requires careful implementation, but no multi-organisation consensus requirement has yet been established.
Adding a blockchain does not necessarily remove the administrator. If the same centre controls every validator, every administrator key and the only website, the apparent distribution may not create meaningful independence. The important question is what a user can verify or preserve when that centre acts incorrectly.
There may be a reason to add independently witnessed commitments or signed receipts without moving the entire booking workflow onto a chain. Treat this as another candidate design, not a compromise to dismiss because it lacks a dramatic label.
The second decision: what must independent parties control together?
Now change the scenario. Three independently governed centres contribute equipment. Each wants to prevent another from quietly rewriting the accepted booking order. None is willing to appoint one centre as the sole final authority.
This requirement makes jointly governed infrastructure worth evaluating. A permissioned ledger is one candidate. A shared database under an agreed neutral operator, accompanied by signed acknowledgements and external audit, is another.
The choice turns on more than the number of organisations. Can they agree on admission rules? Which changes require which approvals? Who operates the ordering service? What happens if one participant stops maintaining its systems? Can a departing organisation retrieve the records it is entitled to retain?
Hyperledger Fabric provides one concrete example of separating endorsement, ordering and validation within a permissioned architecture. The configuration and governance chosen by an actual deployment remain essential. Fabric introduction.
A useful warning sign is a proposal that promises distributed control but leaves all upgrades and recovery actions with the vendor. That may be an acceptable managed service, but the claimed benefit must match the actual allocation of power.
Eight comparison criteria that expose the tradeoffs
Control and independent verification
Ask what each participant can check without asking the current operator for permission. A downloadable report is not automatically proof that earlier records were never selectively omitted. Equally, a ledger is not useful evidence to someone who cannot obtain or interpret the required data.
Error correction
Specify how an incorrect reservation is corrected and how the original action remains explainable. An overwrite, a reversal and an additional correction entry have different effects. The right design depends on the audit and privacy requirements, not a universal preference for keeping everything forever.
Privacy and access
List the minimum information each role needs. A participant may need to see available equipment without seeing another centre’s internal timetable or learner details. Do not assume that restricted writing implies restricted reading, or that hashed personal data is automatically anonymous.
Availability and recovery
Test loss of an operator, a hosting region or a signing key. Identify whether users can still read records, create requests and confirm changes. Those three capabilities may fail differently. Recovery arrangements should state who acts and how the recovered state is checked.
Performance at the required outcome
Compare time to the outcome the user actually needs. A quick “received” response cannot be compared fairly with a confirmed, durable booking. State transaction complexity, load and failure conditions alongside any throughput measurement.
Integration and usability
The system must work with existing identity, scheduling and reporting processes. If staff must retype every booking into two systems, the new ledger may increase errors even while strengthening one narrow integrity property.
Governance and maintenance
Document who approves releases, handles incidents and resolves disagreements over policy. Include how decisions are recorded and communicated. A technically distributed service can still depend on a single overworked maintainer.
Total cost and exit
Include implementation, integration, operation, review, training, support and eventual migration. Ask whether records can be exported in a usable form and whether verification remains possible after a vendor contract ends. A low transaction fee is not a complete operating budget.
Worked example: a database-first equipment service
Consider a hypothetical centre, North Workshop, with one equipment manager and internal users. The centre owns the instruments and has authority to approve bookings. Users want prompt confirmations and a way to challenge a cancellation.
Its requirements can be expressed as three checks: two users must not receive conflicting confirmed bookings; authorised staff must be able to correct mistakes with an explanation; and the centre must be able to recover after a service failure.
A database-backed application can be evaluated against those requirements. The proposal should show how concurrent booking requests are handled, how staff permissions are constrained and how changes are retained for review. It should also demonstrate backup restoration rather than merely claiming that backups exist.
What would blockchain add here? Perhaps an externally witnessed record of booking changes would help investigate administrator misconduct. But that requirement needs to be stated and assessed. If no independent party actually verifies the record, operating several nominal nodes may add complexity without resolving a current problem.
A reasonable provisional decision is database-first, with a documented route to stronger external evidence if a real need emerges. This is a conclusion about the stated scenario, not a claim that a single organisation can never benefit from ledger-based verification.
Worked example: the three-centre consortium
Now imagine North Workshop, East Laboratory and River Training share a scarce instrument. Each contributes resources and each wants evidence that confirmed allocations cannot be silently rearranged by a rival.
Begin with governance rather than software. Suppose they agree that a booking follows a shared allocation policy, disputed changes require a recorded explanation, and no single centre can unilaterally change the policy. Those agreements are necessary whichever technology they choose.
Candidate A is a neutral managed database. An accepted operator runs the service. Participants receive signed acknowledgements and periodic records for independent review. Its main question is whether that operator’s authority and oversight are acceptable.
Candidate B is a permissioned ledger. The centres operate or oversee distinct roles and use defined approval rules. Its main question is whether the actual implementation prevents the unilateral changes the participants are concerned about, while still functioning under expected outages.
Candidate C is an existing booking service with contractual audit rights. This may offer less direct verification but lower operational burden. If the perceived distrust is minor and institutional remedies are adequate, it deserves consideration.
Do not choose a winner by counting technical features. Test each candidate against the same disputed-booking scenario. If all three centres later decide that a neutral operator is acceptable, the justification for the more complex arrangement may change.
When a signed document is enough
Some projects do not need shared updates at all. They need recipients to verify who issued a statement and whether it has been altered.
Imagine an adult training provider issuing a completion certificate. A verifier needs to identify the issuer, inspect the claim and check relevant validity or status information. That does not automatically require every certificate to be written onto a public blockchain.
W3C’s Verifiable Credentials Data Model separates issuer, holder and verifier roles and allows different arrangements for registries. Blockchain is optional. The Recommendation dated 15 May 2025 is a useful starting point for this distinction. W3C Verifiable Credentials Data Model v2.0.
The design must still address issuer legitimacy, status changes, privacy and availability. A valid signature from an untrustworthy issuer does not make the qualification valuable. Choosing a credential standard and choosing a storage architecture are related decisions, but they are not the same decision.
Run a pilot that could change your mind
A useful pilot is allowed to show that the preferred design is unsuitable. Define acceptance conditions before building, so that a polished demonstration does not replace evidence.
For the booking scenario, test simultaneous requests for the same slot. Does the system preserve the intended allocation rule? Then disconnect one participating service. Which operations still work, and what do users see?
Next, introduce an incorrect entry and use the planned correction procedure. Can a reviewer understand both the mistake and the correction? Revoke a test account’s permission and check whether it can still perform actions it should no longer control.
Finally, export the records and attempt a recovery in a separate test environment. Can the team reconstruct the usable state without undocumented help from one vendor employee? Use synthetic data and dummy credentials throughout the pilot.
These tests are an editorial checklist, not a certification standard. Add the requirements of the actual application. Their purpose is to expose operational assumptions that a normal success-path demonstration might hide.
Write the decision in one page
A concise decision memo can contain five short parts.
- Problem: the record being coordinated, the parties involved and the consequence of disagreement.
- Required guarantees: what must remain true, who must be able to verify it and under which failures.
- Alternatives: the strongest practical database, signed-record and ledger designs considered.
- Evidence: pilot results, unresolved limitations and the reason the selected option best fits the requirements.
- Review trigger: a change that would justify revisiting the choice, such as new participants, stronger audit needs or unacceptable maintenance burden.
Avoid declaring that the chosen architecture is “future-proof.” A better decision explains its assumptions. When those assumptions change, the team can revisit the design without treating earlier work as a failure.
Common comparison mistakes
“Databases can be edited, so they cannot be trusted.” The relevant questions concern permissions, controls, auditability and independent evidence. Unrestricted silent editing is a design flaw, not a necessary property of every database application.
“Several replicas mean decentralised governance.” Copies improve some availability properties, but the same administrator may control all of them. Count independent authority, not just machines.
“A blockchain removes the need for agreements.” Participants still need to agree on membership, software changes, responsibilities and disputed real-world claims.
“Public visibility is always better.” Disclosure can expose unnecessary information. Determine what evidence the verifier needs, then minimise unrelated data.
“The cheapest transaction wins.” A transaction fee omits integration, operation, correction, governance and exit costs. Compare a complete workflow over its useful life.
Check your understanding
Scenario A: One museum owns a collection database. It wants reliable backups and an internal audit trail. No external participant needs to jointly control updates. What should it assess first?
Answer: A conventional database with appropriate access, audit and recovery controls. A blockchain proposal needs an additional requirement that explains its extra complexity.
Scenario B: Several independent institutions reject unilateral control by any one member and need to verify a shared sequence of authorised updates. Is a permissioned ledger automatically the winner?
Answer: It is a candidate, not an automatic answer. Compare governance, failure behaviour, privacy and total cost with a neutral operator or other signed-record arrangements.
Scenario C: A recipient only needs to verify the issuer of a document. Must the document be onchain?
Answer: No. Digital signatures or verifiable credentials may meet the need. The system still requires credible issuers and suitable status, privacy and availability arrangements.
Final exercise: Name one fact that would reverse your preferred choice for the equipment example. A strong answer changes a requirement, such as all participants accepting a neutral administrator, rather than merely introducing a new platform name.
Frequently asked questions
Can a database and a blockchain be used together?
Yes. An application can keep operational records in a database while using signed statements or ledger commitments for a specific verification need. The important task is defining which component is authoritative for each question and how inconsistencies are handled.
Is a permissioned blockchain just a slow database?
That label is too broad to be useful. Inspect whether it gives distinct organisations meaningful shared control or verification that they actually require. If those benefits are absent, its additional coordination cost may be difficult to justify.
Does “traditional database” mean one server?
No. Database systems can be distributed or replicated. The relevant distinction here is control and verification arrangements, not simply whether more than one machine stores data.
What should a beginner learn next?
Study the difference between distributed operation and decentralised authority. Then examine one transaction rule and one recovery procedure in a concrete system. Those details make architectural comparisons more reliable.
Sources and scope
- NIST IR 8202: Blockchain Technology Overview, October 2018: foundational blockchain concepts.
- Wüst and Gervais: Do you Need a Blockchain?, 2018 conference paper, author manuscript: a requirements-led decision framework focusing on writers and trust arrangements. Its historical platform comparisons are not current performance benchmarks.
- Hyperledger Fabric: Introduction, living documentation: one permissioned architecture.
- W3C Verifiable Credentials Data Model v2.0, Recommendation, 15 May 2025: issuer, holder and verifier roles with multiple possible infrastructure arrangements.
Choose the simplest complete design that satisfies the real requirements, and keep enough evidence to explain why it does.
CHAPTER 33 OF 48 · The extended reading room
33. Distributed Systems vs Blockchain: What the Extra Rules Change
Continue into the existing eduKateSG lesson: Distributed Systems vs Blockchain: What the Extra Rules Change. The explanation below is included here for readers who want the longer worked treatment in one place.
Three copies of a catalogue do not make a blockchain
Imagine a museum catalogue stored on servers in three buildings. A central service accepts edits and copies them to the other servers. Visitors can still browse if one building’s connection fails.
This is distributed operation: multiple machines contribute to the service. It may be a sensible design. It is not automatically a blockchain, nor does it establish that three independent parties control the catalogue.
If one administrator can replace the software on every server, rewrite the source database and control all access, the physical copies do not create separate decision-making authority. They can protect against some equipment failures while leaving the same administrative dependency intact.
Now imagine three independent museums maintaining a joint catalogue of loans. Each wants to verify the authorised sequence without allowing a rival to silently rewrite it. That changes the coordination requirement. A blockchain may be a candidate, but only if its actual rules and operating arrangements deliver the required independence.
The important move is to distinguish where computation happens from who decides what counts.
“Distributed” can describe different properties
Distributed storage
Data is held in more than one place. The copies may be complete, partial, current or delayed. This can improve access or resilience, but says little by itself about who controls changes.
Distributed computation
Several machines perform work. They may split a task into parts or repeat a calculation to check it. A company can operate a large distributed computing service under a single management structure.
Distributed authority
Different actors have meaningful decision rights. No one actor can perform certain important actions alone, such as admitting a new member or changing an accepted rule. This is a governance and protocol property, not a direct consequence of machine count.
A system may distribute one property much more than another. For example, thousands of users may hold copies while a small group controls upgrades. Alternatively, a jointly governed service may use a modest number of well-identified operators.
Instead of asking only “is it decentralised?”, ask which action is distributed, among whom, and with what constraints. A precise answer is more informative than a yes-or-no label.
Why communication creates a coordination problem
On one machine, a program can process two instructions in a chosen sequence. Across a network, different machines can receive the same instructions in different orders.
Suppose one museum submits “approve loan A” and another submits “approve loan B” for the same object and overlapping dates. Server North sees A first. Server South sees B first. Both requests may be properly signed, but the rules allow only one confirmed loan for that interval.
Neither server’s arrival order is automatically a globally authoritative clock. A slow connection may delay a request that was created earlier. Local clocks can also differ. The system needs an agreed method of deciding the order that affects the shared result.
This is not a uniquely blockchain problem. Distributed databases, replicated services and other coordinated systems also need ways to handle concurrency and failures. Blockchain contributes particular combinations of history structure, validation, participation and agreement rules; it did not invent distributed coordination.
The practical lesson is that sending the same message to several computers is not the same as establishing one accepted outcome.
Validity and ordering answer different questions
Validity asks whether a proposed action satisfies the applicable rules. Is the signature acceptable? Does the sender have permission? Is the requested state change allowed?
Ordering asks where an action belongs relative to other actions. When two individually eligible requests compete for the same resource, order can determine which succeeds.
Return to the two loan requests. Both museums might be authorised to apply for the object. That does not mean both loans can be confirmed for the same period. Once one confirmation changes the shared state, the other request must be evaluated against that new state.
A producer that proposes an ordering should not thereby gain permission to bypass validation. Likewise, a valid signature does not entitle its sender to a preferred place in the sequence. These boundaries prevent “the network received it” from being mistaken for “the network must accept it.”
Bitcoin’s developer guide describes independent validation and the linked block structure of its ledger. Treat its particular design as an example, not the definition of every distributed system. Bitcoin Developer Guide: Block Chain.
The extra rules a blockchain needs
A useful high-level checklist contains five questions.
How are records linked? Cryptographic commitments make relationships between records checkable. They help reveal alteration, but cannot by themselves force others to accept or reject a history.
Who may participate in each role? A network must specify who can submit, propose, validate or vote. A permissioned system may use membership arrangements. An open system needs mechanisms that prevent simply inventing many identities from granting unlimited influence.
Which changes are valid? Participants need compatible rules for authorisation and state changes. Different software interpretations can undermine agreement even if every operator believes it is behaving correctly.
How is an accepted history selected? The protocol must describe what happens when proposals compete or messages arrive in different orders. It also needs a practical meaning of confirmation or finality.
How does the system continue after trouble? New or returning participants need a way to obtain and verify the appropriate state. Operators need procedures for faults, software upgrades and incidents within the system’s governance model.
Not every blockchain implements these questions in the same way. The checklist describes responsibilities, not a universal protocol recipe. NIST IR 8202, published October 2018, supplies foundational terminology for these components.
A stopped machine and a dishonest machine are different failures
A crash fault occurs when a component stops performing its role. A server may lose power or a process may terminate. A design can be built to tolerate a specified number of such failures.
Byzantine behaviour is broader: a component may act arbitrarily, including sending inconsistent statements to different peers. The cause might be compromise, faulty software or another failure. The technical category is not limited to a malicious human consciously telling a lie.
In the museum example, a crashed clerk sends no confirmation. A Byzantine clerk might tell Museum A that its loan was approved and tell Museum B that the incompatible loan was approved instead. The second problem cannot be handled merely by assuming the clerk will eventually restart.
A system described as fault-tolerant must say which fault model it means. Tolerating stopped servers does not automatically establish protection against arbitrary conflicting messages.
Hyperledger Fabric’s ordering-service documentation discusses different ordering arrangements and their fault models. The selected implementation and configuration matter; the platform name alone is insufficient. Fabric ordering service.
Safety and liveness can pull in different directions
In this context, safety means avoiding the conflicting outcomes the protocol is designed to prohibit. Liveness means continuing to make progress under the stated conditions.
For the museum loan, safety might mean that two honest participants do not treat incompatible confirmed loans as final. Liveness might mean that a valid request can eventually obtain a result when the necessary participants and network conditions are available.
During a network split, some participants cannot communicate with others. A design may withhold confirmation rather than risk inconsistent final decisions. Users experience a delay, but the delay may reflect a deliberate safety choice rather than corrupted data.
The reverse is also important: a service that always responds quickly may not provide the particular agreement guarantee the application assumes. Speed is meaningful only alongside the outcome being promised.
Castro and Liskov’s 1999 Practical Byzantine Fault Tolerance paper is a foundational example of a replicated service with explicit failure and timing assumptions. Its familiar fault bound belongs to that model; it should not be copied as a universal rule for all blockchains. PBFT service properties.
Why more copies are not automatically more independence
Suppose a demonstration shows twelve servers. Before treating this as twelve independent safeguards, ask who controls them.
If all servers use the same administrative credentials, the same hosting account and the same software release process, one compromised authority may affect them together. Physical separation can still be useful, but it does not eliminate correlated administrative risk.
Conversely, genuinely independent organisations can still share a vulnerable software dependency. Different operators do not guarantee different implementation failures. Independence has several dimensions: management, infrastructure, software, access and incentives.
This does not mean every system needs maximum diversity in every dimension. Additional diversity brings coordination and maintenance costs. The design should identify the failure it intends to survive and choose meaningful independence for that purpose.
For the museum consortium, independent retention of signed records might protect evidence during an administrator dispute. Separate network paths might help during an outage. These are different protections, and the architecture should name them separately.
Deterministic execution is about repeatable rules
When participants verify the same agreed inputs, they need compatible ways to compute the resulting state. A calculation that unpredictably depends on each machine’s local clock or a changing external website can produce different answers.
Imagine a loan rule saying “approve the request if today’s insurance status is valid,” while each participant fetches a different website response at a different moment. The system has not yet specified one agreed input. Repeating the same rule text does not ensure the same result.
An application can instead use a defined, authorised statement about insurance status as an input. That makes the state transition reproducible, but introduces a dependency on whoever supplies the statement. Repeatable computation does not establish the truth of the external fact.
This is the oracle boundary: outside information needs a specified route into onchain execution. Ethereum’s oracle documentation describes that distinction. The general lesson applies beyond financial applications.
A paper exercise: three clerks and two requests
Use three sheets of paper labelled North, South and West. They represent participants in a fictional shared catalogue. This is an illustration of the problem, not a secure consensus algorithm.
Write two requests on cards: A asks to reserve object 17 for Monday; B asks to reserve the same object for the same time. The rule permits only one confirmed reservation.
Round one: show A then B to North, and B then A to South. Ask each to confirm the first request received. They disagree. The experiment demonstrates that local arrival order alone does not produce a common decision.
Round two: appoint West as the sole coordinator. West chooses an order and sends it to both. Agreement becomes straightforward if everyone accepts West’s authority and West behaves correctly. You have changed the trust arrangement; you have not removed it.
Round three: let West send one order to North and the opposite order to South. Now ask what evidence and communication rules would be needed to detect or prevent inconsistent acceptance. Do not assume that simply “taking a vote” solves every possible message pattern.
The point is to make the design questions visible. A real protocol needs precise rules, authentication, fault assumptions and a justification of its guarantees. This exercise deliberately stops before pretending to supply them.
What the exercise teaches about blockchain
First, replication is not agreement. North and South can each retain an accurate copy of the messages they received while still disagreeing about the accepted order.
Second, authorisation is not ordering. Both requests can come from eligible senders, yet only one can receive the scarce resource under the rule.
Third, a coordinator is not inherently bad. It may be the right solution when its authority is accepted and adequately controlled. The requirement to avoid unilateral control must come from the real application.
Fourth, dishonest or inconsistent behaviour changes the problem. A protocol designed for silent failures should not be assumed to handle equivocation, where one participant sends incompatible statements to different recipients.
Finally, a visible chain of records is only part of the system. What matters is the procedure that makes honest participants accept the appropriate history despite the defined failures.
Read an architecture diagram more carefully
When shown a diagram with nodes, arrows and a chain icon, ask for a concrete request to be traced through it.
Who receives the request first? Who can reject it? Which component chooses an order? Who verifies the result? What evidence does the user receive, and what does that evidence actually establish?
Then cross out one component. Ask which promises still hold. Cross out an access website rather than a validator: can the user reach the network another way? Replace a stopped component with one sending conflicting statements: does the claimed protection change?
Finally, identify the administrator paths that ordinary diagrams omit. Who can change configuration, replace software, add participants or trigger recovery? Those paths often reveal the difference between a distributed deployment and distributed authority.
This is an editorial inspection method. It does not replace a protocol security analysis, but it helps a reader ask useful questions rather than accepting a picture as proof.
Common misconceptions
“Every distributed system is a blockchain.”
No. Distributed storage, computing and services existed before blockchain systems and remain broader categories. A shared folder replicated between offices does not become a blockchain merely because several computers hold copies.
“Consensus means every computer votes on every request.”
No. Roles, participation and decision rules vary. The term describes an agreement problem and its solution under assumptions, not one universal voting procedure.
“A majority can make any transaction valid.”
Not in a correctly understood validation model. Honest validating participants continue to enforce their rules. Consensus influence and the ability to forge authorisation or redefine valid execution are different questions.
“If a system pauses, its data must be wrong.”
Not necessarily. A pause can preserve a safety property when the conditions for progress are missing. Operators must still investigate the cause and communicate what users can safely rely on.
Check your understanding
Question 1: A company runs twenty replicas in several cities but controls them through one administration account. What is clearly distributed, and what may remain concentrated?
Answer: Storage or computation may be distributed. Administrative authority may remain concentrated. More detail is needed before claiming independent control.
Question 2: Two properly authorised requests compete for the same loan slot. What additional problem remains?
Answer: The system must establish an accepted order or conflict-resolution result and apply its rules to the resulting state. Valid signatures alone do not choose the winner.
Question 3: One participant sends different approval messages to different peers. Is this merely a stopped-server failure?
Answer: No. It is inconsistent behaviour within the broader Byzantine fault category. The protocol’s fault assumptions must cover it if protection is claimed.
Question 4: Participants refuse to finalise an update during a communication failure. What should you ask before calling the system broken?
Answer: Which safety property is being preserved, which progress assumptions are missing, and what the recovery procedure requires. A delay and an incorrect accepted result are different failures.
Sources and next steps
- NIST IR 8202: Blockchain Technology Overview, October 2018: introductory architecture and terminology.
- Bitcoin Developer Guide: Block Chain, living documentation: one linked-ledger and validation design; historical details require version checks.
- Castro and Liskov: PBFT service properties, February 1999: explicit replicated-service safety, liveness and fault assumptions.
- Hyperledger Fabric: The Ordering Service, living documentation: ordering responsibilities and implementation-specific fault models.
- Ethereum: Oracles, living documentation: external information and reproducible execution.
Next, draw a trust model for one system: name the actors, their powers and the failures the design assumes. That turns the difference between “many computers” and “shared authority” into something you can inspect.
CHAPTER 34 OF 48 · The extended reading room
34. Why Shared Records Need Trust Models
Continue into the existing eduKateSG lesson: Why Shared Records Need Trust Models. The explanation below is included here for readers who want the longer worked treatment in one place.
A trust model is not a popularity score
A trustworthy person can make a mistake. A reputable organisation can experience an outage. A correctly functioning service can hold more authority than the application actually needs.
A trust model therefore does not simply rank participants as good or bad. It describes specific reliance. For example: “The archive relies on the laboratory’s signing authority to identify the submitted report” is more useful than “The laboratory is trusted.”
The first statement can be examined. Who controls the signing authority? Does the author approve the exact file? What happens if a key is compromised? Can a verifier distinguish an old signature from a new unauthorised submission?
The second statement is too broad. It hides identity, authorisation, scientific quality and operational reliability inside one word.
Begin by replacing “we trust X” with “we rely on X to do Y, and if X fails, Z may happen.” That sentence is the smallest useful unit of a trust model.
The archive example: a real need with several boundaries
Imagine three independent laboratories sharing an archive of research reports. They want readers to identify which organisation submitted a particular version, see later corrections and obtain the referenced document.
They are considering recording report fingerprints and signed submission statements on a jointly maintained ledger. The full reports would remain in a separate document store. The example is hypothetical and does not describe a deployed eduKate service.
The proposal contains several different promises. A fingerprint may help compare a retrieved file with the committed version. A signature may support attribution to a signing authority. The ledger may establish the accepted sequence of submissions. The document store must make the file obtainable.
None of these promises establishes that the experiment was well designed or the conclusions are correct. Scientific review remains a separate process. A trustworthy archive can preserve a flawed report accurately.
A useful trust model keeps these boundaries visible instead of allowing the word “verified” to cover them all.
Start with the claim the reader needs
Before drawing actors and arrows, write the claim a user should be able to rely on.
For the archive, a narrow claim might be: “This file matches the version registered by Laboratory A under its recognised submission authority.” That is different from “Laboratory A’s conclusions are true” or “Every author personally approved publication.”
Next, identify what evidence supports the narrow claim. The verifier needs the file, the fingerprint calculation, the registered value and the relevant authorisation information. If the site supplies only a green badge, the verifier needs to know how the badge was produced and whether its conclusion can be checked independently.
Finally, state the exclusions. The archive may not verify experimental methods, consent for publication or legal ownership of all included material. These omissions are not automatically defects, but they must not be disguised as guarantees.
A clear claim prevents the technical system from taking credit for work it does not perform.
List actors by role, not by brand name
Useful roles in the archive include the report author, laboratory approver, signing service, ledger participant, website operator, document-storage provider and reader.
One organisation may fill several roles. One role may also be divided among several organisations. The trust model should show both situations, because shared branding does not prove shared authority, and different names do not prove genuine independence.
For each role, ask what it can actually do. Can the website operator merely display records, or can it also authorise new entries? Can the storage provider replace a file, delete it or deny access? Can the laboratory administrator rotate the signing key without another party’s approval?
Record powers rather than job titles. “Maintainer” sounds modest, but an account that can replace application code may have greater effective control than a committee with no execution authority.
This is especially important when a product uses a public blockchain. An open underlying network does not reveal who controls the particular application built on it.
Follow one report through the whole path
Creation: an author produces a report. The archive does not automatically observe how the experiments were performed or whether the report includes an error.
Approval: the laboratory decides which version it authorises for submission. If approval happens in an email while a different file is uploaded, the process needs a way to detect the mismatch.
Signing: the appropriate authority signs a statement about the chosen version. The statement should have a clear meaning: submission, approval, authorship and quality certification are different assertions.
Recording: the ledger accepts the statement according to its rules. A valid record says something about accepted authorisation and ordering, not about every scientific proposition inside the report.
Storage: the complete file remains accessible somewhere. A recorded fingerprint is not a backup and cannot reconstruct a missing report.
Presentation: the website shows the record to a reader. The interface might be mistaken or compromised even if the underlying ledger is functioning correctly.
Verification: the reader obtains the necessary evidence and checks the intended claim. The strength of the result depends on the whole path, not its most impressive component.
Distinguish a dependency from a trust assumption
A dependency is something the application needs. A trust assumption states how that thing is expected to behave for a particular guarantee to hold.
The archive depends on document storage. For availability, it assumes that at least one suitable source can supply the file when needed. For integrity, it may rely less on the storage provider if the reader independently checks the file against a trusted commitment.
This distinction reveals useful design opportunities. You may not need to trust the storage provider to avoid replacing bytes silently, provided replacements are detectable and the reader actually performs the check. You still need a way to obtain the correct bytes. Detection and recovery are different capabilities.
Similarly, a reader may avoid relying on a website’s displayed status by independently checking a signed record. But this shifts work and assumptions to verification software, data access and key information. It does not make the system dependency-free.
The goal is to understand where reliance has moved, not merely to claim that it has disappeared.
Examine the powers that ordinary users do not see
Application interfaces usually emphasise routine actions: submit, view and download. A trust model must also cover privileged actions.
Who can upgrade the contract or application rules? Who can pause submissions? Who can change which laboratory keys are recognised? Who can replace the website’s data source or alter the meaning of a verification badge?
Some of these powers may be necessary. Recovery from a compromised key or a serious software bug can require an authorised intervention. The design question is whether that intervention is constrained, visible and reviewable.
For example, a policy could require distinct approvals for changing a laboratory’s recognised signing authority. That reduces unilateral power only if the approvers are genuinely separate and the implementation enforces the policy. Several approvals controlled by one person may offer less protection than the diagram suggests.
Solidity’s security guidance emphasises that contracts operate within a wider technical environment and that application correctness does not remove every risk. Treat review and testing as evidence about defined code and assumptions, not a permanent guarantee. Solidity security considerations.
Ask what happens when an assumption fails
Consider four failures in the archive.
The laboratory key is compromised. An attacker may submit a statement with a technically valid signature. The response needs to distinguish recognising the compromise, changing future authority and explaining affected past records. The ledger cannot infer the moment of compromise merely from the signature.
The website displays a false status. Independent verification might reveal the mismatch, but only if readers can access another route and understand the check. A theoretical verification capability that nobody can use offers limited practical reassurance.
The document store loses the file. The ledger can retain its fingerprint, yet the report may be unavailable. Redundant storage and retrieval testing address a different problem from record integrity.
A report is corrected. The archive needs to connect versions and explain which claim is current. Keeping the old version can support accountability, but access and retention still need an appropriate policy.
These scenarios are not predictions of failure. They are probes: each asks whether the proposed guarantee survives and, if not, whether the consequence is acceptable and recoverable.
Integrity, availability and confidentiality require separate answers
Integrity concerns whether information has been changed in an unauthorised way or whether a presented result matches the relevant evidence.
Availability concerns whether authorised users can obtain the information or service when needed.
Confidentiality concerns which information is revealed and to whom.
In the archive, a publicly visible fingerprint may contribute to an integrity check, but it does not ensure that the report can be downloaded. Publishing the entire report might improve access while violating a restriction on disclosure. Encrypting a file can protect content under the chosen design but introduces key-management and recovery requirements.
Avoid trading one property for another without saying so. “The record is secure” should become a set of bounded statements: which modifications are detectable, how retrieval works, what is exposed and which assumptions each statement needs.
NIST’s Blockchain Technology Overview, October 2018, helps establish the record-integrity vocabulary. It does not remove the need to analyse application-specific privacy and operational arrangements.
External facts need accountable sources
Suppose the archive adds a label saying “peer review completed.” A smart contract cannot simply know that reviewers performed a meaningful review. Some actor or mechanism must supply the relevant statement.
The trust model should identify that source, the statement’s scope and the correction process. Does “completed” mean that a report was sent to reviewers, that comments were received or that a formal decision was approved? Ambiguous inputs produce ambiguous guarantees even when execution is perfectly consistent.
Multiple reporters do not automatically establish independence if all copy the same upstream status. The important question is how the information was obtained and what failure patterns the reporting design covers.
Ethereum’s oracle documentation explains why outside data introduces additional trust assumptions. The archive example applies that boundary to an ordinary information workflow, without assuming that a ledger can judge research quality.
A practical trust-model worksheet
Write one short entry for each important role or component. Use six prompts.
- Role: who or what performs the function?
- Power: which action can it take, and can it act alone?
- Reliance: what behaviour does the user depend on?
- Evidence: how can the relevant action or result be checked?
- Failure: what happens if the component stops, lies or is compromised?
- Response: who can detect the issue, limit harm and recover?
For the document store, an entry might say: it serves report files; it can deny access; users rely on retrieval; file fingerprints allow integrity comparison; deletion can break availability; independently retained copies may support recovery.
For the laboratory approver, the entry might say: it authorises a specific version; users rely on a meaningful approval process; signed statements provide evidence of the authorised claim; compromised authority can produce false submissions; revocation and incident notices govern future handling.
These entries should be brief enough to review but specific enough to challenge. If every response says “the blockchain handles it,” the model is not finished.
Test independence rather than counting participants
A diagram may show five approvers, but all five accounts could be managed by one service. Three storage providers could share one upstream copy. Several oracle reporters could repeat the same database entry.
Ask what shared failure would affect the supposedly independent parties together. Shared credentials, software, hosting, source data and decision-making can each matter.
Independence is also purpose-specific. Two copies in different buildings might protect against a local equipment failure but not against a common administrator deleting both. Separate organisations may constrain unilateral policy changes without protecting against a shared software bug.
A realistic model names the failure it addresses. It does not imply that a larger participant count creates unlimited safety.
Trust models should change when the system changes
A model is useful only while its assumptions describe reality. Revisit it when an application changes its administrator, upgrades important code, introduces a bridge, changes identity providers or moves document storage.
Also revisit it when the claim changes. An archive that originally proved version matching may later advertise certification of scientific quality. That stronger claim requires different evidence and responsibilities, even if the underlying ledger is unchanged.
Keep a dated record of major assumptions and the reason for each change. A short explanation of a new dependency is more useful than retaining an old “decentralised” badge after the operating model has changed.
This is an editorial governance recommendation, not a claim that every application requires the same review schedule. The appropriate trigger depends on the consequences of the change.
Exercise: rewrite three vague claims
Claim A: “Our reports are verified by blockchain.”
Better version: “The archive records a fingerprint and an authorised submission statement for each version; readers can compare a retrieved file with that record. Scientific accuracy is assessed separately.”
Claim B: “No one needs to trust the operator.”
Better version: “Readers can independently check specified records if they obtain the required data and verification tools. The operator still controls the website and its availability.”
Claim C: “Five signatures make the update safe.”
Better version: “The update requires five approvals under the stated policy. Its protection depends on who controls those approvals, what they review and how compromised authority is handled.”
The exercise is not about making every sentence longer. It is about giving the reader a claim they can actually evaluate.
Frequently asked questions
Does a trust model prove a system is secure?
No. It states assumptions and dependencies so that design, testing and review can assess them. A precise model can still describe a weak system; its benefit is that the weakness becomes easier to identify.
Is trust always something to eliminate?
No. Accountable institutions and explicit authority can be useful. The aim is to avoid hidden or unnecessary reliance and to ensure that the remaining reliance fits the task.
Can signatures establish identity?
They support a connection to signing authority. Relating that authority to a real organisation or person requires an identity arrangement. W3C’s credential model distinguishes issuers, holders and verifiers and does not make issuer honesty automatic. Verifiable Credentials Data Model v2.0.
What should a beginner draw first?
Draw the user, the claim they need, the evidence they receive and each actor able to change or withhold that evidence. Add the blockchain only where it actually contributes to that path.
Sources and scope
- NIST IR 8202: Blockchain Technology Overview, October 2018: foundational record and trust concepts.
- Ethereum: Oracles, living documentation: external inputs and additional assumptions.
- Solidity: Security Considerations, living documentation: code, platform and operational risks.
- W3C Verifiable Credentials Data Model v2.0, Recommendation, 15 May 2025: issuer, holder and verifier roles.
A good trust model does not end with “trust the chain.” It explains the whole route from a user’s question to the evidence that supports the answer.
CHAPTER 35 OF 48 · The extended reading room
35. Blockchain History: From Digital Cash to Programmable Systems
Continue into the existing eduKateSG lesson: Blockchain History: From Digital Cash to Programmable Systems. The explanation below is included here for readers who want the longer worked treatment in one place.
The ingredients existed before the familiar platforms
Cryptographic hashes, digital signatures and distributed-system research were not invented all at once for Bitcoin. They addressed different problems: detecting changes, checking authorisation and coordinating machines despite failures.
The Bitcoin paper’s references point to earlier work on digital timestamping, proof of work and related ideas. This matters because a system’s contribution can lie in combining components into a workable arrangement, rather than inventing every component from nothing.
A hash-linked record can reveal changes to a sequence. It does not, by itself, explain how strangers agree on which sequence to accept. A signature can show that the relevant key authorised a message. It does not, by itself, resolve two conflicting uses of the same spendable value.
Those gaps help explain why the later system design mattered. Its history is more informative when read as a response to a coordination problem than as the sudden appearance of an isolated invention.
For this introductory account, there is no need to nominate a single “first blockchain” from every earlier timestamping system. The criteria differ, and broad priority claims can hide more than they explain. Bitcoin’s original paper and references.
The 2008 Bitcoin paper posed a specific question
The 2008 paper described a peer-to-peer electronic cash system. Its central concern was preventing conflicting spends without relying on a central party to maintain the payment history.
The proposal combined signed transactions, a publicly checkable sequence and proof of work. Honest validating participants would still enforce transaction rules; accumulated work helped select among valid competing histories. The design therefore joined authorisation, agreement and incentives rather than treating any one of them as sufficient.
This was a particular system with particular assumptions. It did not establish that all shared records should use the same mechanism, that every participant would be anonymous, or that external services could no longer fail.
The title also matters. The paper was proposing electronic cash, not claiming that every future supply-chain, credential or governance application had already been solved. Later applications drew on parts of the architecture and often changed the trust model.
The first historical discipline is therefore scope: explain what a document actually proposed before attributing every later ambition to it. Bitcoin: A Peer-to-Peer Electronic Cash System, 2008.
A proposal and a running network are different milestones
Bitcoin’s initial implementation appeared in 2009. A paper explains an intended design; running software tests whether participants can operate that design together. The Bitcoin project FAQ identifies 2009 as the initial implementation period.
The distinction is useful far beyond Bitcoin. A proposal can be elegant yet incomplete. An implementation can exist without widespread use. A live network can function while still facing operational, security and governance challenges.
When constructing a timeline, avoid treating “published,” “released” and “adopted” as synonyms. Each answers a different question. Published means a description became available. Released means software or a system version was made available. Adoption needs evidence about actual use by the relevant population.
A classroom timeline should make these event types visible. It becomes easier to understand both innovation and uncertainty when the date is attached to a precise event rather than to an exaggerated claim such as “the problem was solved forever.”
Programmability widened the question
Early Ethereum proposals asked how a shared network could support a broader range of programmed state changes. Instead of designing a separate network for every application, developers could write application logic for a common execution environment.
This did not mean that Bitcoin had no spending conditions or that Ethereum invented the general idea of smart contracts. The historical shift discussed here is the scope and accessibility of a programmable platform for many applications.
Ethereum’s maintained whitepaper page presents an early paper and explicitly warns that it is not a description of today’s system. That warning is valuable historical evidence: the document explains an original vision, while implementation has continued to change. Ethereum whitepaper.
Dates need care. The official technical timeline dates the early introductory paper to 2013, while the maintained whitepaper page labels the archived paper as published in 2014. Rather than collapsing versions and publication history into an unsupported single date, this guide refers to the early proposal and separately dates the network launch.
That approach is not evasive. It is how a careful history preserves what each source actually establishes.
Frontier launched on 30 July 2015
Ethereum’s official technical history dates Frontier to 30 July 2015. It describes the launch as an initial live implementation intended especially for technical users and developers. This is a network milestone, distinct from the earlier proposal. Ethereum technical timeline.
The broader lesson is that a programmable platform creates both opportunities and additional responsibilities. An application can enforce a custom rule, but someone must write the rule correctly, define permissions and understand how it interacts with other contracts.
Imagine a hypothetical shared equipment service that automatically records a reservation when two organisations approve it. Programming makes that condition executable. It does not ensure that the organisations approved the right request, that the equipment exists, or that the application has a sensible correction procedure.
As the space of possible applications expands, the space of possible mistakes expands too. The story is therefore not simply “cash became smarter.” It is that shared execution enabled more varied workflows while making code, inputs and governance increasingly important parts of the trust model.
Enterprise ledgers developed a different branch
Not every organisation wanted open participation. Some wanted a shared system among identified institutions, with explicit membership, data access and business rules.
Permissioned architectures address that different setting. Hyperledger Fabric, for example, separates endorsement, ordering and validation and provides a framework for known participants. It is useful as a design contrast, not as proof that all enterprise projects require a blockchain. Fabric introduction.
The historical point is a branching of requirements. Open participation asks how a system limits influence without relying on one membership office. A consortium asks how known organisations share control while retaining defined responsibilities. Both still require agreement and governance, but the assumptions differ.
This is why labels such as “blockchain 1.0, 2.0 and 3.0” can be misleading when used as a quality ranking. They suggest one ladder of progress where later systems necessarily dominate earlier ones. A more accurate map shows parallel approaches selected for different constraints.
For a learner, the useful question is not “which generation is newest?” It is “which participation and control problem was this design trying to solve?”
Standards made applications easier to connect
A programmable platform alone does not ensure that independently written applications understand each other. Common interfaces help software agree on how to ask for balances, request transfers or identify records.
ERC-20’s specification records a creation date of 19 November 2015 and defines an interface for fungible tokens. ERC-721 records 24 January 2018 and defines an interface for individually distinguishable tokens. These are specification creation dates, not dates when every application adopted them. ERC-20 · ERC-721.
The contribution of standardisation is coordination between software components. A wallet can support a known interface without requiring a completely different integration for every implementation.
But interface compatibility is a narrow achievement. It does not establish that a token has economic value, that an issuer owns an underlying asset or that a linked image will remain available. A token identifier and a legal entitlement are different things.
A useful analogy is a document format: agreeing how to open a file does not guarantee that the file’s claims are correct. In the same way, a shared token interface does not certify the business model built around it.
Scaling changed where work happens
As systems sought to support more activity, designers explored ways to move some work away from the base chain. Channels, rollups and other architectures made different choices about execution, settlement and data.
The important historical theme is separation of responsibilities. Moving computation can reduce work performed directly on one layer, but the resulting system must still explain how users verify results, obtain data and recover or exit after failure.
For example, an optimistic rollup uses a challenge mechanism for proposed results. That design introduces questions about available challengers, dispute procedures and relevant delays. A fast response from an ordering service is not automatically the same event as settlement on the underlying chain. Ethereum’s optimistic-rollup documentation.
This guide does not attach one universal invention or launch date to “scaling.” It is a family of techniques with separate histories and implementations. Nor does the label “layer 2” prove that every system inherits identical guarantees.
The historical lesson is to follow the movement of work and responsibility. A new layer does not make the old constraints disappear; it rearranges them and may improve a particular combination of costs and guarantees.
The Merge changed one network's consensus in 2022
Ethereum’s technical timeline dates the Paris upgrade, associated with the Merge, to 15 September 2022. The transition replaced Ethereum’s proof-of-work consensus with proof of stake. It was a change to that network, not a change applied to every blockchain. Ethereum technical timeline.
A milestone like this illustrates why an old whitepaper cannot serve as a complete current specification. A network can preserve important continuity while changing a major part of its operation. Describing present Ethereum solely through its early mining design would therefore be historically and technically misleading.
The event also shows that protocol history includes coordination among software implementations and participants. Writing a proposal is only one step. A functioning upgrade requires a defined transition and adoption of compatible software.
Avoid adding conclusions the milestone does not support. A change in consensus does not automatically prove that every application is safe, that fees will always be low or that all forms of centralisation have disappeared. Those claims require their own evidence.
Do not confuse a technical timeline with a market story
Prices, funding announcements and publicity can influence attention, but they do not directly measure correctness, useful adoption or resilience.
A system can attract interest before it has a dependable operating model. An unglamorous improvement in recovery or verification may be technically important without producing a dramatic headline. A pilot announcement may describe exploration rather than a live service used at scale.
For this reason, a technical history should record the nature of the evidence. A standard describes an interface. A release announcement identifies a software event. A protocol specification defines rules. An operational study can provide measured outcomes if its method and population are clear.
For readers in mainland China, technical chronology also does not establish regulatory permission. Learning how a network or token standard developed is separate from deciding whether a financial activity is permitted or available. This article provides technical education, not investment advice or instructions for accessing restricted services.
A worked timeline: four statements, four different meanings
Consider this fictional project history. The dates below are invented solely for the exercise.
Year A: a research group publishes a proposal. We can say the design was described publicly. We cannot yet say it operated reliably or had users.
Year B: a test network opens. We can say an implementation was available in a test setting. We still need evidence before claiming production readiness or real-world savings.
Year C: a production service launches. We can say the service became operational under its announced scope. We should not infer that every intended participant joined or that its performance matches a laboratory benchmark.
Year D: an evaluation reports fewer reconciliation errors in one workflow. We can describe the result only with its measurement conditions. It does not prove the same improvement for every institution or every use case.
Now imagine a headline collapsing all four into “the technology transformed the industry in Year A.” The problem is not merely imprecise wording. It substitutes an early proposal for later evidence and broadens one measured outcome into a universal claim.
A careful timeline preserves the distance between intention, implementation and demonstrated result.
How to read an old technical document
Start by identifying the document’s role. Is it a proposal, a specification, an implementation guide or a retrospective account? Then record its date and the system version it describes.
Next, separate durable concepts from changeable parameters. The idea that signatures authorise messages may remain useful, while a fee rule, block limit or upgrade schedule may no longer apply. A historical example can explain a mechanism without supplying today’s operational values.
Check whether the project maintains the document for historical context. Ethereum’s whitepaper warning is a good example of a source telling readers not to mistake the original vision for the current system.
Finally, use a current specification or deployment announcement before asserting that a feature is active. Roadmaps express plans. They are not evidence that activation has occurred, even when a proposed date has passed.
This reading method lets old documents remain valuable without forcing them to answer questions they were not written to answer.
What this history changes about good judgment
First, ask what a design inherited. Reusing cryptographic and distributed-system ideas is normal; the value lies in the resulting guarantees and workable coordination.
Second, ask what a design widened. Programmability expands the set of possible rules, but also the need to inspect code, permissions and external inputs.
Third, ask what a design changed in its assumptions. Permissioned membership, new consensus mechanisms and additional layers alter who must participate and which failures matter.
Fourth, ask what the evidence actually proves. A dated proposal, live upgrade and measured application result are all valuable, but they support different claims.
These habits make history useful for present decisions. Instead of memorising names in order, the learner becomes better at recognising the problem behind a design and the boundary of its evidence.
Check your understanding
Question 1: Does the 2008 Bitcoin paper show that every later blockchain application was already solved?
Answer: No. It proposed a particular electronic-cash design. Later applications changed the goals, execution rules or trust assumptions.
Question 2: Does a token interface standard prove that a token represents a valid legal right?
Answer: No. It standardises software interactions. Legal rights, issuer obligations and asset backing require separate evidence.
Question 3: Did Ethereum’s 2022 Merge move every blockchain to proof of stake?
Answer: No. It changed Ethereum’s consensus. Other networks have their own rules and histories.
Question 4: A roadmap lists an upgrade for a future quarter. What event should you record?
Answer: A planned upgrade, dated to the roadmap observation. Record activation only after checking network-specific deployment evidence.
Frequently asked questions
Is blockchain history just Bitcoin history?
No. Bitcoin is central to this account of open shared-record coordination, but programmable platforms, permissioned systems, standards and scaling approaches developed distinct designs. The wider history also draws on earlier cryptography and distributed computing.
Did smart contracts remove the need for people?
No. People still define rules, authorise actions, provide outside information and govern changes. Executable conditions do not automatically become fair, accurate or legally enforceable conditions.
Should I learn every platform's launch date?
No. Begin with a small set of well-supported milestones and understand what changed. A clear explanation of a design transition is more useful than a long list of dates without context.
Why not identify the single first blockchain?
Different definitions emphasise linked timestamping, distributed agreement, open participation or live deployment. A precise account can explain those contributions without turning a nuanced history into an unsupported priority claim.
Sources and date notes
- Bitcoin paper, 2008: original electronic-cash proposal and references to earlier work.
- Bitcoin project FAQ: initial implementation in 2009; used for that historical point, not financial or legal recommendations.
- Ethereum whitepaper: early proposal, with the maintained page labelling its archived paper 2014 and warning that it is not a current description.
- Ethereum technical timeline: early-paper timeline entry in 2013; Frontier on 30 July 2015; Paris/Merge on 15 September 2022. Paper versions and network events should not be collapsed.
- Hyperledger Fabric introduction: permissioned architecture, living documentation.
- ERC-20, created 19 November 2015, and ERC-721, created 24 January 2018: interface standards, not universal adoption dates.
- Optimistic rollups: one scaling design, living documentation.
The enduring question is not which label came last. It is what changed, why it changed and which assumptions still remain.
CHAPTER 36 OF 48 · The extended reading room
36. Nodes, Clients and Peer-to-Peer Networks
Continue into the existing eduKateSG lesson: Nodes, Clients and Peer-to-Peer Networks. The explanation below is included here for readers who want the longer worked treatment in one place.
A node is not simply another word for a computer
A physical computer can run several software processes. An organisation can operate many computers. A person can use a blockchain application without running a full validating node.
For a clear description, identify the software instance and its role rather than assuming one machine equals one independent participant. “This server runs a node” is often convenient shorthand, but it leaves important questions open.
Which network does the node follow? Which client implementation and version does it run? Does it validate data, serve historical information or perform a specialised consensus role? Who controls its configuration and updates?
A peer is another participant with which the node communicates. An operator is the person or organisation responsible for running it. A client is the implementation of the protocol rules. These distinctions prevent an architecture diagram from mixing software, machines and governance into one symbol.
Ethereum’s nodes and clients documentation provides a concrete description for that network. Other protocols divide their software and roles differently.
Four jobs that should not be confused
A useful starting model separates receiving, checking, retaining and relaying information.
Receiving means obtaining messages from peers or an application interface. A message’s arrival does not establish that its contents are valid.
Checking means applying the relevant protocol or application rules. Depending on the role, this can include authorisation, structure, execution and consistency with the accepted state.
Retaining means storing information needed for operation or later queries. Not every participant keeps the same historical material, and keeping more data is not identical to performing stronger validation.
Relaying means passing eligible information to other peers according to the network’s rules and local policies. A node does not necessarily forward every message it receives.
Block production or consensus voting is an additional role in particular protocols. It should not be silently added to every node in the introductory picture. One participant may perform several jobs, but the jobs still need separate names.
A relay analogy, and where it stops working
Imagine several libraries sharing notices about new catalogue records. Each library exchanges notices with a few others rather than calling every library directly. A notice can travel through several connections until many libraries have seen it.
This illustrates propagation through a peer network. It also shows why the same notice may arrive more than once and why different libraries may see notices at different times.
Now add a checking rule: a library accepts only a notice with the required fields and authorised issuer. Passing a notice along does not make it correct. Every recipient still has work to do.
The analogy has limits. Real blockchain protocols use precise message formats, cryptographic checks and agreement rules. Librarians casually agreeing that a notice looks reasonable is not equivalent to protocol validation.
The example is useful because it separates transportation from acceptance. A message can be widely distributed and still be invalid; a valid message can fail to reach some participants promptly.
Peers do not all connect directly to every other peer
A peer-to-peer network does not generally require each node to maintain a direct connection to every participant. Information can travel over multiple links.
Nodes need ways to discover possible peers and establish useful connections. Bootstrap mechanisms help a new participant find the network. Discovery is not the same as trust: a peer that helps a node connect does not thereby acquire authority to make invalid data acceptable.
The quality of connections matters. A node with limited or misleading information may have a delayed or incomplete view even if its software correctly checks what it receives. Communication and validation address different parts of the problem.
Bitcoin’s P2P network guide describes discovery and message exchange for Bitcoin. Its details should not be copied wholesale into Ethereum or a permissioned ledger, whose networking arrangements can differ.
For a learner, the important question is: how does information reach this participant, and what does the participant independently check afterward?
Follow one fictional update through the network
Consider a teaching network that records changes to a public catalogue. A permitted editor signs a request to add a new entry. The entry is fictional and contains no personal information.
The application submits the request to an access point. That may be a node operated by the application owner or a separate service. The application should not describe this step as final acceptance.
A receiving node performs its applicable checks. If the request fails required conditions, it can be rejected. If it is eligible, the node may retain it as pending and relay it.
Other peers receive and check it. They need not all receive it simultaneously. Their local pending information may differ temporarily.
The protocol’s ordering process considers eligible requests. Relaying the message is not itself the process that establishes its final position in accepted history.
A proposed result is validated. Participants performing the relevant validation check that the resulting record or state follows the rules.
The application reports the appropriate status. “Submitted,” “seen by a node,” “included” and “final under this protocol” describe different stages. The exact stages and guarantees depend on the network.
This simplified story explains responsibilities without claiming to reproduce every protocol’s transaction path.
A mempool is not one global waiting room
A transaction pool, often called a mempool, is a node’s local collection of pending transactions. It is not necessarily a single shared queue visible identically to everyone.
Nodes can receive transactions at different times, apply different local admission or relay policies, have different resource limits, or lack a particular message. A request visible through one access service may not yet be visible through another.
This helps explain a common misunderstanding: “My wallet showed it as pending, so every participant must already have it.” Pending status establishes only what the relevant interface can support. It does not prove universal propagation or eventual inclusion.
Nor does arrival order necessarily determine the final transaction order. The block-production or sequencing process has its own rules and choices. Network propagation and ordering should be analysed separately.
Bitcoin’s networking documentation discusses transaction relay. For Ethereum, its node architecture documentation explains the execution client’s transaction-pool and networking responsibilities.
Bitcoin: full verification and mining are different roles
A Bitcoin full node checks blocks and transactions against its rules. Mining concerns producing proof-of-work block candidates. These functions are related, but running a full node does not by itself mean mining.
This distinction matters when someone claims that only block producers decide what is valid. Honest validating nodes do not have to accept a block merely because a producer created it. Validation rules remain part of the system’s boundary.
Likewise, a person who uses a wallet may rely on another service for network information rather than performing full verification locally. The user experience can look simple while the underlying verification arrangements differ substantially.
Bitcoin’s operating modes guide distinguishes verification approaches. It is useful for understanding roles, while implementation details should be checked against current software documentation before deployment.
The lesson here is conceptual: checking rules, creating blocks and presenting a wallet interface are not interchangeable activities.
Ethereum: execution, consensus and validator duties
In Ethereum’s post-Merge architecture, a node combines execution-client and consensus-client functions. The execution side processes execution-related data and checks state changes. The consensus side follows the chain and consensus information.
Validator software adds duties such as proposing blocks and making attestations under the protocol. A node can follow and validate the network without taking on that validator role. The word “validator” therefore needs care: ordinary validation work and the named consensus participant are not the same description.
Ethereum’s node architecture guide explains these cooperating components and their separate peer-network responsibilities.
Do not use an early Ethereum mining diagram as a complete explanation of this architecture. Software components and responsibilities can change over a network’s history. Also avoid assuming that another blockchain uses Ethereum’s division merely because both systems have nodes.
This article explains roles only. It does not recommend staking or provide participation, funding or setup instructions.
Storage labels need a network and a configuration
Terms such as full, pruned, archive and light describe different aspects of data retention or verification. They are not perfectly uniform across every protocol and client.
A validating node may discard some historical data after checking it, depending on the network and configuration. That does not automatically mean it stopped enforcing the rules. An archive-oriented service may retain additional historical state to answer specialised queries.
A light client uses a more limited set of data and protocol-specific verification methods. Its guarantees depend on what it checks, which proofs or consensus information it receives, and the assumptions of that design.
The practical questions are therefore more useful than the label alone: what data is retained, what is independently verified, which questions can be answered, and what must be obtained from someone else?
Avoid copying a storage figure from an old tutorial into a new deployment plan. Disk requirements, retention strategies and client capabilities are version-sensitive. This guide deliberately gives no universal hardware specification.
An RPC connection is not automatically light-client verification
An application can ask a node or service questions through an API. In Ethereum, JSON-RPC is a common interface for querying information and submitting instructions. The format defines how software communicates; it does not, by itself, prove every returned answer.
A wallet that displays a balance received from a provider may be relying on that provider for the displayed result. A proof-verifying light client performs additional checks under a specific design. Both may feel lightweight to the user, but their verification properties differ.
The right question is not simply whether a wallet connects to “the blockchain.” Ask which service supplies its view, whether it checks supporting evidence and what happens if the provider returns stale information or becomes unavailable.
See Ethereum’s JSON-RPC documentation for the interface and light-client documentation for the distinct verification problem.
Convenient access is useful. It should just be described honestly rather than confused with independent verification.
Why one interface can fail while the network continues
Suppose a catalogue application reports “network unavailable.” Several different things might have happened: the application website failed, its API provider is unreachable, its chosen node is behind, or the underlying network is genuinely having difficulty.
The message alone does not distinguish those possibilities. A user-facing service can be a concentrated access point even when the underlying network has many participants.
A block explorer adds another layer. It indexes and presents information, often in a form that is easier to search. An explorer’s display is not identical to the protocol itself; indexing delays or presentation errors can affect what the reader sees.
For a conceptual diagnosis, separate four questions: can the interface load, can it contact its provider, does that provider have a current view, and is the network progressing under its rules?
This is not a request to expose credentials or change security settings. A beginner can understand the layers without attempting a live repair. The point is to avoid turning one failed access path into an unsupported statement that the whole blockchain has stopped.
Node counts do not count every kind of independence
A crawler may observe reachable nodes, but it does not necessarily see every participant or identify every operator. Several observed nodes can belong to one organisation, while some participants may not be publicly reachable in the same way.
Ethereum’s nodes and clients page explicitly notes that network trackers have limited views and may report different results.
A meaningful comparison also considers client implementations. Many independent operators using the same faulty software can experience a correlated failure. Multiple implementations can reduce dependence on one codebase, but they still need compatible rules and careful maintenance.
Do not turn this into a simple claim that more clients or more nodes always makes every outcome better. Diversity has a purpose: reducing specified concentrations and shared failure modes. It should be evaluated alongside actual operation and governance.
A useful report states what was measured, when it was measured and what the measurement cannot establish.
A safe paper exercise: relay, check and display
Prepare five cards labelled Editor, Node A, Node B, Access Service and Reader. Draw a connection from Editor to A, from A to B, and from A to the Access Service, which supplies the Reader.
Give the Editor a fictional update with three required fields: catalogue number, new title and authorised editor mark. Ask A and B to check the fields before accepting the update into their local pending lists.
Test one: remove the editor mark. Relaying the card to B should not make it valid. This distinguishes propagation from checking.
Test two: delay delivery to B. A and B temporarily have different pending lists. This illustrates why local visibility is not universal visibility.
Test three: stop the Access Service from answering while A and B continue working. The Reader loses the usual view, even though the two nodes still communicate.
The exercise is intentionally incomplete. It does not define a secure consensus protocol, cryptographic signature scheme or production network. Its job is to make three separate responsibilities visible: carry information, check information and present information.
Questions worth asking about any node diagram
- Which software instance does each symbol represent?
- Which organisation operates it and controls updates?
- What messages does it receive and relay?
- Which rules does it independently enforce?
- What data does it retain, and which queries can it answer?
- Does it propose blocks or perform a separate consensus duty?
- Which service supplies the end user’s view?
- What happens when a peer, client or access provider fails?
A diagram that answers these questions is more useful than one that simply surrounds a chain icon with many identical computers.
Check your understanding
Question 1: Does every node mine or propose blocks?
Answer: No. Network participation, validation and block production are different roles. Their combinations depend on the protocol and configuration.
Question 2: Does a pending transaction exist in one global queue?
Answer: Not necessarily. Nodes maintain local pending information and can differ in what they have received or retained.
Question 3: Is an API response automatically a cryptographic proof?
Answer: No. Communication format and verification are different. Inspect what evidence the application checks rather than assuming that an RPC connection proves the answer.
Question 4: If an explorer is unavailable, must the chain be stopped?
Answer: No. The explorer is an access and presentation service. Its failure alone does not establish the status of the underlying network.
Frequently asked questions
Is a client the same as a wallet?
Not necessarily. Here, client means a protocol implementation. A wallet manages the user’s interaction and authorisation and may obtain network data from another service. Software products can combine functions, so inspect their actual roles.
Does storing all history make a node more honest?
No. Retention and honesty are different properties. Extra history can support queries and analysis, but the operator, software and verification process still matter.
Do I need to run a node to learn blockchain?
No. Start with roles, message paths and verification assumptions. The paper exercise is enough to explore the core distinctions without a live account or installation.
What should I study next?
Examine how a transaction changes state and how a block records an ordered set of changes. That connects the network’s message movement to the meaning of the ledger.
Sources and scope
- Ethereum: Nodes and clients: software, roles and limits of network observations.
- Ethereum: Node architecture: execution, consensus and validator responsibilities.
- Ethereum: Light clients: verification with limited data.
- Ethereum: JSON-RPC API: the application interface.
- Bitcoin: P2P Network: discovery and message relay in Bitcoin.
- Bitcoin: Operating Modes: verification approaches; historical implementation details require rechecking.
When reading a network diagram, ask what each participant checks, not just how many computers appear on the page.
CHAPTER 37 OF 48 · The extended reading room
37. Blocks, Transactions and the Meaning of State
Continue into the existing eduKateSG lesson: Blocks, Transactions and the Meaning of State. The explanation below is included here for readers who want the longer worked treatment in one place.
State answers “what is true inside the system now?”
Suppose a teaching laboratory has five identical demonstration kits available for reservation. Its software records available kits and reservations held by each group.
At the start, the state is: five available, none reserved by Group A and none reserved by Group B. This is a deliberately small teaching model, not a live inventory system.
The state is not the entire story of how the laboratory arrived there. Two systems can display five available kits after very different histories: perhaps nobody booked anything, or perhaps several bookings were made and later released.
History answers what was recorded over time. State answers the current result under the model’s rules. Both can be useful, but they answer different questions.
Also notice the boundary: the software’s state says five kits are recorded as available. It does not prove that five intact kits are physically on the shelf. An inspection or accountable inventory process is still required for that external claim.
Define the rules before processing instructions
Our toy system has a fixed total of five kits and two actions: reserve and release. It uses whole positive quantities only.
A reserve request succeeds only when the group is authorised and enough kits remain available. A successful request reduces the available quantity and increases that group’s reserved quantity by the same amount.
A release request succeeds only when the group is authorised and has reserved at least the quantity being released. A successful release reduces its reservation and increases availability by the same amount.
For this exercise, each instruction has a unique identifier and cannot be applied twice. We ignore fees, physical loss, administrator stock adjustments and every other production concern. Those exclusions keep the arithmetic clear; they are not recommendations for a real deployment.
The model also has an invariant: available kits plus all reserved kits must equal five, and no quantity may be negative. An invariant is a condition the permitted transitions are meant to preserve.
This small rulebook is more informative than simply saying the system is “secure.” It lets a learner decide whether a proposed change is allowed.
Apply three requests, one at a time
Request A1: Group A reserves three kits. Five are available, so the request succeeds. The new state is two available, three reserved by A and zero by B.
Request B1: Group B reserves three kits. Only two are available. Under our rule, this request fails. The reservation state stays at two available, three for A and zero for B.
Request A2: Group A releases one kit. A has three reserved, so releasing one is allowed. The new state is three available, two for A and zero for B.
Now check the invariant: three plus two plus zero equals five. The state remains valid under the toy rules.
The failed B1 request is still useful information for the person who submitted it, but it did not create a reservation. A system might retain a failed-request log separately. Our example does not dictate how a particular blockchain records failures.
The important reasoning pattern is consistent: begin with the previous state, check the instruction, apply the permitted change and inspect the resulting state.
The same requests can produce a different result in another order
Return to the original state with five available kits. This time process B1 before A1.
B1 reserves three for B, leaving two available. A1 then cannot reserve three for A. The result differs from the earlier sequence, even though the requests themselves have not changed.
This is why ordering matters for shared state. Valid authorisation gives a group permission to request an action; it does not guarantee that the necessary resource will still be available when the action is evaluated.
Some operations can be reordered without changing the result. Others cannot. A system designer must understand which case applies rather than assuming every update is independent.
Ordering also raises a separate fairness question. The fact that a protocol consistently selects an order does not prove that the order matches the application’s preferred allocation policy. “Everyone agrees on the result” and “the allocation is fair” are different claims.
The example is about scarce-resource coordination, not a recommendation to tokenise laboratory equipment.
A transaction is an instruction, not a promise of success
A blockchain transaction can request a transfer, contract execution or another protocol-defined action. The exact fields and authorisation method depend on the network.
A useful conceptual description includes who is authorising the action, what operation is requested, which data it uses and what prevents inappropriate reuse. Real transaction formats add their own network-specific details.
A signature does not guarantee that the operation succeeds. The requested change may be invalid against the state at execution time, or execution may encounter a condition that causes it to fail under the platform’s rules.
Nor is every failure identical. A malformed or unauthorised request can be rejected before inclusion. In some platforms, a validly included transaction can execute and revert. That distinction matters because the protocol can still record execution status and charge for consumed resources.
Ethereum’s transaction documentation provides one concrete model. Do not assume that its failure handling or fields apply unchanged to every chain.
Blocks organise a shared sequence
In many blockchains, transactions are grouped into blocks. The block’s structure identifies or commits to the relevant contents and links to a predecessor according to the protocol.
A block is not merely a page with arbitrary text pasted onto it. It has a defined format, and validating participants check applicable rules. The order of transactions within a block can affect the resulting state, just as order affected the kit reservations.
Imagine a toy block containing the successful instruction A1 followed by A2. Starting from the initial state, applying those instructions gives three available kits and two reserved by A. A verifier can repeat the calculation from the same starting point.
This grouping does not make the instructions truthful about the physical world. It organises agreed changes to the recorded model. It also does not mean that every node immediately sees or accepts a proposed block.
Ethereum’s blocks documentation explains its own batching and data structures. The terminology is useful, but a specific block’s fields must be interpreted in its network and protocol version.
History can be replayed only with the right starting point and rules
To reproduce a state, a verifier needs more than a list of operation names. It needs an appropriate starting state, the applicable rules and the relevant ordered inputs.
If one reader starts with five kits and another starts with six, the same reservation sequence will produce different availability. If one implementation allows releasing kits that were never reserved while another rejects it, they are not following the same rulebook.
Versions also matter. Suppose a later rule permits an administrator to add stock. Replaying later updates with the old two-action model is no longer sufficient. The verifier needs to know which rules applied at each relevant point.
This is why “the data is public” does not automatically mean “any conclusion shown by a website is independently verified.” A reader needs enough context and a correct verification method.
The toy example makes that requirement visible without requiring a full protocol implementation. Agreement about bytes and agreement about their meaning are connected through rules.
A state commitment is not the state written out in full
A system can use a cryptographic commitment, such as a root hash, to represent a larger structured dataset. This can support checking that data or a proof corresponds to the committed structure.
The commitment is not a human-readable inventory report, and it is not a compressed backup from which the entire dataset can simply be recovered. The underlying data and the appropriate verification procedure still matter.
Also ask which state is being committed to. A multi-component protocol can contain different state objects and commitments. A consensus-layer state and an application’s displayed balance are not interchangeable merely because both are called state.
For the kit model, writing down a fingerprint of the complete state would not tell a reader how many kits A holds. The reader would need the state data, or an appropriate proof about a specified part, to check that claim.
A valid proof of one statement should not be expanded into a guarantee that every external assertion is true or that every historical file remains available.
Account state and unspent outputs describe value differently
An account-based model maintains information associated with accounts, such as balances and other state. A transaction can update those values according to the rules. Ethereum is a prominent example.
Bitcoin uses unspent transaction outputs, often abbreviated UTXOs. A transaction consumes eligible outputs and creates new outputs under spending conditions. A wallet’s displayed balance can be derived from the outputs it can spend.
Both models can describe valid changes, but their representations differ. It is misleading to assume every blockchain simply edits a bank-like balance column, or that every transaction consumes the same kind of object.
For this introductory lesson, the important point is that state has a model. You cannot correctly interpret a transfer merely by recognising the word “transaction.” The meaning depends on what the system stores and how its rules change it.
See Bitcoin’s transaction guide and Ethereum’s account documentation for the respective starting points. Neither model alone determines a system’s privacy or degree of decentralisation.
Current state and historical evidence support different questions
A reader asking “how many kits are available now?” usually needs current state. A reader asking “why did Group B’s request fail?” needs the relevant prior state, request order and rules.
A current total may hide an important sequence. If a reservation was created and later released, the current availability can match the starting value even though meaningful events occurred in between.
Conversely, a long transaction list can be difficult to interpret without computing its effect. A website may present a simplified result, but the underlying calculation should be distinguished from the raw history.
This distinction also explains why different node configurations support different queries. Retaining or reconstructing historical state can be a separate capability from tracking the current network state. The appropriate data source depends on the question.
Before accepting a screenshot as evidence, ask which time, state and interpretation it represents. “The latest balance” and “the balance before a disputed action” are not the same observation.
Corrections should not be confused with erasing history
Suppose Group A reserved three kits accidentally and should have reserved two. In our toy model, the authorised release of one kit can correct the current reservation while preserving the earlier request in the history.
That is different from silently editing the old request to say two. The first approach explains a sequence of actions; the second changes the historical account presented to a reader.
A real application needs to specify who can correct what, how reasons are recorded and what information should be retained. Keeping every mistake forever is not automatically desirable, particularly when personal information is involved.
The broader lesson is that an append-oriented history does not prevent all forms of correction. It changes how a correction is represented and who must authorise it.
Do not confuse this application-level correction with a chain reorganisation. A reorganisation changes which branch is locally accepted under the network’s fork-choice rules; a new corrective transaction is a different mechanism.
A block's presence is not a universal finality guarantee
A transaction appearing in a block establishes a different fact from the transaction merely being submitted. But inclusion does not have the same finality meaning in every protocol.
A node may change its view of recent accepted history according to the protocol’s rules. Applications therefore need to interpret confirmations and finality using the actual network’s conditions, not a universal slogan such as “one block means permanent.”
This also affects state. A displayed current result is tied to the history the application is using. If that history changes, the derived result may change too.
The right response is not to conclude that records are useless. It is to state which stage has been reached and what assumptions support relying on it. Submission, inclusion, execution success and finality should remain separate labels.
A production system must decide what evidence is sufficient for its own consequences. This guide supplies concepts, not a settlement policy for financial or legal decisions.
Replay exercise: calculate before checking the answer
Start again with five available kits and no reservations. Use the same rules: positive whole quantities, authorised groups, enough available kits for reservations, enough held kits for releases, and no repeated instruction identifiers.
Process this sequence:
- A reserves two kits using instruction X1.
- B reserves two kits using instruction X2.
- A requests to release three kits using instruction X3.
- B releases one kit using instruction X4.
- The system receives X1 again, with the same identifier and contents.
For each step, record whether it succeeds and the resulting available, A-reserved and B-reserved quantities. Do not merely add and subtract every number; apply the rules first.
Worked answers
After X1 succeeds: three available, two for A, zero for B.
After X2 succeeds: one available, two for A, two for B.
X3 fails because A has only two reserved and cannot release three. The state remains one, two and two.
After X4 succeeds: two available, two for A, one for B.
The repeated X1 is not applied again under the exercise’s unique-identifier rule. The final state remains two available, two for A and one for B. The invariant holds: two plus two plus one equals five.
This is a teaching model of rule application and duplicate handling. Actual networks use their own transaction identifiers, counters, spending conditions and replay protections.
Common mistakes to avoid
Treating a request as a result. “Reserve three” is not evidence that three were reserved.
Ignoring the starting state. The same instruction can succeed or fail depending on the resources and permissions available when evaluated.
Ignoring order. Competing requests can produce different outcomes when reordered.
Equating a hash with a backup. A commitment supports checking; it does not automatically supply missing data.
Assuming every failed action disappears without cost. Protocols differ, and included execution can fail while still consuming resources.
Treating current state as the whole history. Two identical current totals may result from very different sequences.
Frequently asked questions
Is a transaction always a payment?
No. It can request many kinds of protocol-defined change, including an application action or a recorded statement. Its meaning depends on the system.
Does a block contain the entire world state?
Not necessarily. Block structures differ and can contain commitments to state rather than listing all state data directly. Interpret the actual fields in the relevant protocol.
Can two people compute different states from the same history?
They can if their starting states, rules, inputs or implementations differ. Correct verification requires the appropriate shared context, not just the same visible transaction names.
What is the next useful concept?
Study which participants are allowed to read, submit, validate and change rules. Those permissions explain how different blockchain architectures organise the state-transition process.
Sources and scope
- Ethereum: Transactions: one transaction model and lifecycle.
- Ethereum: Blocks: ordered batches and protocol-defined block structures.
- Ethereum: Accounts: account-based state concepts.
- Bitcoin Developer Guide: Transactions: unspent outputs, spending conditions and new outputs.
- Ethereum: Gas and fees: resource consumption and fees, including failed execution.
A useful mental model is: begin with state, apply an authorised instruction under the rules, then check the new state. A blockchain adds a shared, verifiable history around that process.
CHAPTER 38 OF 48 · The extended reading room
38. Public, Private and Consortium Blockchains
Continue into the existing eduKateSG lesson: Public, Private and Consortium Blockchains. The explanation below is included here for readers who want the longer worked treatment in one place.
Begin with four separate permission questions
Who can read?
A system may expose all records, selected fields, proofs about records or only a public summary. Reading through one website may also differ from obtaining the underlying data needed for independent verification.
Ask what the reader actually receives. “Public dashboard” is not necessarily equivalent to “publicly verifiable complete history.” The dashboard may omit details or depend on a service’s interpretation.
Who can submit?
Submitting a request is different from making an accepted change. A network may let anyone send a protocol-valid transaction while a particular application accepts actions only from approved accounts.
Identify both the network-level entry conditions and the application’s permissions. An open platform can host an application with restricted roles.
Who can validate or order?
These roles concern checking proposed changes and participating in how the accepted sequence is established. The network may use open protocol-based participation or a defined group of admitted organisations.
Do not assume that every reader is a validator, or that every person allowed to submit a form operates a consensus component.
Who can change the rules?
Look for software upgrades, membership changes, administrator keys, pause powers and recovery procedures. These permissions may sit outside the interface ordinary users see.
A system with widely readable records can still concentrate these powers. Conversely, several institutions can share important rule changes even if access to business data remains limited.
What the broad labels usually mean
Public blockchain commonly describes a network whose ledger or participation is broadly open. Because usage varies, follow the label with the specific reading, submission and consensus arrangements.
Private blockchain commonly describes a restricted network under the control of one organisation or a limited administrative setting. It may use multiple machines while keeping governance concentrated.
Consortium blockchain commonly describes a system governed or operated by a group of organisations. It usually involves permissioned participation in important roles, but the exact division of control must be checked.
Permissionless refers to participation without a central membership approval for the specified protocol role, subject to protocol conditions. Permissioned refers to roles granted through a membership or authorisation arrangement.
These terms overlap rather than forming one perfectly exclusive classification. A publicly readable permissioned ledger is possible. So is a consortium with private data shared only among selected members.
NIST’s Blockchain Technology Overview, published October 2018, is a useful foundation for permission models. The safest description still states concrete rights instead of relying only on a category name.
Public does not mean every action is unrestricted
Consider a hypothetical document registry deployed on an openly accessible chain. Anyone can inspect its public records, but only a recognised issuer can register a certificate.
The underlying network’s participation rules and the registry’s application permissions are different layers. A person may be able to submit a transaction that calls the application, yet the application can reject the requested action because the caller lacks the required role.
The same distinction applies to administration. A public contract may contain an upgrade mechanism controlled by a specified account or group. Public visibility makes that power potentially inspectable; it does not remove it.
A useful description would say: records are publicly visible, issuance is restricted to approved issuers, and upgrades require a named approval arrangement. “It is public, so nobody controls it” would hide the most important facts.
Also avoid treating permissionless as a legal conclusion. It is a statement about protocol membership, not a declaration that every activity is legally permitted in every jurisdiction.
Private does not automatically mean confidential
A restricted network can still reveal information to more participants than the application requires. If every admitted operator receives a full document, preventing outsiders from joining does not keep that document private from members.
Confidentiality needs its own design. Which fields are shared? Which organisations receive them? Can administrators or infrastructure providers access them? How are keys, backups and exports handled?
Encrypting data raises additional questions rather than ending the analysis. Who has the decryption keys? Can access be revoked effectively for future information? What metadata remains visible? A label cannot answer these details.
Hyperledger Fabric’s private-data documentation describes one way selected organisations can share private data while hashes are recorded for verification by other channel participants. The actual policies and data flows determine what is disclosed. Fabric private data.
The general lesson is to specify the audience of each piece of information. “Private chain” is too broad to serve as a complete privacy explanation.
A consortium is an agreement about institutions, not just servers
Imagine five organisations shown as five nodes on a diagram. If one vendor controls every administrator account and can replace all software without their approval, the picture may exaggerate shared authority.
A meaningful consortium arrangement should explain what each institution controls and which decisions require joint approval. Admission of a new organisation, removal of an existing member, application upgrades and emergency action may follow different policies.
The arrangement also needs continuity. What happens if one member leaves, stops paying for infrastructure or loses its signing authority? Can remaining members proceed under the agreed rules? Can the departing member retain the records it is entitled to keep?
Membership is therefore more than a list of names. It connects identity to roles and enforceable permissions. Fabric’s Membership Service Provider documentation illustrates that connection between recognised identities and authorised roles. Fabric membership.
An institution can be accountable in the real world and still make mistakes in software operation. Consortium design should address both organisational responsibility and the protocol’s technical fault model.
Worked example: an environmental observation network
Suppose three research institutes want to maintain a common record of river-monitoring observations. Each operates sensors, and the public should be able to inspect published measurements and later corrections. This is a hypothetical learning example, not a claim about an existing project.
The first requirement is public access to selected observations. The second is that only recognised institutes can submit official records. The third is that no single institute can silently change the admission policy. None of those requirements implies that every raw operational document must be public.
A possible permission map is: the public reads published observations; institute accounts submit measurements; admitted operators perform specified network roles; major membership changes require joint approval. The design must still specify the actual agreement mechanism and fault assumptions.
Notice what remains unsolved. A sensor can be miscalibrated. An institute can submit a misleading interpretation. A ledger can preserve the authorised submission without independently proving that the measurement reflects the river accurately.
The category might be described as a publicly readable consortium ledger. That phrase is more useful than choosing either “public” or “private” and pretending the other dimension does not exist.
What should stay separate?
Sensor maintenance records might contain operational details intended only for the institutes. A public summary may link to evidence of calibration without disclosing every internal document.
The policy should explain exactly which evidence is sufficient for public scrutiny. Hiding all supporting information behind a public number may weaken accountability. Publishing everything may disclose unnecessary information. The design must justify the boundary rather than assume maximum exposure is always best.
What happens when a measurement is corrected?
The system can record a correction and its reason while preserving the earlier published observation. The correction authority should be explicit: can the original institute act alone, or is review required?
This is a governance question as well as a data question. A well-designed record format cannot substitute for an agreed responsibility to investigate mistakes.
Compare three variants of the same project
Variant A: one institute runs the service. The other institutes submit signed observations, but the operator controls the official database and access interface. This can be a sensible arrangement if that authority is accepted. It should not be marketed as joint control merely because several organisations contribute data.
Variant B: the institutes share a permissioned ledger. Roles and changes are governed by agreed policies. This may reduce unilateral control over specified actions, but introduces membership, operator coordination and recovery responsibilities.
Variant C: selected commitments are placed on a public chain. The full observation service remains elsewhere. Public commitments can support particular integrity checks, but do not automatically make source data available or give the public control of the application.
These variants are not a ranking. The best fit depends on the required evidence, participation, privacy and operating burden. Each can also be implemented badly.
The exercise demonstrates why a system can combine public and restricted components. The useful analysis follows the record and its permissions rather than demanding one label for every layer.
Governance remains important in open networks
An open network still needs ways to develop software, discuss protocol changes and coordinate adoption. Openness does not mean the absence of governance.
Ethereum describes its protocol governance as an offchain process involving several stakeholder groups. That is different from assuming that every protocol decision is made by an onchain token vote. Application governance can follow still other arrangements. Ethereum governance.
For a reader, this means the governance question should be asked at the correct layer. Who changes the base protocol? Who upgrades the application? Who controls the interface? Who can alter membership in a specific service?
A claim about one layer cannot automatically be transferred to another. An application on an open network may have a single administrator. A jointly governed application may depend on one website for ordinary access.
Clear classification describes these combinations without declaring that one word settles every concentration of power.
Fault tolerance is not determined by the category name
A permissioned network can use different consensus and ordering designs. A public network can have different participation resources and finality rules. The labels alone do not specify how many failures can be tolerated or what happens during a partition.
For example, a design that tolerates stopped servers should not be assumed to tolerate arbitrary conflicting messages. A consortium’s known identities may support accountability, but they do not make dishonest or faulty behaviour technically impossible.
Similarly, broad participation does not ensure that every operator is independent or that a network has no concentrated infrastructure dependencies.
Ask for the actual failure model, decision rules and recovery procedure. When a performance claim is made, also ask what confirmation or finality condition the measurement uses.
This avoids comparing a fast acknowledgement in one system with a stronger settled outcome in another, or assuming that restricted membership automatically makes a system safer.
A practical classification card
For any proposed system, complete five sentences.
- Readers can obtain… Specify the data, proof or summary and any access restriction.
- Submitters may request… Identify recognised roles and application-level permissions.
- The accepted sequence is maintained by… Name the relevant operators or participation mechanism.
- Rules and membership can change when… Describe the real approval and execution powers.
- Information is withheld from… Identify the confidentiality boundary and the method supporting it.
For the river example: readers obtain published observations and corrections; institute accounts submit official measurements; admitted operators maintain the sequence; membership changes require the agreed joint process; internal maintenance details are shared only under a defined policy.
This description remains useful even if different people disagree about whether to call the system public, private or consortium. The permissions are explicit enough to evaluate.
Questions that expose misleading labels
If a vendor says “public,” ask whether that refers to a website, the underlying ledger, transaction submission or consensus participation.
If it says “private,” ask private from whom. Outsiders, other members, the vendor and administrators are different audiences.
If it says “consortium,” ask which decisions a single organisation cannot make alone and how that restriction is enforced.
If it says “permissionless,” ask which role does not require membership approval and what protocol conditions still apply.
If it says “decentralised,” ask about operations, software, governance, access and data sources separately.
A precise answer may reveal a sensible hybrid. It may also reveal a conventional managed service with blockchain terminology attached. Either way, clarification is more useful than arguing from labels alone.
Classification exercise
Scenario 1: Everyone can read the ledger, but only five admitted organisations can operate its ordering service. Is public visibility enough to call every role permissionless?
Answer: No. The system has public reading and permissioned ordering. Describe both dimensions.
Scenario 2: A contract runs on an open chain, but one administrator can upgrade its application logic. Does the open chain remove that administrator’s power?
Answer: No. Base-network participation and application control are different layers. Inspect the upgrade authority directly.
Scenario 3: A consortium allows every member to download every business document. Does the word private guarantee confidentiality between members?
Answer: No. Restricting outsiders does not restrict admitted members. Data-sharing rules need a separate design.
Scenario 4: One company operates twenty nodes. Does that alone establish a consortium?
Answer: No. A consortium concerns a group of organisations and their governance or operational arrangement, not simply a large node count.
Final task: Write a five-sentence classification card for a fictional school-library inventory network without using the words public, private or decentralised. Focus on roles and permissions; do not include real student information.
Frequently asked questions
Is a consortium always permissioned?
It commonly uses permissioned roles, but the term alone does not specify every layer. A consortium might operate an application that anchors information to an open network. Identify the actual permissions.
Can a public network carry confidential applications?
Applications can use techniques that limit disclosure, but confidentiality is not automatic. Analyse public inputs, metadata, keys and the exact mechanism rather than assuming the public-chain label answers the question.
Is a private chain always pointless?
No universal answer follows from the label. Ask what verification or coordination requirement it meets and compare it with a well-designed database or signed log. A claimed benefit needs a concrete explanation.
Does permissionless mean anyone can legally use any service?
No. It describes a protocol’s membership arrangement. Applicable rules and service availability are separate questions that depend on the activity and jurisdiction.
Sources and scope
- NIST IR 8202: Blockchain Technology Overview, October 2018: foundational permission models and terminology.
- Hyperledger Fabric: Introduction: permissioned architecture.
- Hyperledger Fabric: Membership Service Provider: recognised identities and roles.
- Hyperledger Fabric: Private data: selective sharing within a permissioned setting.
- Ethereum governance: protocol governance distinct from application-level arrangements.
The best classification is the one that makes powers and boundaries visible. A label is the beginning of that explanation, not its conclusion.
CHAPTER 39 OF 48 · The extended reading room
39. When a Blockchain Is Useful and When It Is Not
Continue into the existing eduKateSG lesson: When a Blockchain Is Useful and When It Is Not. The explanation below is included here for readers who want the longer worked treatment in one place.
Complete the benefit sentence without a buzzword
Try this sentence: “The system helps these participants do this specific task with this checkable improvement, because no single participant can perform this unwanted action alone.”
If the idea concerns verification rather than shared control, use: “The recipient can check this particular statement using this evidence without depending solely on this service’s current display.”
These are editorial prompts, not definitions of every valid blockchain application. Their purpose is to replace vague benefits with claims that can be tested.
For example, “make records transparent” is incomplete. Transparent to whom? Which records? Can the reader verify omissions or only inspect what the operator chooses to show? What consequence improves because of that access?
Likewise, “eliminate trust” is usually too broad. A more useful claim identifies one dependency being reduced while naming the dependencies that remain.
If the sentence cannot be completed, the next step is usually better problem research, not selecting a chain.
Three patterns that deserve serious evaluation
Independent parties need shared control of updates
Several organisations may need a common history while refusing to give one member final unilateral control. A jointly governed ledger can be a candidate if its actual permissions support the intended balance.
The requirement must be specific. “Many organisations use our website” does not establish shared-control needs if they all accept the same operator and its ordinary audit process.
Recipients need evidence they can check independently
A system may benefit from publishing commitments or records that recipients can compare with received documents or events in the system. The contribution is a defined verification capability.
This still does not automatically require a full blockchain application. Signed documents, independently retained receipts or verifiable credentials may provide enough evidence with less complexity.
Open participation is part of the purpose
Some systems are designed so that participation in specified roles does not depend on a single membership authority. That requirement can justify examining a permissionless architecture, subject to its protocol conditions and application constraints.
Open participation is not automatically the right goal for every workflow. A private internal service may gain little from it while taking on additional privacy and operating challenges.
Wüst and Gervais’s 2018 paper Do you Need a Blockchain? offers a requirements-led framework centred on writers and trust arrangements. Use it as a starting question set, not a current performance ranking of every platform.
Three weak-fit patterns
The problem is mainly poor input quality
If staff enter incorrect serial numbers or sensors are miscalibrated, preserving the submitted record does not correct the input. Better capture, review and accountability may solve more of the problem than a new ledger.
A blockchain might still help trace who submitted a disputed entry. That is a narrower benefit than guaranteeing the entry was true.
One accepted operator already has legitimate authority
A single organisation may own the process, control the data and be responsible for corrections. A conventional system with appropriate permissions and audit records should be a serious starting point.
There could still be a need for external verification. But it must be identified rather than assumed. Adding several nodes controlled by the same operator does not automatically change the authority structure.
The project promises permanence without a retention plan
A durable commitment does not ensure that a linked document remains obtainable. Nor does permanent disclosure automatically benefit the people described in a record.
Before preserving information broadly, decide what should be retained, who needs it and how errors or sensitive content are handled. “We can never remove anything” is not a complete information policy.
Separate the onchain contribution from the whole outcome
Consider a claim that a blockchain will make a supply process reliable. That outcome can depend on inspections, identification, transport, storage, authorisation and dispute handling.
The ledger may improve one part: keeping an agreed sequence of signed statements. The physical goods can still be damaged, substituted or incorrectly described. A reliable project must connect the digital record to accountable real-world procedures.
The same reasoning applies to certificates. A signature can help identify the issuer of a statement, but does not automatically make the issuer credible. W3C’s Verifiable Credentials Data Model v2.0 separates issuer, holder and verifier roles and permits multiple registry arrangements; blockchain is optional.
A good proposal names the contribution precisely and then shows how it fits into the larger process. It does not claim the entire outcome on behalf of one technical component.
Worked case: disputed design revisions
Imagine three independent engineering teams collaborating on a set of non-sensitive demonstration drawings. They repeatedly disagree about which revision was approved before a handover. This is a fictional planning exercise, not an account of a deployed project.
Their initial proposal is “put all drawings on blockchain.” That says little about the actual problem and may create unnecessary storage and access complications.
A better problem statement is: each team needs evidence of the exact revision it approved, the scope of that approval and the order of later corrections. They also need reliable access to the corresponding files.
Now separate the requirements. File matching can use fingerprints. Approval needs an authorised statement with clear meaning. Joint history may need shared control or independent retention. File retrieval needs storage. None of these alone proves the drawing is technically correct.
The strongest candidate is the smallest arrangement that meets those requirements. It could be signed approvals in an existing document system. It could be a shared audit service. It could include a permissioned ledger if unilateral rewriting remains an important unresolved risk.
The team should compare those possibilities before assuming that every byte of every drawing belongs onchain.
Turn the case into a testable hypothesis
A useful hypothesis might say: “Independent retention of approved-version evidence will reduce disputes about which file was approved, without making corrections or retrieval unacceptably difficult.”
Notice that the hypothesis does not require blockchain to win. It defines an improvement and leaves room to test how best to achieve it.
Choose a baseline. How does the team currently record approvals? Are disagreements caused by missing records, unclear wording, inaccessible files or genuinely conflicting decisions? A new ledger solves little if the real issue is that “approved” means different things to different teams.
Then choose a comparison workflow using synthetic documents. Have participants approve versions, make a correction and retrieve the evidence later. Evaluate both the ordinary system and the proposed ledger arrangement against the same tasks.
Do not invent savings percentages before measuring. A pilot should produce evidence, not merely decorate an already fixed decision.
Measure the user outcome, not just the transaction counter
For the revision case, useful observations include whether a reviewer can identify the approved file, how long it takes to resolve a deliberately introduced version dispute, whether participants understand the approval wording and whether files remain retrievable after a service interruption.
These are proposed measures, not reported results. They relate directly to the problem the team wants to solve.
A raw transactions-per-second number may matter for some workloads, but it does not answer those questions. Nor does the number of stored records show whether anyone can use the evidence effectively.
Include the failure path. If the website is unavailable, can participants still retrieve and interpret their approval evidence? If a signing authority is replaced, can the team explain the status of earlier statements? If a file is missing, what recovery path exists?
A useful benefit must survive more than the demonstration in which every component works perfectly.
Identify the minimum information that must be shared
A project can often separate a public or shared commitment from the underlying document. That can reduce disclosure, but it does not make privacy automatic.
Predictable information may be guessable even when only a hash is published. Metadata can reveal relationships or timing. Participants may also share more through interfaces and exports than the core ledger requires.
Ask what the verifier needs to learn. In the revision case, it may be enough to check a particular file against an approved fingerprint and signed statement. The verifier may not need access to every other drawing or every internal discussion.
Also distinguish verification from retrieval. Ethereum’s data-availability documentation explains why access to the required data matters. A commitment is not a promise that all relevant information can be obtained forever.
The design should state storage, access and retention arrangements explicitly. Privacy and availability cannot be outsourced to the word blockchain.
Count responsibilities as well as costs
A system’s burden includes more than server bills or transaction fees. Someone must maintain software, review permissions, handle incidents, explain corrections and help users recover from ordinary mistakes.
For the three design teams, ask who administers signing authority, who runs shared infrastructure and who answers a dispute after a team member leaves. If these responsibilities are unclear, a technically successful pilot may still be unsuitable for regular use.
Also ask whether the intended participants will perform their part. A consortium design that assumes independent operation may lose its purpose if every organisation delegates all control to the same unmanaged account.
These are not arguments against outsourcing or managed services. They are reasons to describe the actual arrangement. A managed service can be appropriate, but it should not claim a form of independence it does not provide.
A useful application fits the institutions that will operate it, not just the software diagram.
Write stopping rules before the pilot begins
A project needs reasons to continue and reasons to stop. Without both, every problem can become an excuse to add another layer.
For the revision case, sensible stopping conditions might include: the ordinary signed-document workflow already resolves the disputed-version problem; users cannot reliably understand what they are approving; retrieval remains dependent on an unacceptable single point of failure; or the proposed governance has no accountable owner.
These conditions are illustrative. The real project should set its own consequences and acceptance criteria before testing.
A stop does not mean the research was wasted. Finding that a simpler process meets the need is a useful outcome. Likewise, finding a narrow role for blockchain is often more credible than expanding it to every part of the workflow.
The decision should follow evidence about the problem, not the amount of effort already invested in the preferred technology.
When “not yet” is the best answer
Sometimes the need is real but the prerequisites are missing. The participants may not agree on what a record means, who can correct it or which organisation bears responsibility for a false submission.
In that situation, selecting a chain does not settle the disagreement. The software could faithfully enforce rules that nobody has actually agreed upon.
A productive next step may be a shared vocabulary, a written approval policy, a small signed-record prototype or a better inventory of existing data. Those steps can clarify whether a ledger is necessary later.
“Not yet” is therefore different from “never.” It identifies the missing condition that would make a future evaluation meaningful. A good project note states that condition explicitly, so the team knows what progress would change the answer.
This approach prevents technical implementation from outrunning the institutional agreement it depends on.
Five short application screens
An internal staff timetable: if one accepted administrator controls scheduling and corrections, begin with an ordinary scheduling system. Multiple viewers do not create a blockchain requirement.
A multi-organisation revision register: consider a ledger if independent control of the accepted history is genuinely necessary and signed-document alternatives do not meet the requirement. Verify retrieval and correction separately.
A portable adult training credential: first examine signatures and verifiable credentials. A blockchain is not automatically required merely because recipients are outside the issuing organisation.
A sensor record claimed to prove clean water: a ledger may preserve submitted observations, but calibration, sampling and scientific interpretation remain essential. Do not confuse provenance with truth.
A permanent record of every learner’s early mistake: permanence alone is not a benefit. Consider privacy, correction and the person’s future interests before choosing any durable disclosure mechanism; real personal data is unnecessary for a learning prototype.
These screens are provisional judgments about stated requirements, not universal bans or approvals. A changed requirement can change the answer.
A decision note you can actually review
Write a short paragraph containing the participant group, the current problem, the specific ledger contribution, the strongest simpler alternative and the evidence needed to decide.
For the design case: “Three teams need to identify approved drawing versions across handovers. A shared ledger might reduce unilateral changes to the approval sequence, while signed records in the existing document service may already meet the need. We will compare dispute reconstruction, correction clarity and file retrieval using synthetic documents before choosing.”
This note avoids promising outcomes that have not been measured. It also makes the alternative visible, so the pilot can produce a genuine decision.
Add one sentence about remaining dependencies: “Neither option establishes that the drawing is technically correct; professional review and accountable approval remain separate.”
The result is a bounded proposal that another person can challenge constructively.
Check your understanding
Question 1: A project has thousands of users. Does that establish a need for blockchain?
Answer: No. User count alone does not explain shared-control or independent-verification requirements. Identify the actual coordination problem.
Question 2: A file’s fingerprint is onchain. Has long-term access to the file been solved?
Answer: No. Matching and retrieval are different. The project needs a storage and retention arrangement.
Question 3: A pilot shows that a signed-document workflow solves the problem more simply. Is the pilot a failure?
Answer: No. It produced useful evidence for selecting an appropriate solution.
Question 4: The participants disagree about who can approve a correction. Should the team assume consensus software will resolve the policy question?
Answer: No. They need an agreed governance rule before software can enforce it meaningfully.
Frequently asked questions
Is blockchain useful only for money?
No. Shared records, attestations and programmable coordination can concern non-financial workflows. Suitability still depends on the particular requirements and remaining dependencies.
Must an application be fully decentralised to be useful?
No. A bounded improvement can be useful even when some authority remains concentrated. The claim should accurately describe which dependency is reduced and which is retained.
Does a successful demonstration justify deployment?
Not by itself. A demonstration usually shows a chosen path under chosen conditions. Deployment needs evidence about failure handling, governance, privacy and continuing operation.
What should I learn next?
Study the guarantees offered by hashes and signatures and the assumptions that support them. Clear cryptographic boundaries make application claims easier to evaluate.
Sources and scope
- Wüst and Gervais: Do you Need a Blockchain?, 2018 conference paper, author manuscript: requirements, writers and trust arrangements.
- NIST IR 8202: Blockchain Technology Overview, October 2018: foundational mechanisms and limitations.
- W3C Verifiable Credentials Data Model v2.0, Recommendation, 15 May 2025: issuer, holder and verifier roles; multiple registry arrangements.
- Ethereum: Data availability, living documentation: why verification depends on accessible data.
The practical standard is simple: identify a real problem, state the narrow contribution, compare a credible alternative and let evidence decide.
CHAPTER 40 OF 48 · The extended reading room
40. Cryptographic Hashes: Fingerprints Without Secrecy
Continue into the existing eduKateSG lesson: Cryptographic Hashes: Fingerprints Without Secrecy. The explanation below is included here for readers who want the longer worked treatment in one place.
A digest describes data through a calculation
Think of a hash as a calculated fingerprint, with one important qualification: it is not a claim that every possible input has a unique fingerprint.
For SHA-256, the output is 256 bits. It is commonly written as 64 hexadecimal characters. Hexadecimal is a way to display the result, not a separate security mechanism.
A short message and a large file can produce digests of the same length because the digest is not a copy of the original contents. The algorithm processes the input according to defined rules and produces a compact result.
NIST’s Secure Hash Standard, FIPS 180-4, August 2015, specifies SHA-family hash algorithms. Its page notes revision planning. This lesson uses SHA-256 to demonstrate the concept, not to prescribe every production cryptographic choice.
The most useful first question is: which exact bytes entered which algorithm?
Four real examples, not invented fingerprints
The following values were calculated from UTF-8 bytes using SHA-256. Spaces inside the displayed digests are added only to make them easier to read; remove those grouping spaces when comparing a continuous digest.
Input one: the three lowercase letters cat. No quotation marks, spaces or line ending are included. Input bytes in hexadecimal: 63 61 74.
Digest: 77af778b 51abd4a3 c51c5ddd 97204a9c 3ae614eb ccb75a60 6c3b6865 aed6744e
Input two: Cat, with a capital C. Input bytes: 43 61 74.
Digest: 48735c4f ae42d150 1164976a fec76730 b9e5fe46 7f680bdd 8daff4bb 77674045
Input three: cat followed by one ordinary space. Input bytes: 63 61 74 20.
Digest: 09333169 95d43e13 027e2516 d1c17b65 9764ffa5 0d35b89b 77b794f8 d2dbf651
Input four: cat followed by one line-feed byte. Input bytes: 63 61 74 0a.
Digest: 175cc6f3 62b2f75a cd08a373 e000144f db8d14a8 33d4b70f d743f16a 7039103f
The examples demonstrate two properties you can observe directly: the output length stays the same, and small input changes produce very different-looking digests. Four examples do not prove the algorithm’s security; they illustrate its behaviour.
“The same text” is not always the same input
A person may regard two documents as identical because the visible words match. A hash calculation operates on bytes, not on a human judgment of meaning.
A trailing space, a different line ending or a changed file metadata field can alter the input. A document saved again by an editor may contain different bytes even if its page appears unchanged.
Text encoding also matters. A protocol must define how text becomes bytes. For structured information, it must define how fields, separators and values are represented. Two applications that serialise the same idea differently may calculate different hashes.
This is why the worked example specifies UTF-8 and excludes an automatic line ending for its first input. Without that detail, two readers could honestly calculate different answers.
A mismatch is evidence that the compared byte sequences do not match under the chosen process. It is not, by itself, evidence of malicious tampering. First check that both sides intended to hash the same representation.
A file check needs a trustworthy expected value
Imagine receiving a fictional exhibition leaflet and an approved digest through a separately authenticated record. You calculate the leaflet’s digest using the specified algorithm and compare the entire result.
If it differs, the received file does not match the expected fingerprint. The reason could be corruption, a different version, a formatting change or deliberate alteration. The hash alone does not identify the cause.
If it matches, the comparison supports file matching under the hash’s security assumptions and the reliability of the expected value. It does not independently prove that the leaflet’s claims are accurate or that the approving organisation had authority to publish it.
Now imagine a single untrusted page supplies both the replacement file and a newly calculated digest. A match between those two items does not establish that the file is the original approved version. The reference has no independent authority merely because it looks like a hash.
The essential question is therefore not only “does it match?” but “match what, obtained from where, for which purpose?”
Three security properties describe different challenges
Preimage resistance concerns the difficulty of finding an input for a given target digest.
Second-preimage resistance concerns the difficulty of finding a different input with the same digest as a particular given input.
Collision resistance concerns the difficulty of finding any two different inputs with the same digest.
These are related but distinct goals. A system should not use one term as a vague synonym for all cryptographic safety.
Collisions must exist when a fixed-size output represents a larger set of possible inputs. The practical security question is whether an adversary can find useful collisions within the assumed resources, not whether mathematics makes collisions impossible.
For an introductory lesson, this distinction is enough. There is no need to turn “very hard under stated assumptions” into “never possible,” or to invent a universal security lifetime for every application.
Why a hash cannot be decrypted
Encryption is designed so that an authorised holder of the appropriate key can recover the plaintext under the scheme’s rules. A hash digest is not designed as a recoverable representation of the original message.
A 64-character SHA-256 display does not contain a hidden compressed copy of an arbitrarily large file. Many possible inputs map into the finite output space, so the digest alone cannot uniquely identify and reconstruct every original input.
This does not mean an observer can never discover an input. If the observer has a small set of plausible candidates, it can calculate their digests and compare them. That is guessing and checking, not decrypting the digest.
The difference is important for privacy. Saying that a digest cannot be decrypted does not establish that the underlying information is unknowable.
NIST’s AES standard describes an encryption component, illustrating a different cryptographic job. Hashing and encryption should be selected for their respective requirements, not treated as interchangeable labels.
Predictable information can remain guessable
Suppose a fictional survey answer has only two possible values: yes or no. Publishing a plain hash of the answer does not create strong secrecy. Someone can calculate both candidates and see which matches.
The same general problem arises whenever the possible input set is small or predictable. A long digest can look mysterious while representing information that is easy to test.
Do not experiment with real personal records to learn this lesson. Harmless fictional words demonstrate the issue without exposing anyone’s information.
Also avoid claiming that adding an ordinary public identifier automatically makes private data anonymous. The overall design must consider candidate guessing, linkability, metadata and who can access related datasets.
The lesson is simple: the apparent complexity of the output is not a measurement of how hard the input is to guess.
Password storage is a different design problem
A raw fast hash of a password is not a complete password-storage design. Passwords are often predictable enough that an attacker can test candidates, so dedicated password-hashing approaches deliberately impose additional cost and use appropriate per-password handling.
OWASP’s Password Storage Cheat Sheet explains this distinction and the role of salts and purpose-built password-hashing algorithms.
This article does not provide a production password-storage recipe. The point is to prevent the wrong inference from the toy example: SHA-256 is useful for demonstrating file digests, but that does not mean “hash a password once with SHA-256” is a sufficient security plan.
Never paste a real password, private key or seed phrase into a public hash calculator. The calculator would receive the secret before any displayed digest could protect it.
For learning, use only the harmless example strings given here and a tool whose behaviour you understand.
Hash links make relationships checkable
A record can contain a commitment to earlier data. If the earlier data changes, the relationship no longer matches unless the relevant commitments are also recalculated.
This is useful for connecting records into a structure whose internal consistency can be checked. Bitcoin’s block-chain guide describes how block headers reference earlier headers and commit to transaction information.
However, someone can create a different private sequence and calculate its hashes. A hash chain alone does not decide which history the network should accept. Validation, agreement and the difficulty of replacing an accepted history supply additional protection.
This is a common point of confusion. “Changing data changes the hash” is a statement about the calculation. “An attacker cannot make the network accept an altered history under these assumptions” is a wider protocol claim.
Keep those claims separate so that a useful fingerprinting mechanism is not mistaken for a complete consensus system.
A hash does not sign a statement
Anyone who has the input can calculate its ordinary public hash. The digest alone does not identify who created the input or who approved it.
If a museum publishes a leaflet’s digest, the authority comes from how the publication is authenticated or otherwise trusted. A digest copied into an unrelated message does not automatically carry the museum’s approval.
A digital signature serves a different role by allowing verification against a public key. A protocol can combine signatures and hashes, but the combination needs a clear statement of what is being authorised.
For example, signing “received this digest” differs from signing “approved this version for publication.” The cryptographic representation does not remove the need to define meaning.
NIST’s Digital Signature Standard, 3 February 2023, provides a primary reference for that separate mechanism. The next lesson examines keys and signatures in more detail.
A digest cannot certify truth or keep a file alive
A false report has a hash just as a correct report does. Matching a report to a recorded fingerprint can establish consistency with the committed version, but not the quality of its evidence.
Similarly, a ledger can retain a digest after the underlying file disappears. The digest is not an archive from which the missing file can be reconstructed.
An application therefore needs separate answers for truth, attribution, availability and confidentiality. It may use inspection for external facts, signatures for authorised statements, storage arrangements for retrieval and appropriate confidentiality mechanisms for restricted content.
Hashing can contribute to that system without replacing every other responsibility. A careful description names the narrow contribution rather than saying that a file is “blockchain verified” without explanation.
For the exhibition leaflet, the honest claim is version matching, not a guarantee that every date, caption and attribution is correct.
A practical comparison checklist
Before interpreting a hash match or mismatch, check six things.
- Algorithm: are both values calculated with exactly the same named algorithm?
- Input: are the same bytes being compared, including encoding and line endings?
- Scope: is the digest for the whole file, selected fields or another representation?
- Reference: where did the expected value come from, and why is it trusted?
- Comparison: was the complete digest checked rather than a short visual prefix?
- Conclusion: what claim does the match support, and what remains unproved?
The checklist applies equally to ordinary file checks and blockchain-related records. It is a reasoning aid, not a substitute for current implementation guidance.
A short prefix may be convenient for display, but visual similarity is not the same as checking the full expected value. The grouped digests in this lesson preserve all 64 hexadecimal characters.
Exercise: explain the result before using a tool
Question 1: You hash cat and then hash Cat using SHA-256 over UTF-8. Should you expect the same digest?
Answer: No. The first byte differs. The worked values show the resulting different digests.
Question 2: Two readers hash what looks like cat, but one tool includes a final line-feed byte. Is a mismatch necessarily an attack?
Answer: No. They hashed different inputs. The lesson provides both byte sequences and results.
Question 3: A website changes a file and publishes the new file’s matching digest. Does the match prove the original publisher approved the change?
Answer: No. Approval requires a trustworthy authority or authenticated statement, not merely a consistent calculation.
Question 4: The digest of a report is still recorded, but every copy of the report is lost. Can the full report be decrypted from its digest?
Answer: No. A hash is not encryption or a recoverable backup.
Final task: Write a one-sentence description of a hash check that does not use “secure,” “anonymous” or “unhackable.” One good answer is: “I compared this file’s SHA-256 digest with the approved reference to check whether the file matches that recorded version.”
Frequently asked questions
Are hashes always unique?
No. Fixed-size digests cannot uniquely represent every possible input. Cryptographic collision resistance concerns the practical difficulty of finding collisions, not their mathematical nonexistence.
Does a tiny edit always produce a different hash?
For a suitable cryptographic hash, a changed input will overwhelmingly be expected to produce a different digest, but collisions are possible. Avoid an absolute guarantee that every possible edit must change the output.
Can a hash tell me what changed?
No. It can indicate a mismatch, but locating or explaining the difference requires comparing the underlying data or using other tools.
Does hashing a file change the file?
The hash calculation reads input to produce a digest; it does not inherently require changing the input. Particular software can have other behaviour, so distinguish the mathematical operation from an application’s actions.
Sources and reproducibility
- NIST FIPS 180-4: Secure Hash Standard, August 2015; revision planning noted on the publication page.
- NIST FIPS 197: Advanced Encryption Standard: encryption as a different primitive.
- NIST FIPS 186-5: Digital Signature Standard, 3 February 2023: signatures as a separate authorisation mechanism.
- Bitcoin Developer Guide: Block Chain: hash-linked block structure.
- OWASP Password Storage Cheat Sheet, living guidance: why password storage requires more than a raw fast hash.
A hash is most useful when the input, algorithm, trusted reference and intended conclusion are all explicit.
CHAPTER 41 OF 48 · The extended reading room
41. Public Keys, Private Keys and Digital Signatures
Continue into the existing eduKateSG lesson: Public Keys, Private Keys and Digital Signatures. The explanation below is included here for readers who want the longer worked treatment in one place.
The key pair separates authority from checking
In a public-key signature system, the private key is secret material used to produce signatures. The public key is information that other parties can use to verify them.
The mathematical relationship allows verification without giving the verifier the signing secret. Under the scheme’s security assumptions and appropriate implementation, possessing the public key should not make it feasible to forge valid signatures for arbitrary unauthorised messages.
This is different from sharing one password with every verifier. A public verification key is meant to be available for checking; the private signing authority is not.
Still, the public key’s availability does not identify its owner by itself. Someone must establish which key is relevant to the organisation, account or role being checked. Otherwise, a perfectly valid signature under an unrelated key answers the wrong question.
NIST’s Digital Signature Standard, FIPS 186-5, published 3 February 2023, is a primary reference for signature algorithms. It describes mechanisms, not a complete identity or organisational approval process.
Three operations, with a different result from each
Key generation creates the required signing and verification material according to the scheme. Secure generation and handling are part of the system, not an optional detail.
Signing uses the private signing authority and the message, together with any other scheme-defined inputs, to produce a signature. The exact process varies across algorithms; do not assume every scheme works by the same formula or uses randomness in the same way.
Verification checks the message and signature against the relevant public key and scheme rules. Its result supports or rejects that cryptographic relationship.
Verification does not require the verifier to receive the private key. If a supposed checking service asks for a real private key or seed phrase merely to verify a public signature, that request is inconsistent with the basic separation explained here.
This lesson remains conceptual. It does not provide key-generation code or recommend that beginners invent their own signature implementation.
Signing is not “encrypting with the private key”
A tempting shortcut describes signatures as encryption performed with a private key. That is not a reliable general explanation of modern signature schemes.
Encryption and signing have different goals and algorithms. Encryption protects confidentiality so that authorised decryption can recover plaintext. Signing supports verification of an authorised message. A signed message may remain fully readable.
A signature can involve hashing and other mathematical operations, but calling it encryption can make readers expect a secrecy guarantee that is not present. It can also lead them to misunderstand how particular algorithms actually work.
The safer explanation is functional: the signer creates a scheme-defined signature for a message; the verifier checks that signature with the public verification key.
This language remains correct without pretending that every signature scheme is a reversed encryption operation.
Worked example: approving an exhibition checklist
Imagine an adult curator, Lina, is authorised to approve a fictional exhibition checklist for internal planning. The organisation recognises a particular public key for that approval role.
The document has a version identifier and a fingerprint. The proposed approval message says which version is covered and what the approval means. For this example, it means approval for internal planning, not permission to publish or a guarantee that every statement has been independently investigated.
Lina’s signing system produces a signature over the defined approval message. A reviewer later obtains the message, signature, relevant public key and the document needed for the intended comparison.
The reviewer checks that the file matches the stated version and that the signature verifies under the recognised key. It also checks whether that key was authorised for this approval purpose under the organisation’s process.
These steps support a bounded conclusion about a version and its approval authority. They do not automatically establish Lina’s physical presence, perfect judgment or the truth of every caption.
The exact message is the object of approval
“Approve version seven” and “acknowledge receipt of version seven” are different messages. So are “approve for internal review” and “approve for public release.”
A user interface should make the authorised content understandable. If the screen displays a harmless summary while the signed bytes authorise something broader, the signature may verify even though the human interaction was misleading.
Structured messages need a defined representation and interpretation. A signature protects the message specified by the signing process, not whatever a later website chooses to describe in a badge.
W3C’s Verifiable Credential Data Integrity 1.0, a Recommendation dated 15 May 2025, treats proof purpose, verification relationships and data processing as part of the surrounding design. This illustrates why the mathematical signature check is only one step.
A strong review therefore asks both “does the signature verify?” and “what, exactly, does the verified message authorise?”
Identity requires a binding beyond the raw key
Suppose a file is signed by Public Key K. The cryptographic check may be correct, but who is K?
An application may use an account registry, certificate arrangement, organisational directory or another identity mechanism to connect the key to a role. The mechanism has its own maintenance and trust assumptions.
If the reviewer obtains the key from the same untrusted message that claims to be from the museum, a valid signature only shows consistency with that supplied key. It does not independently establish the museum’s approval.
The key must be connected to the intended authority through an appropriate trusted process. That binding can also change over time when staff roles or keys change.
This is why public key, account address, organisation name and legal person should not be treated as interchangeable labels. They can be connected, but the connection must be explained and checked.
A valid signature can still request an invalid action
Now imagine the approval key is allowed to approve internal drafts but not public releases. It signs a public-release request.
The cryptographic signature could verify correctly. The application should still reject the action if the role lacks that permission. Signature validity and policy validity are separate checks.
The same distinction appears in blockchain transactions. A key can authorise a message while the requested action fails because the relevant balance, state, permission or other protocol condition is not satisfied.
Ethereum’s transaction documentation is one concrete example of authorisation within a wider transaction process. Different networks define their own fields and rules.
A useful rule of thought is: verification tells the application something about the message’s signing authority; the application must still decide whether the authorised request is allowed in the current context.
Reusing a signature is not the same as obtaining new approval
A recorded signature can remain mathematically verifiable when shown again. That does not mean an application should execute its action repeatedly or accept it in every context.
Return to Lina’s checklist. Approval of one identified version for one purpose should not silently become approval of a different version or a different purpose. The protocol needs to bind the relevant context into what is signed and checked.
Transaction systems also need ways to prevent inappropriate replay. Counters, spending conditions, identifiers and domain-specific context can contribute, depending on the design. The exact mechanism must be evaluated for the actual protocol.
Ethereum’s account documentation describes a transaction counter in its account model. Bitcoin instead uses spending conditions around outputs, among other transaction rules. These are examples, not a universal recipe. Ethereum accounts · Bitcoin transactions.
The conceptual point is that old evidence of authorisation is not automatically fresh authority for a new action.
Key compromise changes the meaning of a successful check
If an attacker gains control of signing authority, it may produce signatures that pass verification. The algorithm has not necessarily failed; the assumption about who controls the key has failed.
The organisation then needs procedures for stopping future misuse, establishing replacement authority and explaining which earlier records may be affected. The signature alone does not reveal the precise moment the key became compromised.
Likewise, losing access to a private key can prevent further signing even when the public records remain visible. Cryptographic verification does not restore a missing signing capability.
NIST’s Recommendation for Key Management, Part 1 Revision 5 explains that key management spans a lifecycle. This lesson uses that principle without prescribing an operational recovery process for a particular wallet or institution.
Protecting signing authority and planning its replacement are different tasks from checking a signature once.
Public verification does not provide secrecy
A digital signature can be publicly verifiable while the signed message is also public. That is often useful: many readers can check the same approval without receiving any secret signing material.
But signing does not hide the message. If a document needs confidentiality, the application requires a separate design for limiting disclosure.
Public keys and signatures can also create linkable records depending on how they are used. Calling a key “public” does not mean every possible use is irrelevant to privacy.
For the exhibition example, publishing a signed internal checklist might reveal information the organisation intended to keep restricted. The validity of the signature does not make that disclosure appropriate.
Always ask two separate questions: who can verify the statement, and who is allowed to learn its contents?
A timestamp inside a message is still a statement
A signed message may contain a date or time. The signature can protect that stated value from undetected alteration within the signed content, but does not by itself prove the clock was accurate or that signing occurred at that exact moment.
An application that needs stronger evidence about time requires an appropriate timestamping or recording arrangement and a clear account of what that arrangement establishes.
Similarly, inclusion in a ledger can provide protocol-specific ordering or recording evidence, but should not be casually expanded into proof of every real-world event time.
In Lina’s case, a field saying “approved at noon” is part of the statement. Whether the organisation can rely on that as an exact time depends on the surrounding process.
The broader lesson is to distinguish protected content from independently established truth about that content.
What a reviewer should check
A conceptual review can use six questions.
- Message: which exact content and purpose were signed?
- Scheme: which signature method and verification rules apply?
- Key binding: why is this public key recognised as the relevant authority?
- Permission: was that authority allowed to perform this action?
- Context: does the message belong to this version, system and intended use, and is reuse handled correctly?
- Key status: what does the application know about replacement, loss or compromise under its policy?
Not every application expresses these checks in the same format. The checklist is an educational map of responsibilities, not a claim that a single signature API performs them all.
A green check mark should ideally make its meaning clear. “Signature verified under this key” is narrower than “document approved, accurate and safe for all uses.”
Paper exercise: four approvals that look similar
Use a fictional public key label, Museum-Approval-Key, rather than any real cryptographic material. Assume the museum has authorised it only for internal checklist approval.
Case A: a correctly signed message approves version seven for internal planning. The file matches that version.
Case B: the signature is mathematically valid, but the message approves public release.
Case C: the message says internal approval, but the file supplied is version eight.
Case D: the signature verifies under a different key supplied by an unknown sender, who claims it belongs to the museum.
Which checks are satisfied, and what remains wrong?
Worked answers
Case A fits the stated authorisation and version conditions, assuming the recognised key and other policy requirements remain valid. It still does not certify every fact in the document.
Case B passes the signature check but exceeds the role’s stated permission.
Case C does not support approval of the supplied file. A valid signature about one version should not be transferred to another.
Case D lacks the trusted binding between the supplied key and the museum. Mathematical consistency with an unknown key is not enough.
The exercise separates four questions that a simple “signed” badge can hide.
Frequently asked questions
Can the public key create signatures?
Public verification material is not intended to supply private signing authority. Under the scheme’s assumptions, knowing it should not make arbitrary signature forgery feasible.
Must I send my private key to someone who verifies a signature?
No. Public-key verification is designed to work without revealing the signing secret. Do not provide a real private key or seed phrase for a basic public-signature check.
Is a digital signature a picture of handwriting?
No. A scanned handwritten mark is an image. A cryptographic digital signature is a scheme-defined value checked against a message and verification key. An application may display an image, but the image is not the cryptographic mechanism.
Does a valid signature settle every dispute?
No. Message meaning, identity, authority, key status and external facts can still be disputed. This article explains technical evidence rather than giving a legal determination.
Sources and scope
- NIST FIPS 186-5: Digital Signature Standard, 3 February 2023; consult listed updates for implementation work.
- W3C Verifiable Credential Data Integrity 1.0, Recommendation, 15 May 2025: proof purpose and verification relationships around cryptographic checks.
- NIST SP 800-57 Part 1 Revision 5: general key-management lifecycle.
- Ethereum: Transactions and Accounts: one authorisation and state model.
- Bitcoin: Transactions: a different transaction and spending-condition model.
A signature is strongest when the key, message, purpose and permission are all understood. Verification begins with mathematics and ends with a carefully bounded interpretation.
CHAPTER 42 OF 48 · The extended reading room
42. Sybil Attacks and Permissionless Participation: Why Identities Are Not Votes
Continue into the existing eduKateSG lesson: Sybil Attacks and Permissionless Participation: Why Identities Are Not Votes. The explanation below is included here for readers who want the longer worked treatment in one place.
Separate the controller, identifier and permission
A controller is the person, organization or coordinated entity able to direct behavior. An identifier is the name by which the system recognizes a participant: for example, an account name or a public key. A permission is an action the rules allow that identity to perform.
Those three things need not correspond one-to-one. One organization may legitimately operate several nodes. One person may use different keys for different roles. Several people may jointly control a single institutional signing arrangement. Multiple identifiers are therefore not automatically evidence of an attack.
The problem arises when a system relies on an independence assumption that those identifiers do not establish. If a rule intends one independent participant per vote but accepts any newly generated identity as another independent participant, the rule has an exposed boundary.
John R. Douceur’s 2002 paper The Sybil Attack explains how one entity presenting multiple identities can undermine redundancy in peer-to-peer systems. Its formal results have a defined model. Here we use the basic distinction between apparent identities and underlying entities rather than claiming that every imaginable identity system is impossible.
The archive poll that counts names
Imagine a fictional archive choosing between two catalogue policies through an informal online poll. Nine independent curators each have one account. A tenth controller presents 91 accounts. The poll accepts one vote per account and performs no check connecting accounts to independent participants.
There are 100 visible accounts: nine plus 91. The tenth controller therefore controls 91 percent of the counted identities, although it is only one of the ten controllers specified by the exercise. If all its accounts vote together, the visible poll does not measure the intended distribution of independent curator opinions.
Notice what the arithmetic does and does not prove. It proves the consequence of the supplied account-counting rule and ownership facts. It does not establish that any real poll has these participants, that every account with similar behavior is coordinated, or that one person always deserves exactly one unit of influence in every system.
The designer must first state the intended unit. It might be an admitted institution, a verified person, a resource contribution or another explicitly defined entitlement. A system cannot claim to preserve an intended unit that it has never specified.
This example also shows why “the signatures all verified” would be an incomplete response. Every account could correctly sign its own vote while the independence assumption still fails. The signatures authenticate messages under keys; they do not make the controllers independent.
Why cryptographic identities alone do not solve the problem
A public-key identity can be valuable. It allows messages to be linked to a key and supports checks against unauthorized alteration or impersonation under the scheme’s assumptions. But the system must still decide what that key is allowed to represent.
Suppose our archive replaces usernames with public keys but retains one vote per newly registered key. The accounting flaw remains. Making each identifier cryptographically strong does not impose one identifier per independent curator.
Nor does requiring a fresh signature on a challenge establish independence among multiple respondents. It can establish possession of the corresponding signing capability. The leap from “these are distinct valid keys” to “these are distinct independent decision-makers” needs additional evidence or a different influence rule.
This is not a defect in digital signatures. It is an example of asking a primitive to prove a statement outside its purpose. A useful design review labels the actual guarantee, then identifies the separate enrollment or weighting assumption.
A certificate can add an assertion by an issuer, but the meaning depends on what the issuer checked and what the policy accepts. A certificate for a device, a staff role and an organization are not interchangeable proofs of a unique human being.
Change what the system counts
One response is to stop treating every identity as an equal unit of consensus influence. A permissionless protocol may instead associate influence with a resource whose relevant contribution must be established under its rules. Creating extra names then does not automatically create extra qualifying resource.
For a synthetic accounting exercise, suppose honest participants collectively have 90 verified resource-weight units and the other controller has 10. The total is 100, so that controller’s share is 10 percent. If it divides its 10 units across 100 identities with 0.1 unit each, its total remains 10.
This calculation assumes strictly additive weight, correct accounting and no per-identity bonus. It also assumes the same resource cannot be counted multiple times for the same purpose. Real protocols may have eligibility thresholds, rounding, caps, delegation or other rules, so one must analyze their actual accounting rather than transfer the toy result without checking.
Compare the two exercises carefully. In the archive poll, additional names directly increase counted votes. In the resource model, additional names merely divide the supplied total. That difference is a property of the rule, not proof that the second controller is honest or that the entire protocol is secure.
The exercise’s 10 percent is not a universal attack threshold. Different prohibited outcomes, protocols and conditions require different analyses. We have demonstrated only that this additive rule does not multiply the fixed resource total when it is split among identifiers.
How proof of work changes the question
The Bitcoin white paper discusses the weakness of counting network addresses as votes and instead ties its history-selection mechanism to proof of work. This changes the relevant resource question: producing eligible work is not equivalent to opening another identity.
That does not mean that a node counts how many computers voted for a block. It also does not mean a high-work invalid block becomes valid. The validation rules and the selection rule are separate requirements; work does not authorize an otherwise forbidden state transition.
For this lesson, you only need the accounting intuition. Giving the same controller more labels does not by itself supply additional computational contribution. Conversely, a controller with substantial actual resources may have substantial influence regardless of how few labels it uses.
A complete proof-of-work system still needs definitions of valid work, valid blocks, chain comparison, propagation behavior and assumptions about adversarial resources. The phrase “uses proof of work” is not a complete consensus specification. Later lessons can examine the mechanism without turning this introductory distinction into mining advice.
How proof of stake changes the question
A proof-of-stake design associates participation with protocol-recognized stake and specified validator duties rather than granting equal influence to every freely created key. Ethereum’s proof-of-stake documentation provides a named example of stake-based validator participation.
Again, distinguish the identity from what the protocol counts. More signing keys do not necessarily mean more aggregate stake, and equal numbers of visible validators do not necessarily mean equal independent control. An operator can manage several identities; delegation or service arrangements can complicate the relationship further.
The accounting details matter. Which stake is active? How is effective voting weight computed? Which participant actions count at the relevant time? Can the same underlying entitlement be counted more than once? These questions need the actual protocol rules, not a slogan about coins equaling votes.
Our additive toy calculation is not a claim about every proof-of-stake implementation. It does not model penalties, withdrawal conditions, historical attacks, governance or economic incentives. It simply explains why weight and identity count must be recorded as separate quantities.
Stake-based participation also does not establish one-person-one-vote or equal wealth. Those are different objectives. A technical explanation should name the guarantee being pursued without presenting one accounting mechanism as a universal solution to fairness or concentration.
Authenticated membership takes another route
A permissioned network can define an admission process and recognize specific organizations or roles. Its policies can then allocate authority to admitted members instead of treating every new key as a new organization.
In a second archive exercise, four institutions are admitted: A, B, C and D. Each institution has one policy vote. Institution A operates ten clients, while the others operate one each. If enrollment and vote aggregation correctly enforce one vote per admitted institution, A still has one of four policy votes, not ten of thirteen.
The “if” carries real work. The registry must link client identities to the correct institution, prevent unauthorized enrollment, handle revocation and apply the actual policy. A list of certificates alone does not prove that those governance rules were correctly chosen or executed.
Hyperledger Fabric’s membership service provider documentation describes identity validation and recognition of roles in a named permissioned framework. Our four-institution voting policy is an original teaching example, not a claim about Fabric’s default consensus or governance configuration.
Admission introduces its own trust questions. Who decides that two applicants count as separate organizations? Who can update the membership policy? What happens when organizations merge or delegate operation? An authenticated network can still contain shared control or coordinated behavior among admitted members.
The same attack idea can target different privileges
Consensus influence is only one place where identity counting can matter. A system may allocate storage requests, recommendations, reputation or access opportunities by identity. A rule resistant to extra identities in one part of the system does not automatically protect every other part.
For a classroom example, imagine our resource-weighted archive uses a separate feedback form that grants one recommendation per account. The consensus weight may remain properly accounted for while recommendations are distorted by repeated identities. The two subsystems count different units.
Similarly, the peers from which a node obtains information and the participants whose evidence affects consensus are related but different sets. A design review should ask about each role without assuming that one consensus mechanism resolves every networking concern.
We do not need to simulate a live attack to see the issue. Write a list of privileges and their allocation rules. For each one, ask whether extra identifiers create more entitlement, merely divide an existing entitlement, or require separate admission. That paper exercise often exposes a mismatch before any system is deployed.
Independence needs evidence beyond a count
Suppose a report celebrates 1,000 visible nodes. That may be useful information about reachable software instances, but it does not by itself establish 1,000 independent operators, 1,000 different owners or 1,000 independent failure domains.
Several nodes might share an operator, a hosting provider, software or a network dependency. Conversely, one public endpoint could serve multiple independently governed users. The direction of inference is not automatic. State what was actually measured before interpreting it.
Nor should a reviewer publicly label real identities as a coordinated attacker because they look similar. Similar timing or software can arise for many reasons. The synthetic archive exercise supplies controller ownership as a fact; a real attribution needs evidence that the exercise does not provide.
At this stage, the goal is modest: avoid confusing a count of names with a count of independent decisions. A later decentralization assessment can measure different control dimensions with appropriate data, dates and limitations. This lesson supplies the question, not a ranking of real networks.
Five questions for a participation rule
First, what privilege is being allocated? Be specific: proposing a block, contributing vote weight, admitting a member, submitting a request or influencing a recommendation. Different privileges may use different rules.
Second, what is the counted unit? Write down whether it is a key, account, institution, verified resource or another defined quantity. “Participant” is too ambiguous unless its meaning is specified.
Third, what prevents the same controller from multiplying that unit at little additional cost? The answer might involve controlled enrollment, verified resource accounting or another explicit assumption. A signature alone is not an answer to independent-person counting.
Fourth, who verifies the entitlement, and under which state or membership snapshot? Old credentials, changed roles or double-counted resource claims can make a superficially sensible rule behave differently from its description.
Fifth, which risks remain? Resource concentration, membership authority, coordinated operators and failures outside the protected privilege are examples of separate questions. Do not convert a narrow resistance property into a claim of total immunity.
Six exercises, with answers
- Nine curators each have one account, and another controller has 91. What share of the 100 counted accounts does that controller hold? Ninety-one percent. This is an account share, not proof of 91 independent people.
- A controller has 10 of 100 additive weight units and splits its allocation across 100 keys. Each receives 0.1 unit. What is the total afterward? Ten units, still 10 percent, under the supplied no-duplication and no-bonus assumptions.
- Every one of those 100 keys signs correctly. Does that establish 100 independent controllers? No. It establishes the relevant signature checks, not independence among key holders.
- Four admitted institutions each receive one policy vote. A runs ten clients. How many institutional votes does A have? One, provided enrollment and aggregation enforce the stated policy.
- A proposal adds a fixed bonus vote for every newly registered key to the additive resource rule. Can we still use the split-invariance conclusion? No. The rule has changed; splitting now affects the bonus term and requires fresh analysis.
- A network resists identity multiplication in consensus but uses one-account-one-recommendation in a separate feedback tool. Is the feedback tool protected by the consensus rule? Not automatically. Analyze its own allocation mechanism.
The fifth case is particularly useful in a design meeting. A proof or calculation belongs to a specified rule. A small-looking product change can invalidate its assumptions even when the project continues using the same security label.
Frequently asked questions
Is using several keys always a Sybil attack?
No. Multiple keys can serve legitimate privacy, role separation, availability or administration purposes. The concern is exploiting an allocation rule that mistakes those identities for independent entitlements or participants.
Does permissionless mean there are no rules?
No. It concerns participation without a particular central admission gate, within the system’s protocol conditions. Validation, resource requirements and other rules can still be strict.
Does proof of work or proof of stake identify unique humans?
Neither mechanism by itself proves one identity per unique human. They address participation and influence through different resource-related rules, which must be read in context.
Does permissioned membership guarantee independent organizations?
No. It provides an admission and identity framework whose policies and evidence must be examined. Separate certificates do not rule out common ownership, delegation or coordination.
Sources and next learning steps
Primary references checked on 12 October 2026, Singapore time: Douceur’s The Sybil Attack, the Bitcoin white paper, Ethereum’s proof-of-stake documentation, and Fabric’s membership service provider documentation. The archive polls, resource totals and institution policy are original synthetic exercises.
Next, study proof of work in more detail: how a candidate header satisfies a target, how valid branches are compared, and why neither a large advertised number nor many visible identities can replace the required checks. Keep the central question from this lesson: what exactly is being counted, and what establishes its legitimacy?
CHAPTER 43 OF 48 · The extended reading room
43. Reading Blockchain Consensus Claims: Validity, Fork Choice and Finality
Continue into the existing eduKateSG lesson: Reading Blockchain Consensus Claims: Validity, Fork Choice and Finality. The explanation below is included here for readers who want the longer worked treatment in one place.
Four questions hiding inside one word
The word consensus is often used as shorthand for an entire system. That is convenient until a claim needs to be checked. Begin by asking:
- Validity: what makes a block and its proposed state transition acceptable under the rules?
- Participation and weight: who can propose or influence agreement, and what determines their effective weight?
- History selection: among the valid alternatives a node knows, which branch or head does it select?
- Settlement or finality: what additional condition supports the protocol’s particular stability claim?
Add a fifth question about progress: under which conditions should the system make the promised kind of progress? The promise might concern producing blocks, finalizing checkpoints or including a particular class of transactions. Those are different outcomes.
Our reading method keeps these fields separate even when one implementation combines them tightly. The goal is not to force every chain into one architecture. It is to prevent a label from silently answering questions that its definition does not cover.
A protocol description that fills only the participation field is incomplete as an explanation of consensus. “Anyone can join” does not tell you what they can make the system accept.
Validity comes before comparing eligible histories
Imagine a fictional catalogue transaction with a missing authorization signature. A proposed block includes it as an accepted state update. If that violates the system’s validation rules, popularity or voting weight does not repair the defect. Honest validating nodes should apply the applicable validity rules rather than count support for arbitrary bytes.
The exact boundary is protocol-specific. Some systems reject a block containing an invalid transaction; others record ordered transactions and mark particular transactions invalid so that they do not change application state. A reader must learn which model the named system uses.
Hyperledger Fabric’s ordering-service documentation distinguishes transaction ordering from peer validation. It explains that invalidated transactions can remain in a block while being marked invalid and not updating the ledger state. Thus “included in an ordered block” is not the same statement as “successfully changed the application’s state.”
For any chain, ask which component performs each check and what an acceptance status means. A block-header check, a transaction-signature check and full state-transition validation do not supply identical evidence. Do not let a user interface’s single accepted label erase those differences.
Weight must have a unit and an admission rule
A description might say that a majority supports a history. Majority of what? Network connections, registered identities, computational work, stake weight, or a configured set of organizations? These units lead to different assumptions.
Creating many node identities does not automatically mean controlling the same number of independent decision-makers. A protocol needs some account of how participation is admitted or weighted and what it assumes about adversarial influence. The detailed study of Sybil attacks follows later in this module.
For now, write down the denominator. If the claim uses voting weight, identify which set and which snapshot of weights it refers to. If it uses cumulative work, ask how work is calculated and which blocks are eligible. If it uses authenticated membership, ask how membership and changes to it are established.
Avoid transferring a percentage from one protocol to another. A percentage without its unit, fault model and target property is not a usable security statement. “Tolerates one-third failures,” for example, needs to distinguish unavailable participants from arbitrary adversarial behavior and explain whether the claim concerns safety, progress, or both.
Fork choice is a rule for a node's current view
A node may learn about multiple valid branches. A fork-choice rule helps it select a head or history based on its available information and the protocol’s rules. Nodes that receive information at different times may temporarily have different views.
Bitcoin’s developer guide describes selection among valid branches using accumulated proof of work. The relevant measure is not simply the number of blocks. The validity qualification is essential: greater work does not grant permission to violate the node’s consensus rules.
For a reading exercise, distinguish three statements: a node received a block; the node found it valid under the checks it performed; the node selected a branch containing it. None should be silently substituted for the next.
A selected head is also relative to a view at a time. A later message can change the information available to the node. Whether and how that affects settled history depends on the protocol’s finality or settlement model, which must be read separately.
A screenshot of one node’s head is useful observational evidence. It is not, by itself, a universal statement that all honest nodes have already seen or selected exactly the same head.
Finality needs a definition and assumptions
Some systems describe settlement confidence in terms of the difficulty or probability of replacing a history under a model. Others have explicit protocol conditions that mark checkpoints or blocks finalized. Those are not interchangeable promises.
Ethereum’s Gasper documentation provides a concrete example of separating a fork-choice component, LMD-GHOST, from Casper-FFG finality. The names identify roles in that design; they are not universal ingredients required by every proof-of-stake chain.
When reading a finality claim, ask what evidence is checked, which participants or weights matter, and which assumptions would have to fail for incompatible finalized outcomes. If the claim is probabilistic, ask which model and parameters support its confidence statement. A confirmation count without that context is not a universal guarantee.
Also distinguish protocol finality from legal settlement, application completion and physical-world delivery. The protocol may establish a property of recorded history while a document shipment, legal transfer or external service remains unfinished.
This lesson only identifies the questions. Later articles trace confirmation and finality timelines and examine the detailed certificates or rules used by particular designs.
Timing and faults qualify different promises
A network assumption might bound message delays, assume that communication eventually becomes well behaved, or adopt another precisely defined model. A fault assumption might limit crashed participants, adversarial voting weight, compromised keys, or other behavior.
The reader should connect each assumption to the property it supports. A system may aim to preserve a safety property during delays while requiring improved communication for progress. That does not mean every delay proves an attack or every stalled system has violated agreement.
A timeout is an observation that something did not arrive before a deadline. It does not, by itself, identify whether the cause was a crash, a partition, overload, censorship or a scheduling delay. The protocol’s response to that observation is part of its specification.
Implementation assumptions matter too. Honest software must interpret the same inputs under compatible rules, preserve required state, and verify authentication correctly. An abstract bound on adversarial participants does not automatically cover a common software bug affecting everyone.
For rigorous background on the difference between a claimed invariant and its implementation, see the existing guide to proving software correct. Here the practical task is to mark which assumptions a blockchain claim actually states.
Fictional description A: an open work-weighted chain
A fictional brochure for “River Chain” says: “Anyone may propose blocks by supplying the required work. Nodes choose the valid branch with greatest cumulative work. Additional accepted blocks increase our confidence in earlier history. Blocks appear quickly.”
This description supplies some information but leaves important gaps. The participation mechanism is work-based, and history selection explicitly considers valid branches. The stability claim is confidence-based rather than a stated finality certificate. However, the brochure has not supplied its precise validation rules, work formula, adversarial resource assumptions, network model or confidence calculation.
“Blocks appear quickly” is particularly incomplete. Is that an average production interval, a measured propagation delay, a target parameter or a user-visible inclusion estimate? What distribution and workload were observed? Does the claim apply during a network disruption?
The correct reading is neither “safe” nor “unsafe” on this evidence alone. It is a partially completed assumption card. The reviewer requests the missing specification and measurements before evaluating the relevant guarantee.
River Chain is invented and is not a disguised specification of Bitcoin. Its short description is an exercise in identifying what a claim does and does not provide.
Fictional description B: an authenticated voting chain
A second brochure, for “Cedar Ledger,” says: “A configured validator set proposes and votes on blocks. A specified certificate rule finalizes a block. Under our bounded-adversary model, conflicting finalized histories should not occur. Progress requires sufficient honest voting weight and suitable communication.”
This brochure distinguishes finality from proposal, and it mentions both adversarial and communication assumptions. Yet it still omits the actual certificate rule, weight snapshot, round-transition conditions, signing restrictions, membership-change mechanism and application-validation rules.
A reader must not fill those gaps by borrowing a familiar threshold from another protocol. Certificate arithmetic alone is not a safety proof. The behavior of participants across rounds and conflicting proposals matters, as do the assumptions under which their signatures and state remain reliable.
The progress claim is also incomplete until it defines progress. Does it mean another block proposal, a finalized block, or eventual inclusion of any valid submitted transaction? What additional admission or scheduling policy governs individual requests?
Like River Chain, Cedar Ledger is a diagnostic description rather than a working algorithm. Its more formal vocabulary does not justify assuming that its implementation satisfies the proposed guarantees.
Compare the cards without inventing a winner
The two descriptions emphasize different evidence and tradeoffs. River’s stated selection rule depends on accumulated work among valid branches. Cedar’s finality claim depends on a specified certificate and participant model. Neither card, as written, provides enough information to rank overall security or performance.
A fair comparison aligns the task. If the application needs a particular kind of settled-history evidence, compare that property under each design’s assumptions. If it needs service during a partition, specify what service and which side of the partition. If it needs low latency, define the event at the start and end of the measurement.
Do not compare River’s average block-production interval with Cedar’s finalized-application-response latency and call the smaller number faster. They measure different events. Similarly, throughput of submitted requests is not necessarily throughput of valid, settled application updates.
Resource costs and governance also differ. Participant admission, operation, recovery, upgrades and verification may depend on different actors. These are legitimate comparison dimensions, but they must be supported by evidence rather than inferred from the labels permissionless or permissioned.
The useful output is a list of matched questions and missing evidence, not a score produced by combining incompatible marketing numbers.
Six stress questions for a consensus claim
Question A. A branch has greater advertised weight, but a full validation check finds a rule violation. Must the node accept it?
Answer. No. Selection rules apply within the protocol’s eligible histories. Weight does not automatically override validity.
Question B. Two nodes show different recent heads. Does that alone prove a safety violation?
Answer. No. Examine the protocol’s allowed temporary divergence and settlement rules. Different local heads are not automatically incompatible finalized outcomes.
Question C. Cedar receives no finality certificate during a disruption. Does that prove it finalized contradictory blocks?
Answer. No. Missing progress and conflicting decisions are different observations. Investigate the promised property and whether its assumptions held.
Question D. River produced blocks throughout the test, but one submitted request never appeared. Is per-user inclusion established?
Answer. No. Chain progress does not by itself prove that every request met inclusion conditions or received fair scheduling.
Question E. A proposal says “two-thirds agree” without defining the participant set or weights. Can the security claim be evaluated?
Answer. Not adequately. The denominator, authentication, fault model, vote rules and target property remain unspecified.
Question F. Fabric includes a transaction in an ordered block but a peer marks it invalid. Did the intended state update necessarily occur?
Answer. No. Ordered inclusion and successful state update are distinct in this workflow. Read the validity result rather than infer success from block membership.
Build an assumption card that remains useful
For a named protocol and version, record eight fields:
- The exact validity checks and the component responsible for them.
- Participation admission and the unit of influence or voting weight.
- The history-selection rule and the information a node needs to apply it.
- The finality or settlement claim and its evidence.
- The fault model, bound and relevant population or resource denominator.
- The timing and communication assumptions for each progress claim.
- Membership, upgrade and recovery assumptions that affect the above rules.
- The application-visible event the claim actually supports.
Attach a source to each filled field and leave missing fields visibly unresolved. A blank is more honest than an inherited assumption from a different chain. Record the protocol version because rule changes may alter the meaning of an old summary.
Then write one calibrated conclusion. For example: “The description specifies valid-branch selection, but has not supplied the network and adversarial assumptions needed to evaluate its settlement-confidence claim.” That statement moves the review forward without pretending to know more than the evidence supports.
An assumption card is not a formal proof or a production audit. It is a disciplined reading aid that tells you what further evidence is needed and which claims must not be conflated.
Frequently asked questions
Is proof of stake a complete consensus specification?
No. A system still needs precise validity, participation, voting, history-selection and settlement rules, together with their assumptions.
Does a vote make invalid data valid?
Not under a protocol that requires the violated validity rule. Agreement about bytes and satisfaction of application rules must be distinguished.
Does no fork mean every transaction succeeded?
No. The meaning of fork freedom and transaction validity depends on the system. An ordered record can have a different status from an applied state update.
Can a consensus protocol guarantee every user instant inclusion?
Do not infer that from a general progress claim. Admission, network conditions, capacity, scheduling and censorship assumptions need separate examination.
Sources and next reading
Sources checked on 12 October 2026, Singapore time. River Chain and Cedar Ledger are original, deliberately incomplete diagnostic examples. They do not specify deployable protocols or claim proved security.
- Bitcoin Developer Guide: Block Chain, for valid-branch and cumulative-work context.
- Ethereum: Gasper, for the distinction between fork choice and finality components.
- Hyperledger Fabric: The Ordering Service, especially its separation of ordering and peer transaction validation.
- Distributed Consensus, Quorums and Fault Tolerance, for the existing replicated-log mathematics foundation.
- Proving Software Correct Before It Runs, for the existing formal-reasoning foundation.
Next, follow two nodes through delayed messages and a network partition. The aim will be to record what each node knows, which head it selects, and what can change when communication returns.
CHAPTER 44 OF 48 · The extended reading room
44. Proof of Work and Cumulative Work: Targets, Trials and Valid Branches
Continue into the existing eduKateSG lesson: Proof of Work and Cumulative Work: Targets, Trials and Valid Branches. The explanation below is included here for readers who want the longer worked treatment in one place.
A target is an acceptance boundary
Imagine a hash-like output represented by one byte, so its numerical value lies between 0 and 255. Set a toy target of 15. An output passes if its value is less than or equal to 15: the successful values are 0 through 15, including both endpoints.
There are therefore 16 successful values out of 256 possible byte values. Under a uniform-output model, one independent attempt succeeds with probability 16/256, or 1/16. A lower target allows fewer successful values and makes success less likely per attempt.
The comparison is numerical. It is not a vote about whether the hash looks impressive, and it is not a measure of how many zeros someone typed into a report. Leading zero patterns can help people visualize a small number in a fixed representation, but the actual comparison is against the target.
Bitcoin uses a much larger numerical space. Its block-header reference describes a target encoded in the header and a header hash that must be at or below it. The byte-sized model here is only a teaching reduction; its values are not Bitcoin difficulty settings.
Fix the exact candidate bytes
For our reproducible exercise, the candidate is the UTF-8 encoding of the following pattern: archive-demo|parent=Q|records=R|nonce=N. Replace N with an ordinary decimal integer, with no leading zeros, spaces, quotation marks or final newline.
The strings Q and R are literal classroom labels. They are not real block hashes or a real transaction commitment. The word nonce names the changing field in this example; it has no value outside the supplied string format.
Apply SHA-256 once to the entire candidate. Read the first two hexadecimal characters of the digest as one unsigned byte. That byte, not the whole digest, is what our toy rule compares with 15.
These choices are explicit because an invisible newline, a changed character or a different encoding changes the input. “I hashed the same text” is not enough if one tool silently appended a line break. Reproducibility begins with bytes, not with a visual resemblance between two screens.
The exercise also deliberately differs from Bitcoin: real Bitcoin block headers use a specified binary layout, and the proof-of-work hash uses double SHA-256 over that header. Do not submit our text strings as if they were protocol objects. Their purpose is to make a small verification calculation inspectable.
Reproduce three sample trials
With nonce 0, the exact input is archive-demo|parent=Q|records=R|nonce=0. Its SHA-256 digest is f24ce500e8c7141106d109c24cc6928616508b65641b0ba0112fd71b35592937. The first byte is hexadecimal f2, decimal 242, so it fails the target of 15.
With nonce 2, the digest is 1e9d36698df1e4fe4970e28069c1aae26a76bdf086effd006affb9599a5ee1e0. Its first byte is hexadecimal 1e, decimal 30, so this candidate also fails.
With nonce 13, the digest is 0cea7f12b0e6489aafb77d47fb3226d855ed034d2a0933f6d31c1ceb35dc3727. Its first byte is hexadecimal 0c, decimal 12, so it passes.
Checking nonces 0 through 13 in increasing order gives the byte values 242, 80, 30, 129, 106, 209, 114, 126, 195, 221, 41, 169, 182 and 12. The first 13 candidates fail; the fourteenth candidate passes. We count 14 trials because nonce 0 is also a trial.
A verifier given the successful candidate need not repeat the 13 failed trials. It can hash that candidate and check the condition. This asymmetry between searching and checking is the central teaching point, while the deliberately easy first-byte condition makes our example simple to check.
Expected trials are not a receipt for actual trials
Under the exercise’s independent uniform-output model, a success probability of 1/16 gives an expected waiting time of 16 trials. The actual deterministic sequence above succeeded on trial 14. There is no contradiction: an expectation is not a promise about each sequence.
Someone might succeed on the first candidate or need far more than 16. Finding a passing result does not reveal an authenticated counter of the producer’s failed attempts, machine time or electricity use. Our list of 14 trials is known because the exercise explicitly computed and recorded that search order.
Nor does the nonce value itself prove the number of attempts. A producer could start at a different number, search in parallel or change another allowed field. A nonce of 13 is an input value, not a trustworthy receipt showing exactly 14 units of effort.
This distinction explains why a protocol associates work with the target condition rather than accepting a producer’s claimed hours. The system needs a reproducible measure that verifiers can derive from the rules and candidate, not a private activity log that the producer can embellish.
Even the phrase “computational work” needs care. The successful object evidences satisfaction of a search condition under the hash assumptions. It does not prove who owned the hardware, whether the controller was independent, or the truth of any physical-world statement carried by a transaction.
An unusually low hash does not create bonus work
Our passing first byte is 12 under target 15. Suppose another candidate has first byte 1 under that same target. Both satisfy the condition. In the work-accounting model used here, the second does not receive extra credit merely because it was luckier.
The assigned work comes from the required target, not the accidental distance below it of a successful output. Otherwise, the accounting rule would be different and would need its own definition and analysis. Do not infer such a bonus from a visually striking hash.
For a concrete implementation reference, Bitcoin Core’s chain-work calculation derives the work contribution from the encoded target. The linked development branch can change; the source was checked on the date listed below. Our small formula in the next section is an analogy for arithmetic practice, not copied production code.
This also prevents a reporting mistake: “this block has more leading zeros” does not by itself establish that its branch has more cumulative work. You need the required targets and the contributions along the eligible history.
Calculate work in an eight-bit classroom model
Define the toy work contribution for a valid block as the integer part of 256 divided by target plus one: floor(256/(target+1)). The parentheses matter. The denominator includes the extra one because zero is a successful output when the comparison is inclusive.
With target 63, there are 64 passing values, so the modeled success probability is 64/256 and the assigned contribution is 4. With target 31, there are 32 passing values and the contribution is 8. With target 15, there are 16 passing values and the contribution is 16.
For these selected targets, the division is exact. With another target, an integer work measure and the reciprocal success probability need not be numerically identical because of rounding. The lesson deliberately chooses simple values so the branch comparison can be checked without hiding that distinction.
These values are dimensionless teaching units. They are not seconds, joules, currency or observed hashes actually computed by a particular producer. Multiplying them by an invented price would not turn the exercise into a profitability estimate.
The model supplies each block’s required target as valid under its fictional rules. A producer is not allowed to choose a convenient target and demand acceptance. Real protocols specify how the required target follows from context; our exercise does not reproduce Bitcoin’s adjustment schedule.
Compare two valid branches with different lengths
Both branches start at the same supplied ancestor Q. We can omit their shared earlier contribution because it is identical on both sides. The classroom problem supplies all descendant blocks as fully validated, including their required targets.
Branch A has three blocks after Q. Each has target 63 and contributes 4 work units. Its added cumulative work is 4+4+4=12.
Branch B has two blocks after Q. Each has target 31 and contributes 8 work units. Its added cumulative work is 8+8=16. Under our rule of choosing the eligible branch with greater cumulative work, B wins despite having fewer blocks.
This is a numerical illustration of why block count and accumulated work are different quantities. It is not a claim that these exact target schedules would be valid for two short Bitcoin forks from the same ancestor. Their permissibility is supplied by the fictional model.
If A gained another valid target-63 block, its total would become 16, tying B. Our worksheet does not specify a tie-breaking rule, so that modified case cannot be uniquely decided from the given information. If A gained two such blocks instead, its added total would be 20 and exceed B’s 16.
A branch preference remains separate from an absolute guarantee about all future history. The exercise is a comparison over a fixed candidate set, not a universal finality proof or a recommendation about how many confirmations a real transaction requires.
Validation comes before the ranking
Now add branch C. It advertises 100 work units, but one of its blocks contains a state transition forbidden by the exercise’s validation rules. Under the supplied rule, C is ineligible. It does not beat A or B merely by claiming a larger number.
There are several independent questions a verifier must keep separate: did the candidate meet the correct target, was that target required in its context, did its data match the required commitments, and were the block and state transitions otherwise valid? Passing one check does not waive the others.
Bitcoin Core’s proof-of-work checks show target and hash validation in a real implementation. Those functions are part of a larger validation system, not a standalone proof that every transaction or history is valid. The Bitcoin developer guide also qualifies branch comparison in terms of valid blocks.
For the classroom worksheet, write “invalid; excluded” beside C instead of assigning it a place in the valid ranking. That wording makes it harder to mistake an impressive advertisement for an accepted fact.
Changing the candidate means checking again
Suppose the producer changes records=R to records=S after finding nonce 13. The old digest does not authenticate the changed input. The verifier must hash the new exact bytes and evaluate the new result. The old successful trial is not transferable just because the nonce is unchanged.
In a real block structure, commitments and parent references connect the header to particular contents and ancestry. A change may propagate through those commitments and require a different header calculation. This lesson does not claim that any text field can be substituted directly into a Bitcoin header.
The useful principle is narrower: the checked work condition belongs to a particular candidate under a particular rule. It is not a general certificate that the producer may attach to any document, transaction or branch it later prefers.
Likewise, a correct hash under the wrong target is not enough. If the contextual rule requires target 15, a candidate with first byte 30 cannot pass by announcing target 63. The easier target changes the question rather than answering the original one.
Six worked questions
- Does byte value 15 pass target 15? Yes. The comparison is inclusive. Value 16 fails.
- Does nonce 13 prove the producer made exactly 14 attempts? No. Our recorded sequential exercise did, but the nonce alone is not an attempt counter.
- Under target 15, does successful byte 1 earn more modeled work than successful byte 12? No. Both receive the same target-derived contribution under our rule.
- Which branch wins: three target-63 blocks or two target-31 blocks? The latter contributes 16 rather than 12, assuming all required targets and blocks are valid.
- An invalid branch advertises 100 units. Where does it rank? It is excluded before valid-branch comparison.
- The target required by context is 15, but the candidate advertises 63 and has byte 30. Is it acceptable? No. It fails the required target and cannot authorize its own easier condition.
For an extension, ask whether 16 expected trials means that 16 attempts guarantee success. It does not. Under the independent model, the probability of no success in 16 trials is (15/16) raised to the sixteenth power, which is greater than zero. A mean waiting time is not a deadline.
A verifier's reading checklist
Before accepting a work claim in a document, identify the exact candidate format, hash procedure, numerical interpretation and target comparison. Then identify where the required target comes from. A target chosen only by the claimant cannot support the intended difficulty rule.
Before comparing histories, confirm which branches are eligible and how each work contribution is derived. Record cumulative work separately from height. If the comparison has a tie, do not invent a tie rule that the specification did not provide.
Finally, state the conclusion at the right level. “This candidate satisfies the toy target” is narrower than “this block is valid,” which is narrower than “this branch is selected.” None automatically means that a real-world claim is true or that future history cannot change.
Frequently asked questions
Is proof of work the same as a hash?
No. Hashing is an operation. Proof of work adds a specified acceptance condition whose satisfaction is intended to require search under the relevant assumptions.
Is the longest chain always the chain with the most blocks?
That phrase can be misleading. In the Bitcoin context discussed here, valid cumulative work matters. Our two-branch example deliberately gives the shorter branch the larger work total.
Can a lucky hash prove a particular electricity bill?
No. A passing result and target do not authenticate the producer’s actual hardware, number of attempts or energy consumption.
Does more work make an invalid transaction valid?
No. The validation rules remain binding. Work-based ranking applies to eligible histories, not to anything that advertises a large work total.
Sources and next learning steps
Primary references checked on 12 October 2026, Singapore time: the Bitcoin block-header reference, Bitcoin developer guide, Bitcoin Core chain-work source and proof-of-work source. Only the stated header, target, validation and work-accounting concepts are used; unrelated historical parameters in the documentation are not treated as current guidance.
The exact SHA-256 trial strings and eight-bit branch arithmetic are original classroom examples, independently reproducible without connecting to a blockchain. Next, compare proof-of-stake participation: what proposals and attestations do, which actions the protocol checks, and why being offline is a different condition from signing incompatible messages.
CHAPTER 45 OF 48 · The extended reading room
45. Proof of Stake, Validators and Slashing: Reading the Evidence Behind Participation
Continue into the existing eduKateSG lesson: Proof of Stake, Validators and Slashing: Reading the Evidence Behind Participation. The explanation below is included here for readers who want the longer worked treatment in one place.
Stake is part of a participation rule
Proof of stake is a family of designs in which protocol-recognized stake is involved in assigning participation or influence. It is not simply a poll where every visible node has one equal vote. The active participant set, effective weight and eligible actions are defined by the particular protocol.
Ethereum’s proof-of-stake documentation provides the setting for this lesson. A validator identity is associated with protocol duties and signing capability. One operator can manage more than one validator, so validator count does not automatically measure independent control.
The protocol also needs more than a weight rule. It must define what blocks are valid, how participants choose a head, how finality is established, which messages are acceptable and how state changes are processed. “Stake-weighted” alone does not answer those questions.
For this guide, keep an evidence card with the network, applicable rules, validator identity, message type, relevant slot or epoch, signed data and verification status. A statement such as “validator V voted twice” is incomplete until those fields tell us what was actually signed.
Proposals and attestations do different jobs
A block proposal presents a candidate block for other participants to check. Being the selected proposer does not give a validator permission to bypass execution or consensus rules. Other nodes still need to validate the candidate.
An attestation is a validator’s signed consensus message. In the Ethereum example, its data includes a view of the head and source and target checkpoint information. Those components relate to fork choice and finality, but an individual attestation is not by itself a certificate that the entire network has finalized a block.
The block proposal guide and attestations guide describe these roles. We use only the role distinction here, not an assumed permanent duty schedule or every implementation detail on those pages.
A proposal, an attestation and a normal application transaction are therefore different objects. A signature valid for one message type and context is not automatically valid authorization for another. The verification context is part of the claim, not decorative metadata.
Missing participation is not a signed contradiction
Suppose a fictional monitoring record says validator V produced no observed attestation for one duty. This is evidence about the monitor’s observation. To determine whether the protocol counted participation, one would need the relevant accepted messages and state, not just the monitor’s missing log line.
If participation was genuinely missed, consequences may include missed rewards or ordinary penalties under the applicable rules. Missing a proposal and missing particular attestation components need not have identical treatment. Do not use one generic “offline fine” for every event.
Slashing concerns specified provable message behavior. It is not simply another word for losing any amount of stake. Ethereum’s rewards and penalties documentation separates ordinary participation consequences from slashing and discusses forced exit and associated loss for slashable behavior.
That distinction does not make downtime harmless. A prolonged participation problem can affect the validator and network in important ways. It means that an absence and a pair of conflicting signed statements answer different evidential questions.
What the message worksheet includes and omits
Our classroom records identify one fictional validator V and pairs of attestation data. Each pair lists a source epoch and target epoch. The small integers are teaching labels, not records taken from a real chain.
For the exercises, assume the messages are associated with the same intended network and signing context, and that stated differences in the data are real. We will first classify the shape of the data. We do not create signatures or prove that these are valid on-chain evidence objects.
An actual slashing assessment additionally checks the relevant signatures, participant identities or intersections, state eligibility and applicable processing rules. The public specification contains those checks beyond the simple data predicate. A diagram of epochs is not a substitute for them.
The distinction is deliberate: the worksheet can show that a pair matches a prohibited data pattern while still withholding the conclusion that a real validator has been successfully slashed. Data shape, admissible evidence and processed consequence are separate stages.
Case A: different data with the same target epoch
Record A says that V signed attestation data with source epoch 2 and target epoch 6. Record B says that the same V signed different attestation data with source epoch 3 and target epoch 6. The target epoch is the same, and the data differs.
The Ethereum consensus specification’s attestation-data predicate includes this double-vote shape. The important comparison is the target epoch and distinct data, not the vague claim that someone “voted twice for the same block.”
Our pair satisfies that shape. It does not need the two source epochs to be equal. Conversely, repeating exactly the same attestation data is not the distinct-data condition in this predicate.
In a report, write “the supplied pair matches the double-vote data condition for one validator, subject to the remaining evidence checks.” That is more precise than treating every repeated network packet as a punishable new vote.
The lesson also explains why time labels must be interpreted correctly. A slot and an epoch are different protocol concepts. Replacing a target-epoch comparison with an arbitrary wall-clock timestamp comparison would test a different condition.
Case B: one vote surrounds another
Now compare source 2, target 6 with source 3, target 5 for the same validator V. The first source is earlier than the second source, while the second target is earlier than the first target. Written as inequalities, 2 is less than 3 and 5 is less than 6.
The first source-to-target interval strictly surrounds the second. This matches the surround-vote shape in the same specification predicate. Both inequalities are strict: merely sharing an endpoint does not satisfy this particular surrounding test.
The phrase “surround” describes the relationship between source and target epochs. It does not mean that the voter was physically surrounded, that a message arrived late, or that the latest head changed. Those are different facts.
A reader should check both possible orderings of an unordered pair when looking for one interval surrounding the other. Reversing the names of the two records does not remove the underlying relationship. An actual evidence object still has to satisfy its protocol’s processing requirements.
This example is intentionally small enough to check by hand. It teaches a data relation, not a method for creating real slashable messages or a recommendation to experiment with a live signing key.
Three look-alikes that need different conclusions
First, compare source 2, target 4 with source 4, target 6. The targets differ, and neither interval strictly surrounds the other. These two simplified records do not match either data pattern above. That limited result does not prove every other aspect of the messages is valid.
Second, suppose the same source 2, target 6 attestation data appears twice, with the worksheet explicitly stating that the entire data object is identical. There is no distinct-data double vote in that pair, and no strict surrounding relation. Duplicate delivery should not be mistaken for two incompatible statements.
Third, suppose one message belongs to V and the other to a different validator W. Even if their source and target numbers have a conflicting shape, the pair does not establish that a single validator signed both. Actual aggregate-attestation evidence must identify the relevant participants rather than treating all signatures as one anonymous pool.
These cases are useful because they force a narrow conclusion. “This pair does not establish the specified offense” is different from “the validator can never be slashed” or “the network is safe.” A local test should not become a universal verdict.
Proposer evidence has its own comparison
For a fictional proposer example, consider two different signed block headers attributed to the same validator for the same slot. This is a different message category from our attestation pairs.
The specification’s proposer-slashing processing checks matching slots and proposer identity, different headers, validator eligibility and signatures in the relevant signing domain. We cite it to show that several checks combine; the phrase “two blocks appeared” is insufficient.
Two different validators’ proposals do not automatically establish one validator’s double proposal. Nor does receiving the same signed header twice establish two different headers. The exact objects and signer context matter.
The processing rules are part of a versioned specification. The linked base section should be read with applicable fork changes for a real deployment. This lesson does not claim that every numeric parameter or data structure on a base-specification page is the current full network configuration.
Intention and protocol evidence are different questions
A validator operator may accidentally run conflicting signing paths, restore stale information or misunderstand a duty. The protocol’s message checks do not establish the operator’s mental state. Conversely, a statement that “it was an accident” does not make two conflicting authenticated messages disappear.
For reporting, distinguish the behavior demonstrated by evidence from the cause being investigated. A software fault, operational mistake and deliberate action can require different remedies, even if a particular signed-data condition is the same.
Avoid attributing malicious intent merely because a penalty occurred. Also avoid promising that an accidental event will be exempt from protocol consequences. Neither conclusion follows from the message worksheet.
This is one reason to teach slashing as an evidence rule rather than a moral label. The relevant question is which signed acts can be established under which rules. Human accountability, service obligations and legal interpretations are separate matters outside this technical exercise.
Why signing history matters alongside keys
A key backup preserves signing capability. It does not necessarily preserve knowledge of what that key has already signed. A second signer with the same capability but incomplete history can make a new decision without knowing it conflicts with an earlier message.
EIP-3076, Slashing Protection Interchange Format, addresses transferring signing-history information between clients. The page was marked Last Call when checked; its creation date is 27 October 2020. It should not be casually described as a finalized standard merely because it has an EIP number.
The conceptual lesson is that validator continuity includes relevant prior signing constraints, not only secret-key availability. A history record also needs the correct chain context. Information from one network cannot be assumed interchangeable with another.
This is not a migration checklist. Importing a file, seeing a success message or possessing a backup does not by itself prove a transition is safe. Actual operational work depends on the supported client procedure, complete relevant information and authorized handling of sensitive keys.
For our paper exercise, imagine two assistants maintaining separate copies of V’s message record. One copy contains the earlier 2-to-6 entry and the other does not. Their decisions may differ because their knowledge differs, even though they represent the same signing capability. The example explains the risk without asking anyone to duplicate a real key.
Penalties, exit and recovery are separate states
“Slashed,” “exiting,” “withdrawable” and “offline” are not interchangeable status labels. A protocol can impose consequences and schedule state changes over time; an application interface may expose only part of that process.
Do not infer immediate withdrawal or complete recovery from the observation that a validator has stopped signing. Nor should a general educational article promise a universal exit duration or a fixed loss. Such details depend on the named protocol, applicable rules, state and sometimes broader participation conditions.
The same caution applies to a network recovering finality after participation problems. A mechanism designed to help recovery is not proof that every possible disruption resolves within a specific time. A careful reader separates the mechanism’s purpose from a guarantee under established assumptions.
This article therefore uses no financial estimates or recommended actions. Its practical outcome is a clearer evidence vocabulary: missing duty, candidate slashable message pattern, validated evidence, processed consequence and subsequent lifecycle state.
Six questions with worked answers
- V is not seen attesting by one monitor. Is that already a slashing proof? No. It is a missing observation, and even established missed participation is different from conflicting signed-message evidence.
- V signs different data targeting epoch 6 twice, once from source 2 and once from source 3. Which shape is present? The double-vote data shape, subject to the remaining protocol evidence checks.
- V signs 2-to-6 and 3-to-5. Which shape is present? The first strictly surrounds the second because 2<3 and 5<6.
- The complete same 2-to-6 data object is delivered twice. Does that pair show a distinct-data double vote? No. The problem explicitly says the data is identical.
- V signs one record and W signs another. Can the pair alone prove that V signed both? No. Signer identity and, where relevant, participant intersection must be established.
- A restored signer has the key but no record of earlier signing. Does key possession establish safe continuity? No. Relevant signing history and context are separate requirements; this observation does not authorize a real recovery action.
For an extension, compare 2-to-6 with 2-to-5. The targets differ and the equal sources do not satisfy a strict surrounding inequality. These two simplified records therefore do not match the two taught predicates, although that is not a complete validity assessment.
Frequently asked questions
Do all proof-of-stake systems use these slashing rules?
No. The detailed examples are tied to named Ethereum documentation. Other systems can have different duties, evidence requirements, consequences or no equivalent mechanism.
Is every loss of rewards slashing?
No. Missed rewards, ordinary penalties and slashing are distinct categories. The applicable protocol determines which consequence follows from which event.
Does a valid signature make an attestation correct?
A valid signature is only one part of the evidence. Message context, participant eligibility, data relationships and protocol rules also matter.
Does slashing prove that the operator intended harm?
No. Protocol evidence concerns signed behavior and state conditions. Intention and root cause require separate investigation.
Sources and next learning steps
Primary references checked on 12 October 2026, Singapore time: Ethereum’s proof-of-stake overview, proposal guide, attestation guide, rewards and penalties guide, the base consensus specification and EIP-3076. The message pairs are original synthetic exercises, not real signatures or accusations.
Next, examine Byzantine vote certificates: how several authenticated votes combine, why participant overlap matters, and why counting a quorum without the surrounding protocol rules is not a complete safety proof.
CHAPTER 46 OF 48 · The extended reading room
46. Finality, Confirmations and Reorganisations: A Recipient's Transaction Timeline
Continue into the existing eduKateSG lesson: Finality, Confirmations and Reorganisations: A Recipient's Transaction Timeline. The explanation below is included here for readers who want the longer worked treatment in one place.
Begin with the question the recipient actually needs answered
Our fictional archive receives an update request T for a catalogue entry. The application wants to know whether it can display the update as pending, included provisionally or covered by the network’s finality condition. It also separately wants to know whether execution produced the intended catalogue change.
Those are not the same question. A request can be created locally without reaching a node. A node can acknowledge it without a block including it. A block can include it while the application-level operation fails. A recipient can observe an inclusion that later ceases to belong to the selected chain.
Before choosing a status label, write the claim in a full sentence. “A service returned an identifier for T” is different from “T appears in block A100 on the currently selected branch.” The second is different again from “the supplied finality evidence covers that block.”
A useful status record includes the network, transaction identifier, observed containing block hash if any, selected-head reference, observation time, evidence source, execution result if known and relevant finality reference if supplied. Missing information should remain missing rather than being silently inferred.
Define the confirmation convention
For this classroom exercise, when T is included at height i on the selected chain and the selected head is at height h, its confirmation count is h minus i plus one. Inclusion in the head itself therefore counts as one, not zero.
The convention counts the containing block and its selected-chain descendants. It is not a count of independent auditors, signatures or elapsed minutes. It also does not measure cumulative work directly when work per block varies.
If T is not included in the selected history, this formula is not applicable. Our worksheet writes “not included” rather than continuing to subtract heights from an old branch. Some interfaces use a zero or another status for particular cases, but the meaning must come from that interface’s documentation.
The Bitcoin developer discussion of confirmations describes inclusion and added blocks as confirmation observations. We use that narrow concept only. The page also contains historical operational guidance; this lesson does not adopt its dated timing examples or a universal acceptance count.
The six-stage archive timeline
At s0, T has been submitted to one service, and the observed selected head is at height 99. The worksheet supplies no containing block. The recipient can record the submission acknowledgement but cannot claim inclusion.
At s1, T is included in block A100, and the selected head is A100 itself. The count is 100−100+1=1. The record must identify A100, not just the number 100.
At s2, the selected head reaches A102 through valid descendants of A100. T remains in A100, so the count becomes 102−100+1=3. We have more depth in the supplied branch, but no finality evidence has been supplied for A100.
At s3, the selected history changes to another branch with head B103. The exercise explicitly says A100 is not part of that history and T is absent from it. The old three-confirmation observation is no longer T’s current selected-chain inclusion status.
At s4, the exercise explicitly supplies that T is eligible for inclusion again and is included in B104. The selected head is B106, so the new count is 106−104+1=3. Reinclusion is a fact supplied by this case, not a promise that every removed transaction will automatically return.
At s5, the selected head is B107 and separately supplied valid finality evidence identifies checkpoint B105, which descends from B104. T has four confirmations under our counting convention and is also covered by that finality checkpoint. These are two recorded facts, not two names for the same calculation.
This is a synthetic network timeline with a separately supplied finality mechanism. It is not a claim that Bitcoin has this checkpoint-finality process. We have not specified how the fictional mechanism works, only the evidence the exercise supplies at s5.
What the reorganisation changed
At s3, the recipient should revise its current inclusion view. T’s former containing block A100 still belongs to the recorded observation history, but it is absent from the newly selected branch. The application should not present A100’s old confirmation count as if it described B103.
The change does not prove that T’s bytes were erased everywhere. It does not prove that the request never existed, nor does it automatically identify malicious behavior. It establishes a change in which history the observer currently follows under the exercise’s conditions.
It also does not establish a reversal of finalized history, because the worksheet never said A100 was finalized. Calling every ordinary branch change a “finality failure” would add a claim that the evidence does not support.
For an archive display, a provisional catalogue update derived from A100 may need to be withdrawn or marked as no longer included. The exact application response belongs to its defined policy. The technical point is that current derived data should not quietly mix records from incompatible selected histories.
Reinclusion starts a new containing-block observation
At s4, T appears in B104. The transaction identifier can be the same while the containing block differs. That is why storing only T’s identifier and a single permanent “confirmed” flag loses useful context.
The new count is three because B104, B105 and B106 form the supplied selected segment. It is not six by adding the old three from the abandoned A branch. Confirmation depth is evaluated relative to a particular current inclusion and selected history, not accumulated as loyalty points across incompatible branches.
Reinclusion also does not automatically preserve the earlier execution result. The surrounding state or ordering may differ. The worksheet does not provide an execution result until a case explicitly says so, so the application must not infer that the requested catalogue change succeeded merely from seeing T again.
This distinction is useful even without a financial example. A request to update a catalogue field might depend on an earlier version number or authorization state. A changed preceding history can affect what the request does when processed. The result needs its own evidence.
Depth-based confidence and explicit finality differ
In a proof-of-work setting, additional valid work extending a history can make replacing it harder under the relevant assumptions. A confirmation count is a convenient depth observation, but it is not a universal probability or an absolute guarantee. Interpreting it requires the protocol, work, adversarial and network context.
The Bitcoin block-chain guide describes valid competing branches and work-based selection. A recipient should not turn a familiar number of blocks into an unconditional safety promise or transplant a rule from one network to another.
A protocol with explicit finality supplies another kind of status according to its own mechanism and assumptions. Ethereum’s Gasper overview separates fork choice from its checkpoint finality mechanism. This is a named example of the distinction, not the specification of our fictional timeline.
Neither category removes every other risk. An incorrect observation source, software bug, exceeded model assumption or application interpretation error may still matter. The useful question is which claim the evidence supports, not whether the interface uses the reassuring word “final.”
Do not confuse a receipt with the latest chain view
A saved receipt can identify where a transaction was included when the receipt was observed. It does not automatically prove that the same block remains selected at a later time. The application should relate the receipt’s block reference to its current chain observation.
Ethereum’s JSON-RPC documentation distinguishes block selectors such as latest, safe and finalized, and documents transaction receipts containing block references and execution information. Those fields support different questions. A latest-state query is not automatically a finalized-state query.
If the application obtains a receipt and then queries a different provider’s head at another time, it must account for the mismatch. The two responses may not describe one coherent snapshot. Matching block hashes and ancestry is more informative than comparing heights alone.
This guide is an evidence-reading lesson, not a command sequence. Real client versions and providers differ, so the exact interface semantics and trust model must be checked before an application depends on a field.
Design status labels that can change honestly
For our archive, useful classroom labels are “submission observed,” “included in A100,” “included with three confirmations on the observed branch,” “no longer included in the selected history,” and “included in B104 and covered by supplied finality checkpoint B105.”
These are more verbose than a single green tick, but an interface can present a short label with the supporting detail available. The important requirement is that the underlying record preserves what was observed and when.
A provisional display should be capable of reflecting a later changed observation. Calling a label provisional while designing no way to revise its derived data is an inconsistency in the application, even if the blockchain behaves as specified.
The exercise does not prescribe one acceptance policy for every recipient. The significance of a reversible catalogue preview differs from an irreversible external action. Technical status evidence informs a policy; it does not choose the user’s consequences or authorize external actions by itself.
Separate protocol finality from organizational completion
At s5, the worksheet supplies finality evidence covering B104. That supports a statement about the protocol treatment of the relevant history under its assumptions. It does not prove that the archive’s reviewers have approved the wording, that a physical object arrived, or that every external system has updated.
An organization may define additional completion criteria such as successful execution, a required human review or reconciliation with another record. These criteria should be stated separately rather than hidden behind a blockchain status.
Likewise, legal settlement or legally binding rights are not established merely by using the word finality in a technical document. This lesson makes no jurisdiction-specific legal conclusion. Such questions require the applicable legal framework and facts.
The distinction protects both readers and system designers from overclaiming. “The network reports this checkpoint finalized” is a technical statement with a source and scope. “Every obligation is now irreversibly discharged” is a much broader statement that the technical field alone does not support.
A recipient's evidence checklist
First, identify the exact request and network. Similar-looking identifiers on different networks or application environments should not be combined. Record which source supplied the observation and when.
Second, if inclusion is claimed, identify the containing block and establish its relationship to the selected history being used. A historical proof or receipt for a block is not automatically a current branch-membership statement.
Third, compute or interpret depth using the stated convention. Keep heights, block hashes, cumulative work where relevant and finality status distinct. Do not convert elapsed time into a guaranteed block count.
Fourth, inspect the execution result and application meaning separately. A successfully processed transaction can still require application-level interpretation; a failed execution is not made successful by waiting for more descendants.
Fifth, if the policy relies on finality, identify the actual finality evidence or trusted observation and whether it covers the containing block. Then record any remaining organizational conditions. This is a reasoning checklist, not authorization to transfer assets or trigger an irreversible external action.
Six exercises with answers
- At s0, a service returns T’s identifier. What can the recipient claim? Submission acknowledgement from that service, not inclusion or finality.
- T is in A100 and the selected head is A102 on that branch. What is the count under our convention? Three: 102−100+1.
- At s3, B103 is selected and T is absent from that history. Can the application retain three as T’s current confirmation count? No. It may preserve the historical observation, but the current inclusion claim has changed.
- At s4, T is included in B104 and the head is B106. Is the new count three or six? Three. Old depth on the incompatible A branch is not added.
- At s5, checkpoint B105 is supplied as validly finalized and descends from B104. Does it cover T’s containing block? Yes, under the supplied ancestry and finality assumptions. This is distinct from the four-confirmation calculation at head B107.
- T is covered by finality evidence, but its execution result reports failure. Has the intended catalogue change succeeded? No such conclusion follows. Finality of inclusion does not reverse the reported execution outcome.
For an extension, replace the finalized checkpoint at s5 with B103 while leaving T in B104. The checkpoint no longer covers T’s containing block. A finalized checkpoint existing somewhere in the history is not enough; its ancestry relationship to the relevant inclusion matters.
Common reporting mistakes
“Three confirmations means three validators approved it” confuses depth with participants. “It was once included, so its current status cannot change” ignores the selected-history relationship. “The timer expired, so it is finalized” replaces protocol evidence with a user-interface event.
“The receipt exists, so execution succeeded” collapses inclusion and outcome. “The network finalized something, so T is finalized” omits whether the checkpoint covers T’s block. “The new branch is longer, therefore every old transaction was copied into it” invents a merge that the evidence does not establish.
Each mistake can be repaired by attaching the label to a specific object, history, source and time. Clear status language is not merely cosmetic. It prevents an application from making decisions on a claim stronger than its data.
Frequently asked questions
How many confirmations are always enough?
There is no universal number supplied by this lesson. The answer depends on the system, assumptions and the recipient’s defined consequences. A familiar count is not a general guarantee.
Does a reorganisation always remove the transaction?
No. It can change the containing history in different ways. Our case explicitly supplies T’s absence at s3; another trace might include the same transaction on both branches.
Does finality mean that data is true?
No. It concerns the protocol’s treatment of history. Input truth and application interpretation require other checks.
Should an application erase old observations after a branch change?
The classroom approach preserves the observation history while updating the current view. Real retention and privacy policies need their own requirements; this lesson does not instruct you to delete or retain particular production records.
Sources and next learning steps
Primary references checked on 12 October 2026, Singapore time: the narrow confirmation discussion in the Bitcoin developer guide, its block-chain guide, Ethereum’s Gasper overview and JSON-RPC reference. Historical payment recommendations and timing claims are not adopted. The archive timeline and label exercises are original synthetic material.
Next, move from the recipient’s view to the node’s decision process: how fork choice, checkpoints and bootstrap assumptions determine which history a node follows before an application reads its answer.
CHAPTER 47 OF 48 · The extended reading room
47. Smart Contracts as State Machines: Check the Caller, Conditions and Limits
Continue into the existing eduKateSG lesson: Smart Contracts as State Machines: Check the Caller, Conditions and Limits. The explanation below is included here for readers who want the longer worked treatment in one place.
Code, state and a trigger are three separate ingredients
The Ethereum smart-contract introduction describes contracts as code and state associated with an on-chain address. A program can expose functions that process calls and modify records according to its rules.
The code defines possible behavior. The state records the situation from which a call begins. The trigger causes a particular execution to take place. Knowing any one of these does not tell us the complete result.
For example, the same collect operation might succeed when an item is reserved and fail when it is already collected. A deadline rule can make a call ineligible at a later block, but the existence of that rule does not mean the program spontaneously executes a cleanup transaction when the deadline passes.
Keep the promise narrow: programmed checks can be applied consistently under the execution rules. Whether the checks are sufficient for the real organisation is a separate design question. Consistently enforcing a poorly chosen condition does not make it appropriate.
Define the archive record before its functions
The fictional item is ArchiveItem-7. Its application record has four fields:
- status: Available, Reserved or Collected.
- holder: a symbolic reader identifier, or none.
- deadline: a block number for a reservation, or none.
- paused: a Boolean flag, initially false.
There are three role categories. R and S are supplied authorised readers. C is the curator. A is the pause administrator. These are distinct symbolic actors for the exercise; no address-to-person verification is being claimed.
Initially the item is Available, holder is none, deadline is none and paused is false. The application knows these stored values. It does not have eyes that can inspect a shelf or identify a visitor standing at a desk.
The status names are therefore record states, not self-proving physical facts. A transition to Collected means that the model accepted the required call asserting collection. Whether the item actually left the archive is an external evidence question.
State the reservation and collection rules precisely
Reserve may be called by an authorised reader only when status is Available and paused is false. A successful call sets status to Reserved, holder to that caller and deadline to the current supplied block number plus 20.
Record collection may be called by curator C only when status is Reserved, paused is false and the current block number is less than or equal to deadline. It changes status to Collected, preserves the holder and clears deadline to none.
The inclusive deadline is deliberate. A collection call at block 120 can pass a deadline of 120; one at 121 cannot. “Before expiry” is too vague unless the comparison is defined.
In both rules, all conditions are checked before the listed application fields change. A failed condition leaves those fields unchanged in this toy model. This statement does not mean a real included failed transaction has no fee or sender-counter effect.
The rules say who can change the record, not who physically carries the item. The curator’s role is a technical permission in the model. Organisational policy must separately explain when C should exercise it and what evidence C should inspect.
Define the escape paths and pause behavior
Cancel may be called by the current holder only while status is Reserved. It restores Available and clears both holder and deadline. It is allowed even when paused is true, and this model imposes no additional deadline condition on cancellation.
Expire may be called by anyone only while status is Reserved and the current block number is strictly greater than deadline. It also restores Available and clears holder and deadline. It remains callable during a pause.
Record return may be called only by curator C while status is Collected. It restores Available and clears holder and deadline. It too remains allowed during a pause.
Set pause may be called only by administrator A. It changes the paused flag and leaves status, holder and deadline unchanged. A has no separate permission in this model to record collection, transfer a reservation to another reader or rewrite the other fields arbitrarily.
These choices are a supplied design, not a universal safety recommendation. They make a particular tradeoff visible: a pause stops new reservations and collection records but does not prevent specified ways of resolving existing states. Another application might require different emergency behavior and would need its own analysis.
Trace the ordinary successful path
At supplied block 100, authorised reader R calls Reserve. The item is Available and unpaused, so the call succeeds. The resulting record is Reserved, holder R, deadline 120, paused false.
At block 110, curator C calls Record collection. The item is Reserved, the pause flag is false and 110 is at most 120. The resulting record is Collected, holder R, deadline none, paused false.
At block 130, C calls Record return. The required Collected state holds, so the record becomes Available with holder none and deadline none. The old reservation deadline does not block this return path because the supplied return rule has no such condition.
This last step demonstrates why a function’s actual preconditions matter more than a general story about “the item expired.” The reservation deadline governed collection from Reserved. It was cleared when collection was recorded and is not a universal deadline for every later action.
The trace reports application-state transitions only. It supplies that calls are processed in the listed order. It does not prove physical handover, successful identity checks at the archive desk or finality of a real containing block.
Boundary test: passing a deadline does not itself rewrite storage
Restart from the reservation made by R at block 100, so status is Reserved and deadline is 120. Suppose no further action is called through block 121.
The stored status remains Reserved in our model. Time or block progression has changed which calls can pass their conditions, but no function has yet executed the field updates that restore Available.
At block 121, an arbitrary caller X may call Expire. The status is Reserved and 121 is strictly greater than 120, so the call succeeds and clears the reservation. X does not gain ownership or a reservation by doing so; the specified result is simply Available with no holder.
At block 120, the same Expire call would fail because 120 is not greater than 120. Curator collection at 120 can still pass if the other conditions hold. The pair of comparisons gives a clean boundary rather than overlapping contradictory rules.
A service could submit an expiry-triggering transaction for an application, but that adds an actor, a delivery path and an availability dependency. The condition in the code alone does not guarantee that someone will submit the call or that it will be included promptly.
Pause test: a flag is only as broad as the checks using it
Restart once more from R’s reservation at block 100. At block 105, administrator A sets paused to true. The reservation remains Reserved with holder R and deadline 120; pausing did not erase it.
At block 110, C’s Record collection call fails the pause condition. The curator role and valid deadline are not enough because the rule requires all conditions together.
At that same block, R can still cancel. Cancellation explicitly remains available while paused. After it succeeds, the record is Available, holder none, deadline none, paused true. S cannot now reserve, because Reserve still checks that paused is false.
This exposes two common reading errors. A variable called paused does not necessarily disable every function. Conversely, an administrator’s power to pause does not automatically grant every other role. Read the conditions in each action rather than inferring broad powers from one label.
The OpenZeppelin Contracts 5.x access-control guide illustrates ownership and role-based permission mechanisms. It is a useful reference for separating available functions from permission to exercise them; it does not certify our classroom design or remove the need to examine administrative powers.
Publicly callable does not mean unrestricted success
A function can be reachable by an external caller while still enforcing an internal role or state check. Interface availability and authorisation are different questions.
The Solidity 0.8.30 contracts reference documents visibility and function modifiers. These language mechanisms help express call boundaries and conditions, but an application must still implement the intended checks correctly.
For example, X may be able to submit a call attempting Record collection. That does not make X curator C. In the worksheet, the caller check fails and the application fields remain unchanged.
Hiding a button in a website is not a substitute for the contract’s check. A different interface could attempt the same call. The state machine should enforce its required conditions at the relevant execution boundary, rather than relying only on a front-end convention.
Similarly, a function name such as adminCollect does not create an access restriction by itself. A review needs the actual condition or mechanism that connects the caller to the required role.
Deployment and later calls have different jobs
An application needs an initial configuration as well as transition rules. In this worksheet we supplied the initial fields and roles directly. A real deployment process must establish the corresponding program and initial state under its platform’s rules.
The Solidity contracts reference describes constructors as part of contract creation. Later external calls are a different phase. A correct creation process does not imply that every subsequent call is authorised or that later state can never become unsuitable for an operation.
This distinction is useful when evaluating a demonstration. Showing a deployment identifier proves neither that the application’s role assignments match the intended organisation nor that every transition has been tested. Initialisation is one step in the evidence chain.
Our model has fixed action definitions and no upgrade mechanism. Do not generalise that to all smart-contract systems. Some systems include administrative or upgrade capabilities through their architecture. A real review must identify those paths and their permissions separately rather than assuming the word contract eliminates continuing control.
A valid assertion is not a verified physical event
Curator C can satisfy the technical checks for Record collection even if C makes a mistake about the physical item. The model will consistently record Collected because it is designed to trust that authorised assertion.
That does not make the record useless. It can provide an auditable account of which permitted action was accepted and what state followed. But it is evidence about the system’s accepted statements, not automatic proof that the shelf is empty or the right person received the item.
The Ethereum smart-contract introduction explains the boundary around off-chain information. External data needs a mechanism for entering the execution environment. Adding a sensor or signed report changes the trust assumptions; it does not remove questions about measurement, identity, freshness and malfunction.
For the archive, a complete operational design might require a receipt, staff checks and a dispute process. Those are organisational choices, not facts invented by this program. This lesson does not supply legal advice or claim that a state label creates or transfers legal rights.
Passing tests is evidence, not a security certificate
A state-machine worksheet is valuable because it makes allowed and disallowed transitions explicit. It can reveal missing gates before anyone mistakes a narrative for an implementation.
It does not cover all risks of executable contract code. The Solidity 0.8.30 security considerations discuss issues such as external interactions and resource limits. Our model deliberately contains no external contract calls, so it cannot demonstrate safety under callbacks or other behavior introduced by such calls.
If a later design adds a notification call to another contract during collection, the assumptions have changed. One must inspect how control can leave and return, which state has already changed and what failure behavior applies. Simply appending the new feature to a passing paper exercise is insufficient.
Likewise, tests for R, C and A do not establish that real keys are controlled by the intended people, that role administration is secure or that emergency access is recoverable. Those belong to the larger system’s review.
Exercise: decide the transition, not just the label
Use the exact rules above. For each case, name the relevant conditions and the resulting application fields. Treat each numbered case as an independent scenario unless it explicitly describes a sequence.
- R reserves at block 100 from the initial unpaused Available state. What are status, holder and deadline?
- From that reservation, C records collection at block 120 while unpaused. Does it pass? What is the deadline afterward?
- From that reservation, X calls Expire at block 120. Does it pass?
- From that reservation, no one calls any function through block 121. Is the stored status automatically Available?
- From that reservation, A pauses at 105 and C attempts collection at 110. May R still cancel afterward?
- An item is Collected with holder R. A tries Record return. Does the administrator role suffice?
- C successfully records collection. Does the contract alone prove physical handover to R?
Answers and reasoning
- Status Reserved, holder R and deadline 120. The pause flag remains false.
- Yes, assuming the supplied curator and Reserved conditions. The comparison includes equality. Status becomes Collected, holder stays R and deadline becomes none.
- No. Expire requires a block strictly greater than 120, not equal to it. The reservation fields remain unchanged.
- No. The record remains Reserved until a permitted action executes. Expire has become eligible, but eligibility is not an executed state update.
- Yes. Collection fails because paused is true, but cancellation by current holder R is explicitly permitted during pause. It restores Available and clears holder and deadline while leaving paused true.
- No. Only curator C may record return in this model. A’s pause authority does not imply C’s permission.
- No. It proves only the accepted authorised statement and resulting application state under the supplied model. Physical handover requires separate evidence.
Extension: two readers race for one item
At an unpaused Available state, R and S each request Reserve. If R’s call is processed successfully first, the state becomes Reserved with holder R. S’s later call fails the Available condition and cannot overwrite R under these rules.
If S is processed first, the symmetric outcome holds. The contract enforces the accepted order; this exercise does not choose that order or prove that it is fair. Mempool arrival observations alone do not establish which call must be first.
Frequently asked questions
Does a smart contract run continuously in the background?
Not in this model. Calls trigger execution. A condition can depend on block context without automatically scheduling a future call.
Is a smart contract necessarily a legal contract?
The technical term does not itself establish legal enforceability or legal rights. This lesson concerns code and application records, not jurisdiction-specific legal conclusions.
Does decentralised execution remove administrators?
No. Application code can retain role-based powers, pause controls or other authority. Identify the actual permissions rather than inferring their absence from the execution platform.
Can anyone call the expiry function safely?
The worksheet deliberately permits any caller only after the specified state and deadline checks, with a narrowly defined cleanup result. That design choice is not a general recommendation for every application’s expiry mechanism.
Sources and next reading
Sources checked on 12 October 2026, Singapore time. Solidity references are pinned to 0.8.30; OpenZeppelin’s reference is the Contracts 5.x guide. They support the stated technical concepts rather than certifying the classroom design.
- Ethereum smart-contract introduction: code, state, calls and off-chain information boundaries.
- Solidity 0.8.30 contracts: creation, visibility and function conditions.
- OpenZeppelin Contracts 5.x access control: ownership and role-based permissions.
- Solidity 0.8.30 security considerations: limits of simplified contract reasoning.
Review virtual-machine replay to understand consistent execution of a supplied state machine. Continue to storage, events and indexing to distinguish the current record from historical observations, then to oracles for the pathway from external facts to on-chain assertions. Keep caller, state, condition, effect and external assumption visible in every contract explanation.
CHAPTER 48 OF 48 · The extended reading room
48. Blockchain Oracles: Check the Report Before Trusting the External Fact
Continue into the existing eduKateSG lesson: Blockchain Oracles: Check the Report Before Trusting the External Fact. The explanation below is included here for readers who want the longer worked treatment in one place.
An oracle connects two evidence domains
A contract can evaluate the inputs available in its execution context. It cannot independently inspect a physical cabinet merely because its code contains a variable named temperature.
The Ethereum oracle overview explains how off-chain components supply information for on-chain consumption. Oracle designs vary in data sources, operators and delivery methods. The important common question is how an external observation becomes a specific accepted statement.
Picture the path as physical condition, measurement source, report preparation, authentication, delivery, on-chain acceptance and application use. Each step introduces its own assumptions. A correctly processed last step does not erase uncertainty introduced at the first.
For example, a sensor may be calibrated incorrectly, a reporter may use the wrong unit, delivery may be delayed, or the consumer may read the wrong feed. These failures have different causes and need different checks. Calling the entire path “verified by blockchain” hides rather than resolves them.
A signature identifies an authorised statement, not a thermometer's accuracy
Suppose reporter A signs a message saying that a cabinet measured 7 degrees Celsius at a stated time. A valid signature can support the conclusion that the corresponding signing authority authorised those bytes under the applicable scheme.
It does not prove the sensor was inside the intended cabinet, that its calibration was correct or that the reading was copied without an upstream mistake before signing. A compromised or mistaken authorised reporter can produce an authentic but false statement.
Likewise, several signatures are not automatically several independent measurements. Reporters may all read one upstream database. If that database is wrong, the reports can agree perfectly while sharing the same error.
This is why an oracle review should distinguish signer diversity, operator diversity and source diversity. Counting keys is not enough to understand dependence. The worksheet will check distinct authorised reporters, then separately explain what that check cannot establish.
Specify exactly what the report means
Our fictional application monitors Cabinet-7 for a classroom inspection exercise. It records a flag, not an instruction to open a door, release goods or make a payment.
Each signed report contains the network and consumer-contract context, cabinet identifier, reporter identifier, batch sequence, observation time, unit and integer reading. The signature is assumed to cover all these fields in an unambiguous encoding.
The unit is explicitly whole degrees Celsius. A value of 7 means 7 degrees, not 0.7, 70 or an unlabelled quantity. The accepted numeric range is 0 through 50, solely as a classroom plausibility rule.
The context fields prevent this exercise from treating a report for another cabinet or consumer as interchangeable. The sequence field helps reject an already consumed batch. The timestamp supports an age check under a supplied time reference. None of those fields alone establishes physical truth.
The Chainlink Data Feeds API reference provides a useful real-world reminder that answers, decimal scaling and update timestamps are separate interface data. Its updatedAt field describes the round’s update time; it should not automatically be relabelled as the time a physical source was measured. Our toy explicitly supplies an observation-time field instead.
The classroom consumer has a complete acceptance rule
The consumer’s last accepted batch is 11. Its authorised reporter registry contains A, B and C. For this exercise, an update requires one valid report from each of those three distinct reporters.
All three reports must identify the same intended network, consumer, Cabinet-7, new batch and observation time, and use the specified unit. Their batch must be greater than 11. A repeated signature from A cannot substitute for B or C.
The supplied evaluation time is 1030 seconds on the exercise’s shared time scale. Each observation must be no later than 1030 and no more than 60 seconds old. We deliberately allow no future-time tolerance in the toy; real systems must specify their own clock and timestamp assumptions.
Each reading must be an integer from 0 through 50. After those checks, the largest reading minus the smallest must be at most 4. If the spread check passes, the consumer takes the median of the three readings.
An accepted report sets a classroom flag to WithinRange if the median is at most 8, otherwise Review. It also stores the accepted batch and observation time. These thresholds are arbitrary teaching choices and must not be used as real cabinet-management guidance.
Work through the accepted batch
Batch 12 contains three validly signed reports: A reports 7, B reports 8 and C reports 7. All identify Cabinet-7, the required context and unit, and observation time 1000.
The batch is new because 12 is greater than the stored 11. Reporter identities are distinct and authorised. The age is 1030−1000=30 seconds, which is within the 60-second limit, and the observation time is not in the future.
All readings lie in the supplied range. Sorted values are 7, 7 and 8. The spread is 8−7=1, which is at most 4, and the median is 7.
The report is accepted. The stored batch becomes 12, observation time becomes 1000 and the flag becomes WithinRange because 7 is at most 8. The application has accepted a properly structured, sufficiently recent and internally consistent report under its toy policy.
That last sentence is the justified conclusion. “The physical cabinet is definitely safe” is not. Neither the numerical threshold nor the report pathway was designed or validated for such a real-world claim.
Reject replay, duplicate identity and wrong context before aggregation
After batch 12 is accepted, submitting that same batch again fails the new-sequence condition. The signature can remain valid while the report is no longer acceptable as a new update.
A packet containing A’s report three times also fails. There are three delivered messages but only one distinct authorised reporter. Aggregating their values would hide the missing B and C evidence.
A signed report for Cabinet-8 does not become a Cabinet-7 report because the numeric reading looks plausible. Similarly, a report using another unit or another consumer context should fail the corresponding check rather than be silently reinterpreted.
This order matters. Calculate a median only after establishing that the candidate reports belong to the required set. A beautifully computed statistic over the wrong cabinet, duplicate sources or incompatible units does not answer the application’s question.
For each independent exercise case later, reset the last accepted batch to 11 unless the case explicitly says batch 12 has already been consumed. This avoids confusing replay rejection with a separate test of freshness or values.
Freshness concerns the meaning of time, not just a small subtraction
With observation time 1000 and evaluation time 1100, the age is 100 seconds. The report fails the toy’s 60-second limit even if every signature verifies and the readings still agree.
At evaluation time 1060, the age is exactly 60 and passes the inclusive rule. At 1061 it fails. A future observation time 1050 evaluated at 1030 also fails; the toy must not treat a negative age as proof of freshness.
The arithmetic is easy. The harder question is what the timestamp means and who can influence it. A signed observation time is still a reporter’s statement. The consumer’s evaluation time also needs a defined protocol context rather than an arbitrary local clock chosen by each validator.
A delivery timestamp, an aggregation timestamp and the original observation timestamp can describe different stages. A recent on-chain update can carry old source information. Before using a real feed’s timestamp, read its actual semantics instead of assuming that every field called updated means freshly measured.
Rejecting a stale update does not make an old stored value fresh
Suppose the accepted batch 12 remains stored with observation time 1000. At time 1100, a consumer reads the old WithinRange flag. No fresh batch has arrived.
The stored flag may still contain that label, but its underlying observation is now 100 seconds old. The consuming operation must apply its freshness condition when using the value, not only when the original update was accepted.
Under our supplied use rule, stale stored data cannot support the WithinRange outcome for a new inspection decision. The application reports data unavailable or requests review rather than treating an old green label as indefinitely current.
This does not require storage to rewrite itself when time passes. As in the contract-state-machine lesson, changing eligibility and executing a state update are different. The relevant read or action checks the current context against the stored observation time.
A fallback policy is a design choice with consequences. Keeping the last value, pausing an action or seeking manual review each handles availability differently. The worksheet chooses a conservative classroom response; it does not claim that one fallback suits every application.
A median can hide disagreement unless the policy checks it
Consider an independent batch with readings 7, 7 and 25, all otherwise valid and fresh. The median is 7, but the spread is 25−7=18.
Our policy rejects the batch because 18 exceeds 4. It does not accept the median first and then ignore the outlier. The explicit disagreement rule makes the consumer ask for review rather than presenting a reassuring summary without its context.
This is one possible policy, not a universal oracle algorithm. A different design might use other aggregation, outlier or fault assumptions. The key is to state which conditions justify the output and what happens when those conditions fail.
Now consider 9, 10 and 9. The spread is 1 and the median is 9. This is an acceptable report under the authenticity, freshness and agreement checks, but it sets Review because the median exceeds the classroom threshold 8.
Distinguish invalid evidence from valid evidence of an out-of-range condition. Rejecting every inconvenient value would make the application incapable of reporting the condition it was meant to detect.
Three agreeing reporters can share one bad source
Suppose A, B and C all report 7 because they read the same malfunctioning upstream database. Their signatures, sequences, units and timestamps satisfy the toy checks. Their spread is zero and median is 7.
The consumer can accept the batch while the underlying physical condition is different. This is not an arithmetic failure. It is a source-dependence failure outside the guarantees of our acceptance rule.
The Chainlink guide to selecting data feeds emphasises assessing source accuracy, availability and risk, including dependence on a single provider. We use that source-level lesson without implying that this cabinet model is a Chainlink implementation or that any provider eliminates all risk.
A meaningful review asks where the observations originate, whether supposedly separate reporters share infrastructure, how measurements are calibrated and who can change those dependencies. “Three signatures” answers a different question from “three independently reliable observations.”
Availability and authority need their own questions
An oracle pathway can stop delivering data because a source, reporter, network route or update mechanism is unavailable. A contract cannot produce a new trustworthy observation merely by continuing to execute old code.
Our three-of-three reporting rule is intentionally easy to inspect but has an availability cost: one missing required reporter prevents a new accepted batch. Changing that threshold would change the trust and fault assumptions. It is not a cosmetic configuration adjustment.
The reporter registry is also a source of authority. Who can add a reporter, replace a compromised key or change the allowed cabinet context? The toy holds the registry fixed; a real application must identify those control paths and their safeguards.
The Chainlink Data Feeds overview describes an ecosystem of feed components and consumption patterns. Real systems have specific architectures and operational requirements. A diagram with an oracle box should not conceal the operators and dependencies inside that box.
Separate a blockchain decision from a physical action
Our accepted flag is only an application record. It does not physically inspect the cabinet or command a lock. If a later system uses the flag to trigger an external action, it adds a new delivery and control boundary.
That external system must identify which state it trusts, whether the report remains fresh, whether the containing history is sufficiently settled for its purpose and whether the requested physical action actually completed.
A successful on-chain update and a successful physical action are different events. An actuator can fail, a human can misunderstand the instruction or an external service can process it twice. Those possibilities need their own evidence and operating rules.
The lesson is not that automation is impossible. It is that a complete explanation follows the entire path instead of stopping at the first valid signature or accepted transaction. Record integrity, external truth and real-world completion remain separate claims.
Exercise: classify the reports and their limits
Unless stated otherwise, begin with last accepted batch 11, evaluation time 1030 and the supplied three-reporter policy. All unspecified context and signatures are correct.
- Batch 12 reports 7, 8 and 7 at observation time 1000. What are age, spread, median and flag?
- After accepting batch 12, the same batch is submitted again. Does a valid signature make it a new update?
- A’s signed report is delivered three times, with no B or C report. Does that satisfy the reporter requirement?
- Observation time is 1000 but evaluation time is 1100. Does agreement among the values overcome the age failure?
- A fresh batch reports 7, 7 and 25. Why is the median alone insufficient under the stated policy?
- A fresh batch reports 9, 10 and 9. Is it an invalid report or accepted evidence producing Review?
- All three reporters copy a wrong upstream value of 7. Can the toy checks prove the real cabinet condition?
- An old WithinRange flag remains stored after its observation becomes stale. May a new consumer action treat it as fresh without another check?
Answers and reasoning
- Age 30 seconds, spread 1, median 7; the report is accepted and the flag is WithinRange.
- No. Its batch sequence is no longer greater than the last accepted sequence.
- No. Three deliveries from one reporter do not satisfy three distinct authorised identities.
- No. Age 100 exceeds the 60-second limit. Agreement does not repair staleness.
- The spread is 18, which violates the maximum 4. The policy rejects the batch despite median 7.
- It is accepted evidence: spread 1 and median 9, so the flag is Review.
- No. The checks do not establish independent accurate measurement. Common-source error can survive every listed acceptance test.
- No. The consuming operation must evaluate freshness at use time under its policy.
Extension: test the exact age boundary
At evaluation time 1060, observation time 1000 has age 60 and passes. At 1061 it has age 61 and fails. A claimed observation time of 1050 at evaluation time 1030 fails the no-future-time condition rather than being treated as age minus 20 and therefore acceptable.
Boundary tests expose what vague words such as recent often hide. A useful interface documents both the timestamp semantics and the exact comparison.
Frequently asked questions
Is an oracle a single trusted person?
It can involve one or multiple sources, operators and components. Inspect the actual architecture rather than inferring it from the name.
Does decentralisation prove the external data is true?
No. Diversity can address specified failure assumptions, but shared sources, measurement errors and incorrect interpretation can remain.
Does fresh mean correct?
No. Freshness limits age under stated timestamp assumptions. A newly signed wrong observation is still wrong.
Can a contract repair a broken sensor?
It can apply rules to the information it receives, but physical repair and calibration require external action. A rejected report is a signal for handling, not a repaired instrument.
Sources and next reading
Primary sources checked on 12 October 2026, Singapore time. Vendor documentation is cited for specific interface and risk concepts, not as an endorsement, investment recommendation or statement that a service is available in every jurisdiction.
- Ethereum oracles: off-chain data pathways and the oracle trust problem.
- Chainlink Data Feeds API: answer scaling and round-update timestamp semantics.
- Chainlink selecting data feeds: source quality, availability and dependence risks.
- Chainlink Data Feeds overview: feed components and consumption context.
Review signatures for what authentication establishes, and contract conditions for how a consumer applies its checks. Continue to the scaling module with the same habit: identify exactly which claim a mechanism supports, and which assumptions remain outside it.
Choose the next subject
The simplest explanation gives you the map. These existing eduKateSG articles let you zoom into the mechanism that interests you. Follow the individual subject links rather than trying to learn every branch at once.
For the wider bilingual collection, use Master Blockchain, the structured learning guide or the Chinese learning guide.
Foundations and useful choices
- What is blockchain?
- Blockchain and ordinary databases
- The wider technology stack
- When blockchain is useful
Cryptography and checking evidence
- Hashes and exact data
- Keys and digital signatures
- Inclusion proofs, roots and headers
- What a zero-knowledge proof proves
- Shared signing control
Agreement and network progress
- Validity, fork choice and finality
- Nodes during a network partition
- Diagnosing stalled progress
- Measuring decentralisation
Transactions and programmed behaviour
- From intention to transaction evidence
- UTXO records and change outputs
- Account state and transaction nonces
- Waiting transactions and inclusion
- Gas limits, gas used and fees
- Smart contracts as state machines
- Failed transactions and reverts
- Oracle reports and outside facts
Architecture and scaling
- Monolithic and modular responsibilities
- Bitcoin architecture and responsibilities
- Ethereum client boundaries
- Hyperledger Fabric transaction flow
- Layer 1, Layer 2 and appchains
- Optimistic rollup challenges
- Validity rollup evidence
The whole system, in one view
| Part | Its job | Its limit |
|---|---|---|
| Record | Express the proposed action or accepted statement. | A statement can still be false about the outside world. |
| Signature | Support checking of the relevant signing authority over exact data. | It does not automatically establish identity, wisdom or truth. |
| Rules | Define permitted changes. | Correct execution can enforce a badly designed rule. |
| Hash links | Make relationships and alterations checkable. | Links alone do not choose the accepted history. |
| Consensus | Establish an accepted history under stated assumptions. | It does not validate every external fact. |
| State | Represent the present result of accepted actions. | A screen may show a delayed or incomplete view. |
| Oracle or reporter | Supply information from outside the chain. | Observation, freshness and independence still need evidence. |
| Governance and recovery | Manage change, responsibility and failure. | Power remains somewhere and should be made visible. |
Sources and scope
The opening guide uses fictional clubs, a telescope and classroom examples to explain mechanisms. These examples are not claims that named organisations operate those systems. Named technologies and real-world examples are linked to primary documentation. Adoption and certificate-format statements were checked on 12 October 2026.
The extended reading room contains teaching from the linked eduKateSG Master Blockchain lessons, with their individual sources retained. Their worked examples are learning models, not production specifications. Network rules and product implementations can change; use the relevant current documentation when moving from explanation to implementation.
- NIST IR 8202: Blockchain Technology Overview — the general record-system framing and the importance of limitations.
- Bitcoin Developer Guide: Block Chain — Bitcoin-specific records, validation and proof of work.
- Ethereum: Introduction to smart contracts — code, state and external-information boundaries.
- Ethereum: Proof of stake — Ethereum-specific participation and consensus.
- Hyperledger Fabric: Introduction — permissioned architecture and operation without a required native cryptocurrency.
- OpenCerts: Frequently asked questions — current certificate checks, TrustVC and continued support for older OpenAttestation certificates.
- W3C Verifiable Credentials Data Model 2.0 — credential roles and the scope of verification.
- MAS: Building Trusted Foundations for Digital Finance, 9 October 2026 — the stated stage and boundaries of institutional tokenisation adoption.
- Maersk and IBM: TradeLens discontinuation announcement, 29 November 2022 — the difference between technical capability and commercial viability.
Return to the simple question: what record do people need to share, who may change it, how is the change checked, and which history will they accept? If you can follow those four questions, you can keep learning the subject without getting lost in the names.
Return to contents · Begin again with the simplest explanation · Continue to Master Blockchain
How Blockchain Works · beginner reading sequence: 1. Simplest Explanation · 2. A Record’s Journey · 3. Digital Fingerprints · 4. Keys and Digital Signatures · 5. Nodes and Shared Copies · 6. Consensus and Agreement · 7. Smart Contracts and Rules · 8. Oracles and the Outside World · 9. Public, Private and Consortium Networks · 10. Confirmations and Finality · 11. Wallets and Custody · 12. Tokens and What They Represent · 13. Supply Chains and Handovers · 14. Certificates and Credentials · 15. Databases and When Blockchain Helps · 16. Scaling and Layers · 17. Bridges Between Networks · 18. Fees and Computing Resources · 19. Governance and Upgrades · 20. Privacy and What Records Reveal · 21. Zero-Knowledge Proofs · 22. Block Explorers and Reading a Record · 23. Testing Rules and Finding Mistakes · 24. Merkle Trees and Small Proofs · 25. Data Availability and Missing Pieces · 26. Forks and Changing Histories · 27. Digital Identity and Proving Who You Are · 28. Light Clients and Checkpoints · 29. Multisignature and Shared Control · 30. Network Delays and Partitions · 31. Incident Response and Recovery · 32. Transaction Order and Fairness · 33. Token Approvals and Remaining Permission · 34. NFTs, Metadata and Linked Files · 35. Logs, Events and Application Memory · 36. UTXOs and Change Outputs · 37. Proof of Work and Targets · 38. Proof of Stake and Validator Duties · 39. Post-Quantum Cryptography and Migration · 40. Virtual Machines and Replaying Rules · 41. All-or-Nothing Execution and Its Boundaries · 42. Client Diversity and Software Independence · 43. Benchmarks, Throughput and Finality · 44. Encoding and Serialisation · 45. RPC Requests and Access Points · 46. State Snapshots, Pruning and Archives · 47. Timestamps and Clock Limits · 48. Commit–Reveal and Hidden Choices · 49. Proxies and State-Preserving Upgrades · 50. Formal Verification and Model Limits · 51. Content Addressing and File Retrieval
Continue with a shorter family guide: Beginner articles for parents and children cover blockchain versus crypto, explaining the idea aloud, correcting mistakes and understanding failures. For the full technical collection, continue through the structured Master Blockchain learning guide.
