Skip to content

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.

Beyond the buzzword, you will be able to ask exactly whose failure a design can withstand.

Open the glossary
Article 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.

Comparison table for A blockchain is a bundle of design choices
QuestionWhat a blockchain can provideWhat it does not provide by itself
HistoryOrdered records linked by cryptographyWhether the recorded input is true
VerificationIndependent checks against the rulesPermanent storage or confidentiality
ConsensusConvergence on a history shared by participantsAbsolute, instant finality
DistributionReplication across nodesAn 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

Figure 1 A blockchain composes membership, Sybil resistance, data availability at publication, long-term retrievability, consensus, state, execution, and application choices. Each layer changes the guarantees and operational duties above it.

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.

Comparison table for Break trust assumptions down by layer
LayerCentral design questionTypical failure
Membership and networkWho may propose, vote, and validate?Sybil attack, eclipse, censorship
Data and commitmentsWhat is recorded, and what does a root summarize?Ambiguous encoding, state growth
Consensus and finalityHow is a competing history chosen, and when is it treated as irreversible?Fork, halt, reorganization
ExecutionHow do transactions produce state deterministically?Client divergence, resource exhaustion, contract bugs
Availability and storageWho holds the data needed for verification, and for how long?Withholding, loss of history
Oracles and interoperabilityHow do facts from the world or another chain get in?False report, bridge compromise
GovernanceWho 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.

Comparison table for Membership and Sybil resistance: what gives a vote its weight?
Membership modelBasis of voting weightMain trust or concentration risk
Permissionless PoWVerifiable expenditure of computational resourcesHardware, energy, pools, supply chains
Permissionless PoSStake locked inside the protocolWealth concentration, delegation, long-range history
PermissionedIdentity certified by a CA or by organizational rulesIssuers, revocation power, agreements between organizations
Fixed validator setKeys chosen in configuration or governanceUpdate 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.

Comparison table for Ledger, state, and commitment are not the same thing
ObjectQuestion it can verifyQuestion it cannot verify
Digital signatureWas this approved with the corresponding private key?Was the key holder legitimately authorized?
Merkle proofIs a value included under a particular root?Is the value true, and is all the data available?
State rootDoes the summary of state after execution match?Can the inputs to that execution be obtained?
Protocol orderingWhen 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.

Comparison table for Consensus and finality: validity, order, and confidence
Type of finalityMeaningWhat an application must check
ProbabilisticReorganization probability or cost changes as blocks accumulateAttacker resources, confirmations, value, network conditions
Protocol-explicitOnce a quorum certificate exists, a conflicting finalization is ruled out within the stated assumptionsValidator set, slashing, behavior during partitions
EconomicReversal entails observable loss or large expenseAsset value, enforcement of penalties, social recovery
OperationalAn organization treats an event as settledRollback 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.

Comparison table for Execution: what does everyone have to recompute?
Execution scopeBenefitCost
Fixed transaction rulesSmaller validation surface and predictable resource useLimited application expressiveness
General on-chain VMComposability on shared settlement and stateContract bugs, state growth, MEV, variable fees
Off-chain execution plus proofCan reduce work at the base layerAssumptions about the proof system, sequencer, DA, and escape path
Multi-party workflowCan carry existing accountability and privacyMembership 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.

Comparison table for Data availability: agreeing on a root is not enough
QuestionRepresentative mechanismRemaining assumption
Was all the data available when it was published?Full download, sampling, committee attestationNetwork, sampling probability, committee honesty
Was the state transition correct?Re-execution, fraud proof, validity proofVerifier implementation, challenge period, setup
Can it still be obtained years later?Archive nodes, replicated storage, retention contractsContinued storage, formats, cost
Can a user exit on their own?On-chain data, state proof, escape hatchCensorship, 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.

Comparison table for Oracles and bridges: trust that enters from outside consensus
BoundaryMistaken assumptionActual question
OracleAn on-chain result makes the input trustlessWho observed it, who can correct it, and who can halt it?
BridgeA bridge inherits the strength of both chainsWho verifies messages, and who holds the assets?
Stable assetIssuing a token proves it is backedWhat are the reserves, the redemption right, the audit, and the issuer powers?
IoT inputA device signature proves physical truthCan 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.

Comparison table for Governance: specifications, implementations, and adoption
Governance surfaceWhat to inspectSign of concentration
SpecificationProposal, review, and objection processA private specification or a rushed review
ImplementationIndependent clients, reproducible builds, signed releasesA single codebase or maintainer
OperationsWho upgrades, and who can refuse?Forced automatic updates or concentrated hosting
Emergency authorityScope of pauses, rollbacks, and administrator keysA single key, or a key whose holder is unknown
EconomicsWho 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.

Comparison table for Permissioned ledgers: identity as the trust boundary
ConditionWhen a permissioned ledger may fitSimpler alternative
Multiple writersJoint audit is needed and no sole administrator is acceptableA shared database plus an audit log
Identity and accountabilitySigners and organizational rules must be traceablePKI plus a signed-document workflow
PrivacyChannels or selective sharing match the business requirementAn access-controlled database
Fault modelContradictions and partial failures across organizations matterReplicated 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.

Comparison table for Adoption decisions begin with a threat model
Decision axisMinimum questionMeasurement or artifact
WritersHow many mutually distrustful entities update the state?Authority matrix and identity lifecycle
ValidationWhat can a user re-verify on their own?Node requirements, proofs, data path
FinalityWhen, and under what conditions, is business settlement reached?Confirmation policy and rollback procedure
CapacityWhat are peak throughput, latency, and state growth?Benchmark, fee ceiling, storage forecast
PrivacyWho is the data hidden from, and how are deletion requests handled?Data classification, key management, retention
GovernanceWho upgrades, pauses, resolves disputes, and enables exit?Authority map, timelock, exit plan
InteroperabilityWhich 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.

Comparison table for Where Bitcoin sits in the design space
Design axisMain Bitcoin choiceBenefit and cost
MembershipPermissionless; proposal weight measured by PoWNo identity issuer / energy, hardware, and pool economics
Data modelUTXOs, with state verifiable from historyClear transfer of ownership / limited expression of global state
ExecutionRestricted Script plus consensus validationSmaller execution surface / not a general on-chain application VM
FinalityProbabilistic settlement through cumulative workNo explicit validator registry / wait time and reorganization risk
AvailabilityValidating nodes fetch and check block dataIndependent verification / bandwidth, storage, and initial-sync cost
GovernanceBIPs plus adoption by implementations, nodes, and economic actorsNo 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

Read next

Who is Satoshi Nakamoto?15 min read
Share

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.