Shelf 1 · Computing Foundations · 14 / 45
Blockchain Design — Ledger, State, Consensus, Execution, and Governance
A primary-source guide that treats blockchain as a design space, combining membership, data models, consensus, finality, execution, data availability, oracles, and governance, rather than as one monolithic technology.
Check this article’s sources (13)Article brief
The moment someone says “use a blockchain,” almost none of the real design has been chosen: membership, state, and even finality still need definitions.
A useful mental model
Treat it like a building plan: entrances, locks, structure, exits, and renovation rules are separate choices. Ledger, consensus, execution, and governance become readable layers in the same way.
Where the analogy stops
The layers interact. Adding components does not automatically add safety, and no single combination is best for every purpose.
Article structure
Beyond the buzzword, you will be able to ask exactly whose failure a design can withstand.
Open the glossaryArticle contents12 chaptersJump to a chapter
1A blockchain is a bundle of design choices
NIST IR 8202 describes blockchains as tamper-evident and tamper-resistant digital ledgers implemented in a distributed fashion without a central repository. Note the careful wording: it does not say “impossible to alter.” Whether history can be replaced, and at what cost, depends on consensus rules, participants, keys, networking, implementations, and social adoption, not on hashing alone.
A blockchain is one kind of distributed system, not a synonym for all of them. Replicated databases, peer-to-peer file sharing, job schedulers, and transparency logs also run across many machines, and not all of them need a blockchain. Adopting one also does nothing to stop operational authority, hosting, client software, asset ownership, or governance from concentrating.
| Question | What a blockchain can provide | What it does not provide by itself |
|---|---|---|
| History | Ordered records linked by cryptography | Whether the recorded input is true |
| Verification | Independent checks against the rules | Permanent storage or confidentiality |
| Consensus | Convergence on a history shared by participants | Absolute, instant finality |
| Distribution | Replication across nodes | An even distribution of power or rewards |
The first task, then, is not to choose the “best chain.” It is to define the asset being protected, the adversary, the failure model, the participation boundary, and what users can check for themselves. Blocks, tokens, and smart contracts are possible answers to those conditions, not goals in their own right.
2Break trust assumptions down by layer
Assurance does not come from the consensus layer alone. It depends on who counts as a voter, how data becomes state, whether the data needed for verification can be obtained, who reports facts from outside, and who adopts rule changes. Hardening one layer does not make up for a sole administrator key somewhere else: the trust boundary of the whole system shrinks to that key.
| Layer | Central design question | Typical failure |
|---|---|---|
| Membership and network | Who may propose, vote, and validate? | Sybil attack, eclipse, censorship |
| Data and commitments | What is recorded, and what does a root summarize? | Ambiguous encoding, state growth |
| Consensus and finality | How is a competing history chosen, and when is it treated as irreversible? | Fork, halt, reorganization |
| Execution | How do transactions produce state deterministically? | Client divergence, resource exhaustion, contract bugs |
| Availability and storage | Who holds the data needed for verification, and for how long? | Withholding, loss of history |
| Oracles and interoperability | How do facts from the world or another chain get in? | False report, bridge compromise |
| Governance | Who changes specifications, software, keys, and emergency procedures? | Capture, opaque authority |
“Decentralization” is not a single number either. Block production, full validation, client diversity, network reachability, operators, ownership, improvement proposals, and emergency keys each have to be looked at on their own. A guarantee should say what happens when an assumption fails, not only how fast the system runs in normal operation.
3Membership and Sybil resistance: what gives a vote its weight?
Before it can reach consensus, a system has to decide whom to count. On a public network that gives one vote per identity, a single actor can simply create many pseudonyms. The Sybil problem, formalized by John Douceur, shows why a large number of identities is no guarantee of a large number of independent entities. A digital signature authenticates statements made with a key; it does not show that each key belongs to a separate person or organization.
| Membership model | Basis of voting weight | Main trust or concentration risk |
|---|---|---|
| Permissionless PoW | Verifiable expenditure of computational resources | Hardware, energy, pools, supply chains |
| Permissionless PoS | Stake locked inside the protocol | Wealth concentration, delegation, long-range history |
| Permissioned | Identity certified by a CA or by organizational rules | Issuers, revocation power, agreements between organizations |
| Fixed validator set | Keys chosen in configuration or governance | Update authority, collusion, halt |
Proof of Work and Proof of Stake do not identify morally correct participants. They tie the otherwise cheap creation of identities to a scarce resource or to a penalty. Both stay connected to resource markets, delegation, custody, and operating infrastructure. Who is eligible to take part and how concentrated block production actually is are two separate measurements.
On a permissioned network, a Membership Service Provider such as the one in Hyperledger Fabric can make certificates, roles, organizations, and revocation explicit. That moves the Sybil question to the identity issuers and to legal or organizational boundaries; it does not remove it. Open participation and authenticated participation are answers to different adversaries, different accountability needs, and different exit requirements.
4Ledger, state, and commitment are not the same thing
A ledger is an ordered record of events; state is the current value you get by applying those events under the rules. In state-machine replication, replicas arrive at the same state by running the same deterministic transitions in the same order. Blockchains build on that principle, but it does not follow that every node must keep all history forever, or that every read has to go through consensus.
The Bitcoin UTXO model spends unspent outputs and creates new ones. An account model updates the balances, nonces, and contract storage tied to an address, and designs centered on objects or events are possible too. UTXOs make dependencies and parallel validation easy to see, while accounts make shared state convenient. Each model trades off differently on concurrency, storage, privacy, and developer experience.
A hash chain causes a change to an earlier record to show up in every later commitment, and a Merkle tree can prove inclusion under a root with a short proof. What the proof establishes is that a value was committed under that particular root. It does not show that the value is true in the outside world, that the root belongs to the legitimate chain, or that the underlying data is still available.
| Object | Question it can verify | Question it cannot verify |
|---|---|---|
| Digital signature | Was this approved with the corresponding private key? | Was the key holder legitimately authorized? |
| Merkle proof | Is a value included under a particular root? | Is the value true, and is all the data available? |
| State root | Does the summary of state after execution match? | Can the inputs to that execution be obtained? |
| Protocol ordering | When was it recorded relative to other chain events? | When did it happen in the physical world? |
5Consensus and finality: validity, order, and confidence
The word consensus usually hides several separate questions: whether a transaction is valid under the rules, how competing proposals are ordered, which history the fork-choice rule treats as canonical, and the conditions under which a decision can still be reversed. A majority vote does not turn an invalid state transition into a valid one: validating nodes reject any proposal that breaks their own rules.
Safety means two conflicting values are never both finalized; liveness means valid work eventually makes progress. Under network delay or partition, neither can be guaranteed without assumptions. A protocol that allows only for crashes differs from a Byzantine fault-tolerant one that also allows for signed, contradictory votes, and they differ in replica count, quorum, and communication cost.
| Type of finality | Meaning | What an application must check |
|---|---|---|
| Probabilistic | Reorganization probability or cost changes as blocks accumulate | Attacker resources, confirmations, value, network conditions |
| Protocol-explicit | Once a quorum certificate exists, a conflicting finalization is ruled out within the stated assumptions | Validator set, slashing, behavior during partitions |
| Economic | Reversal entails observable loss or large expense | Asset value, enforcement of penalties, social recovery |
| Operational | An organization treats an event as settled | Rollback policy, legal accountability, exceptions |
Bitcoin confirmations are not a guarantee tied to the clock. They are probabilistic, economic settlement: the expected cost of replacing history rises as Proof of Work accumulates. Explicit finality in BFT-style systems likewise does not reach past a validator-key compromise, a change to the validator set, an implementation bug, or an emergency social fork. An application should state which failure conditions and which waiting time it accepts, instead of asking only whether a chain is “final.”
6Execution: what does everyone have to recompute?
A ledger that validates transfers and one that runs general programs differ widely in cost and attack surface. Bitcoin Script is a restricted language for expressing the conditions under which a transaction output may be spent. Ethereum specified a state transition and the EVM in its Yellow Paper, creating a general execution environment in which contracts update shared state.
Replicas converge only if execution is deterministic. Reading a local clock, local randomness, or an external HTTP response directly would let results drift apart. Metering resources caps infinite loops and runaway computation or storage, but it brings fee markets, state growth, failed transactions, and outcomes that users may find hard to predict.
| Execution scope | Benefit | Cost |
|---|---|---|
| Fixed transaction rules | Smaller validation surface and predictable resource use | Limited application expressiveness |
| General on-chain VM | Composability on shared settlement and state | Contract bugs, state growth, MEV, variable fees |
| Off-chain execution plus proof | Can reduce work at the base layer | Assumptions about the proof system, sequencer, DA, and escape path |
| Multi-party workflow | Can carry existing accountability and privacy | Membership and operational coordination |
“Code is law” is not a technical security model. Code sits alongside compilers, clients, upgrade proxies, administrator keys, frontends, and oracles, and the agreement users had in mind may differ from the rule the machine actually runs. Specifications, implementations, audits, authority, and the paths for halting or recovering have to be assessed together.
7Data availability: agreeing on a root is not enough
Participants can agree on a block header or a state root and still leave an observer unable to check the transition, if the transaction data needed to recompute that root is withheld. Data availability is the assurance that the data required to verify a block was actually made available to participants. As the Ethereum documentation notes, that is separate from data retrievability, the ability to fetch history indefinitely.
A full node on a monolithic chain downloads block data, executes it, and rejects any block whose data is missing. Light clients, rollups, and modular designs scale by letting participants process less than all of the data, so they need other assurances: availability sampling, fraud proofs, validity proofs, committees, or publication to a base layer. A proof that execution was correct does not by itself hand a user the data needed to reconstruct state or exit.
| Question | Representative mechanism | Remaining assumption |
|---|---|---|
| Was all the data available when it was published? | Full download, sampling, committee attestation | Network, sampling probability, committee honesty |
| Was the state transition correct? | Re-execution, fraud proof, validity proof | Verifier implementation, challenge period, setup |
| Can it still be obtained years later? | Archive nodes, replicated storage, retention contracts | Continued storage, formats, cost |
| Can a user exit on their own? | On-chain data, state proof, escape hatch | Censorship, keys, base-layer capacity |
Availability design cannot be separated from storage cost. “Everything on-chain forever” is expensive, and it collides with privacy or deletion requirements. Cheap off-chain storage weakens recovery once the custodians walk away. A design should state retention periods, who is responsible for archives, how synchronization works, and the minimum data needed for verification.
8Oracles and bridges: trust that enters from outside consensus
Protocol rules alone cannot tell a deterministic contract the market price, the weather, whether a parcel arrived, or how a court ruled. An oracle sources external data, verifies or aggregates it, and delivers it to a chain. Unanimous agreement among validators on one oracle value still says nothing about whether that value is true in the physical world. That boundary is the oracle problem.
Oracle design has to look at source diversity, reporter independence, update rate, the cost of manipulation, handling of outliers, fallbacks during an outage, signing keys, and governance. Averaging many feeds adds little independence when they share an upstream API or operator. There is also a trade-off between slow, well-confirmed observations and fast data that is easier to manipulate.
A bridge represents an event on chain A inside chain B, using light-client verification, validator signatures, multisignatures, or an optimistic challenge. The safety of the asset on the destination chain rests on both chains and on a new trust domain as well: message verification, custody, upgrade keys, relayers, and frontends.
| Boundary | Mistaken assumption | Actual question |
|---|---|---|
| Oracle | An on-chain result makes the input trustless | Who observed it, who can correct it, and who can halt it? |
| Bridge | A bridge inherits the strength of both chains | Who verifies messages, and who holds the assets? |
| Stable asset | Issuing a token proves it is backed | What are the reserves, the redemption right, the audit, and the issuer powers? |
| IoT input | A device signature proves physical truth | Can the sensor fail, the key be compromised, or the environment be changed? |
9Governance: specifications, implementations, and adoption
A protocol is kept alive by documents, software, and the choices of participants, not by natural law. BIP 3, which replaced BIP 2, and EIP-1 set out processes for documenting and discussing improvements, but getting a proposal number or an author’s approval does not change the network rules. A change takes effect only when some combination of the specification, independent client implementations, node operators, block producers, wallets, exchanges, and users adopts it.
A soft fork can be described as narrowing what the old rules accept as valid, while a hard fork may allow history that old nodes reject. A compatibility label says nothing about who made the decision, whether those who disagree can stay safely, or which branch keeps the name and the market infrastructure. Governance lives in release permissions, standardization processes, communications, and funding as much as in any formal vote.
| Governance surface | What to inspect | Sign of concentration |
|---|---|---|
| Specification | Proposal, review, and objection process | A private specification or a rushed review |
| Implementation | Independent clients, reproducible builds, signed releases | A single codebase or maintainer |
| Operations | Who upgrades, and who can refuse? | Forced automatic updates or concentrated hosting |
| Emergency authority | Scope of pauses, rollbacks, and administrator keys | A single key, or a key whose holder is unknown |
| Economics | Who funds development and security? | Dependence on one sponsor |
Being changeable is not a flaw in itself: bug fixes and cryptographic migration need an upgrade path. What matters is the difference between hidden administrator power dressed up as immutability and change conditions that are stated openly, with delays, auditability, key rotation, the ability to give up authority, and accountability in an emergency.
10Permissioned ledgers: identity as the trust boundary
A permissioned blockchain uses identity policy to restrict which organizations, validators, readers, and writers take part. In Hyperledger Fabric, organizations, peers, orderers, channels, policies, and MSPs together form the accountability boundary of the network. Without an open contest for resources, privacy, approval workflows, regulated responsibility, and performance become easier to design among parties who already know each other.
Certification authorities, consortium agreements, revocation, the ordering service, and channel administrators become the trust points instead. A replicated, signed history can make unilateral changes by a database operator easier to detect, but it does not stop member organizations from colluding or authorized parties from entering false information.
| Condition | When a permissioned ledger may fit | Simpler alternative |
|---|---|---|
| Multiple writers | Joint audit is needed and no sole administrator is acceptable | A shared database plus an audit log |
| Identity and accountability | Signers and organizational rules must be traceable | PKI plus a signed-document workflow |
| Privacy | Channels or selective sharing match the business requirement | An access-controlled database |
| Fault model | Contradictions and partial failures across organizations matter | Replicated SQL or a consensus service |
Compare the design against a conventional database, an append-only transparency log, digital signatures, and BFT replication, without giving the word “blockchain” any credit of its own. If every writer answers to one company, the same administrator runs both the database and the validators, and users never verify anything themselves, the chain structure may add more complexity than assurance.
11Adoption decisions begin with a threat model
Before adopting anything, list the owners of the shared state, the writers, validators, readers, and auditors, by organization or role. Then decide which failures matter: crashes, network partitions, malicious signatures, a compromised administrator, censorship, data loss, or lost keys. Even when the requirement is “do not trust a central administrator,” the design still has to say which parties are trusted, and under what conditions.
| Decision axis | Minimum question | Measurement or artifact |
|---|---|---|
| Writers | How many mutually distrustful entities update the state? | Authority matrix and identity lifecycle |
| Validation | What can a user re-verify on their own? | Node requirements, proofs, data path |
| Finality | When, and under what conditions, is business settlement reached? | Confirmation policy and rollback procedure |
| Capacity | What are peak throughput, latency, and state growth? | Benchmark, fee ceiling, storage forecast |
| Privacy | Who is the data hidden from, and how are deletion requests handled? | Data classification, key management, retention |
| Governance | Who upgrades, pauses, resolves disputes, and enables exit? | Authority map, timelock, exit plan |
| Interoperability | Which oracle, bridge, or custodian is assumed? | Trust inventory and failure drill |
When one organization is the canonical writer and needs fast updates, search, and correction, a conventional database with a signed audit log may fit better. Public verification on its own may need no more than a transparency log or a content-addressed archive. A blockchain becomes a candidate when several parties must order updates together and the value of avoiding a single administrator outweighs the cost of replication, consensus, and key management.
A pilot should test more than transaction volume. Stop validators, partition the network, rotate keys, upgrade the software, correct a bad entry, restore an archive, and remove a participant. Whether the organizations involved can still carry out a recovery after authority or data is lost tells you more about production assurance than a demonstration under normal conditions.
12Where Bitcoin sits in the design space
Bitcoin combines Proof of Work, UTXOs, hash-linked blocks, peer-to-peer propagation, difficulty adjustment, and issuance plus fees, all in service of one goal: keeping a history of electronic cash among public participants without a central identity issuer. A full node checks accumulated work and also whether transactions and blocks satisfy its own consensus rules. Miners gain no authority to vote an invalid block into validity.
| Design axis | Main Bitcoin choice | Benefit and cost |
|---|---|---|
| Membership | Permissionless; proposal weight measured by PoW | No identity issuer / energy, hardware, and pool economics |
| Data model | UTXOs, with state verifiable from history | Clear transfer of ownership / limited expression of global state |
| Execution | Restricted Script plus consensus validation | Smaller execution surface / not a general on-chain application VM |
| Finality | Probabilistic settlement through cumulative work | No explicit validator registry / wait time and reorganization risk |
| Availability | Validating nodes fetch and check block data | Independent verification / bandwidth, storage, and initial-sync cost |
| Governance | BIPs plus adoption by implementations, nodes, and economic actors | No single party can change it / slow, social coordination |
Bitcoin is not a template to copy unchanged into a permissioned supply-chain ledger or a high-frequency general computer. Faster finality or richer execution on another chain does not bring with it the same public verifiability, exit properties, or monetary policy either. A comparison should line up purposes and trust assumptions rather than stop at transactions per second or block time.
The central lesson is that the choices hang together. Nodes that validate the supply rules, work that provides Sybil resistance, the way history is selected, incentives, restricted execution, and a conservative change process all point at one objective. Treating Bitcoin as a single tightly integrated point in a wider design space, rather than as the end of distributed-systems history, makes it possible to evaluate other approaches without exaggerating or downplaying the differences.
Primary sources
- Satoshi Nakamoto — Bitcoin: A Peer-to-Peer Electronic Cash System
- Bitcoin Developer Guide — Block Chain
- John Douceur — The Sybil Attack
- Fred Schneider — State Machine Approach
- Ethereum Whitepaper
- Ethereum Yellow Paper
- ethereum.org — Data availability
- ethereum.org — Oracles
- EIP-1 — EIP Purpose and Guidelines
- Hyperledger Fabric — The blockchain network
- Hyperledger Fabric — Membership Service Provider
- BIP 3 — Updated BIP Process
- NIST IR 8202 — Blockchain Technology Overview
Read next
Who is Satoshi Nakamoto?15 min readRelated topics
Go deeper
Citation
- Title
- Blockchain Design — Ledger, State, Consensus, Execution, and Governance
- Source
- Bitcoin Library (bitcoin.ne.jp)
- Canonical URL
- https://bitcoin.ne.jp/en/learn/blockchain-design
- Author
- KK siiiiiixth
- Topic
- blockchain-design
- Published
- Updated
- Last verified
- Editorial policy
- https://bitcoin.ne.jp/en/editorial-policy
- About
- https://bitcoin.ne.jp/en/about
- License
- Content reuse terms
Operator-owned article text, original diagrams, and public data may be used for citation, summarization, indexing, search, RAG, machine analysis, and AI model training. When content is presented to readers, identify Bitcoin Library and the applicable canonical URL where technically practicable.