Skip to content

Library article / blockchain-design

Blockchain Design — Ledger, State, Consensus, Execution, and Governance

A primary-source guide to blockchain as a design space combining membership, data models, consensus, finality, execution, data availability, oracles, and governance rather than as one monolithic technology.

16 min read

Key points

A blockchain is not a database made safe merely by being distributed. It bundles decisions about who may participate, what counts as valid state, how competing histories are selected, and who accepts rule changes. Separating the trust assumption at each layer clarifies both the strengths of Bitcoin and why other purposes may require different designs.

01A 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. The careful words are not “impossible to alter.” The possibility and cost of replacing history depend on consensus rules, participants, keys, networking, implementations, and social adoption—not on hashing alone.
  • A blockchain is a kind of distributed system, not a synonym for all distributed systems. Replicated databases, peer-to-peer file sharing, job schedulers, and transparency logs also run across multiple machines, but do not all need blockchains. Conversely, adopting a blockchain does not prevent operational authority, hosting, client software, asset ownership, or governance from concentrating.
QuestionWhat a blockchain can provideWhat it does not provide by itself
HistoryOrdered records with cryptographic linkageTruth of the recorded input
VerificationIndependent checks against rulesPermanent storage or confidentiality
ConsensusConvergence on a history shared by participantsAbsolute, instantaneous finality
DistributionReplication across nodesEqual distribution of power or rewards
  • The first task is therefore not choosing the “best chain.” It is defining the asset to protect, adversary, failure model, participation boundary, and what users can verify for themselves. Blocks, tokens, and smart contracts are possible responses to those conditions, not goals in themselves.

02Decompose trust assumptions into layers

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.
  • Blockchain assurance does not emerge from a single consensus layer. It depends on who counts as a voter, how data becomes state, whether verification data can be obtained, who reports outside facts, and who adopts rule changes. Strengthening one layer does not compensate for a sole administrator key elsewhere; the system trust boundary contracts to that key.
LayerCentral design questionTypical failure
Membership and networkWho may propose, vote, and validate?Sybil attack, eclipse, censorship
Data and commitmentsWhat is recorded and summarized by a root?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 deterministically produce state?Client divergence, resource exhaustion, contract bugs
Availability and storageWho holds verification data, and for how long?Withholding, loss of history
Oracles and interoperabilityHow do facts from the world or another chain enter?False report, bridge compromise
GovernanceWho changes specifications, software, keys, and emergency procedures?Capture, opaque authority
  • “Decentralization” is also not one scalar. Block production, full validation, client diversity, network reachability, operators, ownership, improvement proposals, and emergency keys should be observed separately. A guarantee should describe what happens when an assumption fails, not only speed during normal operation.

03Membership and Sybil resistance — what gives one vote weight?

  • Before reaching consensus, a system must decide whom to count. A public network using one identity per vote lets one actor create many pseudonyms. The Sybil problem formalized by John Douceur shows why a large number of identities does not guarantee a large number of independent entities. A digital signature authenticates statements from a key, but does not prove that each key represents a separate person or organization.
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 organizational rulesIssuers, revocation power, inter-organization contracts
Fixed validator setKeys selected in configuration or governanceUpdate authority, collusion, halt
  • Proof of Work and Proof of Stake are not mechanisms for discovering morally correct participants. They bind the otherwise cheap creation of identities to scarce resources or penalties. Both remain connected to resource markets, delegation, custody, and operational infrastructure. Open eligibility and effective concentration in block production must be measured separately.
  • In a permissioned network, a Membership Service Provider such as the one in Hyperledger Fabric can make certificates, roles, organizations, and revocation explicit. This relocates the Sybil question to identity issuers and legal or organizational boundaries rather than eliminating it. Open participation and authenticated participation are different answers to different adversaries, accountability needs, and exit requirements.

04Do not conflate ledger, state, and commitment

  • A ledger is an ordered record of events; state is the current value obtained by applying those events according to rules. In state-machine replication, replicas reach the same state by executing the same deterministic transitions in the same order. Blockchains use this principle, but it does not imply that every node must keep all history forever or that every read needs consensus.
  • The Bitcoin UTXO model consumes unspent outputs and creates new outputs. An account model updates balances, nonces, and contract storage associated with addresses; object and event-centered designs are also possible. UTXOs expose dependencies and parallel validation cleanly, while accounts make shared state convenient. Each model has trade-offs in concurrency, storage, privacy, and developer experience.
  • A hash chain makes an earlier modification propagate into later commitments, and a Merkle tree can prove inclusion relative to a root with a compact proof. The proof says that a value was committed under a 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 underlying data remains available.
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, or is all data available?
State rootDoes the summary of post-execution state match?Can the execution inputs be obtained?
Protocol orderingWhen was it recorded relative to chain events?When did it happen in the physical world?

05Consensus and finality — validity, order, and confidence

  • The word consensus often hides several questions: validity under transaction rules, ordering of competing proposals, fork choice for the canonical history, and finality conditions under which a decision can be reversed. A majority vote does not turn an invalid state transition into a valid one; validating nodes reject proposals that violate their own rules.
  • Safety means that conflicting values are not both finalized, while liveness means valid work eventually progresses. Neither can be guaranteed without assumptions under network delay or partition. A protocol that considers only crash faults differs from a Byzantine fault-tolerant protocol that considers signed, contradictory votes in its replica count, quorum, and communication cost.
Type of finalityMeaningWhat an application must check
ProbabilisticReorganization probability or cost changes as blocks accumulateAttacker resources, confirmations, value, network conditions
Protocol-explicitAfter a quorum certificate, conflicting finalization is excluded within 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 an absolute time guarantee. They are probabilistic and economic settlement: expected replacement cost rises with accumulated Proof of Work. Explicit finality in BFT-style systems likewise does not transcend validator-key compromise, set changes, implementation bugs, or a social emergency fork. Applications should specify which failure conditions and waiting time they accept, rather than asking only whether a chain is “final.”

06Execution — what must everyone recompute?

  • The cost and attack surface differ greatly between a ledger that validates transfers and one that executes general programs. Bitcoin Script is a constrained language for expressing conditions under which transaction outputs 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.
  • Execution must be deterministic for replicas to converge. Reading a local clock, local randomness, or an external HTTP response directly would let results diverge. Resource metering limits infinite loops and excessive computation or storage, but introduces fee markets, state growth, failed transactions, and execution outcomes that users may find difficult to predict.
Execution scopeBenefitCost
Fixed transaction rulesSmaller validation surface and predictable resourcesLimited application expressiveness
General on-chain VMComposability with common settlement and stateContract bugs, state growth, MEV, variable fees
Off-chain execution plus proofCan reduce base-layer workProof system, sequencer, DA, and escape-path assumptions
Multi-party workflowCan embed existing accountability and privacyMembership and operational coordination
  • “Code is law” is not a technical security model. Code connects to compilers, clients, upgrade proxies, administrator keys, frontends, and oracles, and the agreement users intended may differ from the rule a machine executes. Specifications, implementations, audits, authority, and halt or recovery paths must be assessed together.

07Data availability — agreement on a root is not enough

  • Even if participants agree on a block header or state root, an observer cannot independently verify the transition when transaction data needed to recompute that root is withheld. Data availability is assurance that data required to verify a block was made available to participants. As the Ethereum documentation distinguishes, this 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 a block with missing data. Light clients, rollups, and modular designs scale by having participants process less than all data, but require different assurances such as availability sampling, fraud proofs, validity proofs, committees, or publication to a base layer. A correct execution proof does not necessarily give a user the data needed to reconstruct state or exit.
QuestionRepresentative mechanismRemaining assumption
Was all data available when 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 independently?On-chain data, state proof, escape hatchCensorship, keys, base-layer capacity
  • Availability design is inseparable from storage cost. “Everything on-chain forever” is expensive and conflicts with privacy or deletion requirements. Cheap off-chain storage weakens recovery if custodians leave. A design should state retention periods, archive responsibility, synchronization methods, and the minimum data required for verification.

08Oracles and bridges — trust entering from outside consensus

  • A deterministic contract cannot learn a market price, weather event, delivered parcel, or court decision from protocol rules alone. An oracle sources, verifies or aggregates, and transmits external data to a chain. Even unanimous validators agreeing on one oracle value does not derive its truth in the physical world. This boundary is the oracle problem.
  • Oracle design examines source diversity, reporter independence, update rate, manipulation cost, outliers, fallbacks during outage, signing keys, and governance. Averaging many feeds adds little independence if they use the same upstream API or operator. There is also a trade-off between slow, well-confirmed observations and fast, manipulable data.
  • A bridge represents an event on chain A within chain B using light-client verification, validator signatures, multisignatures, or an optimistic challenge. Safety of the destination asset depends not only on both chains, but on a new trust domain comprising message verification, custody, upgrade keys, relayers, and frontends.
BoundaryMistaken assumptionActual question
OracleAn on-chain result makes the input trustlessWho observed it, can correct it, or can halt it?
BridgeA bridge inherits the strength of both chainsWho verifies messages and holds assets?
Stable assetToken issuance proves its backingWhat are the reserves, redemption right, audit, and issuer powers?
IoT inputA device signature proves physical truthCan the sensor fail, key be compromised, or environment be changed?

09Governance — specifications, implementations, and adoption

  • A protocol is maintained through documents, software, and participant choices rather than natural law. BIP 3, which replaced BIP 2, and EIP-1 define processes for documenting and discussing improvements, but receiving a proposal number or author approval does not itself change network rules. A change becomes effective through some combination of specification, independent client implementations, node operators, block producers, wallets, exchanges, and users adopting it.
  • A soft fork can be described as narrowing what old rules consider valid, while a hard fork may permit history that old nodes reject. Compatibility labels do not determine who decided, whether dissenters can remain safely, or which branch inherits a name and market infrastructure. Governance exists not only in formal voting but also in release permissions, standardization processes, communications, and funding.
Governance surfaceWhat to inspectSign of concentration
SpecificationProposal, review, and objection processPrivate specification or rushed review
ImplementationIndependent clients, reproducible builds, release signingOne codebase or maintainer
OperationsWho upgrades and who can refuse?Forced automatic update or hosting concentration
Emergency authorityScope of pauses, rollbacks, and administrator keysSingle key or unknown key holder
EconomicsWho funds development and security?Dependence on one sponsor
  • Changeability is not inherently a flaw: bug fixes and cryptographic migration require upgrade paths. The important distinction is between hidden administrator power under a claim of immutability and explicit change conditions, delays, auditability, key rotation, authority renunciation, and emergency accountability.

10Permissioned ledgers — identity as the trust boundary

  • A permissioned blockchain restricts participating organizations, validators, readers, or writers through identity policy. In Hyperledger Fabric, organizations, peers, orderers, channels, policies, and MSPs form the network accountability boundary. Avoiding a public resource competition can make privacy, approval workflows, regulated responsibility, and performance easier to design among known parties.
  • Certification authorities, consortium agreements, revocation, the ordering service, and channel administrators then become trust points. A replicated, signed history can make unilateral database-operator changes easier to detect, but does not prevent member organizations from colluding or authorized parties from entering false information.
ConditionWhen a permissioned ledger may fitSimpler alternative
Multiple writersJoint audit is needed and no sole administrator is acceptableShared database plus audit log
Identity and accountabilitySigners and organizational rules must be tracedPKI plus signed-document workflow
PrivacyChannels or selective sharing match business requirementsAccess-controlled database
Fault modelContradictions and partial failures across organizations matterReplicated SQL or a consensus service
  • Compare the design with a conventional database, append-only transparency log, digital signatures, and BFT replication without assigning value to the “blockchain” label. If all writers obey one company, the same administrator operates the database and validators, and users never verify independently, chain structure may add more complexity than assurance.

11Adoption decisions begin with a threat model

  • Before adoption, enumerate owners of shared state, writers, validators, readers, and auditors by organization or role. Then decide which failures matter: crashes, network partitions, malicious signatures, administrator compromise, censorship, data loss, or lost keys. If the requirement is “do not trust a central administrator,” the design must still say which parties are trusted under which conditions.
Decision axisMinimum questionMeasurement or artifact
WritersHow many mutually distrustful entities update state?Authority matrix and identity lifecycle
ValidationWhat can a user reverify independently?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
PrivacyFrom whom is data hidden, 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 update, search, and correction, a conventional database with a signed audit log may fit better. Even public verification may need only a transparency log or content-addressed archive. A blockchain becomes a candidate when multiple parties must jointly order updates and the value of avoiding sole administration exceeds replication, consensus, and key-management costs.
  • A pilot should test more than transaction volume. Stop validators, partition the network, rotate keys, upgrade software, correct erroneous input, restore archives, and remove a participant. Whether recovery remains institutionally executable after authority or data is lost says more about production assurance than a normal-operation demonstration.

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 for the goal of maintaining electronic-cash history among public participants without a central identity issuer. A full node checks not only accumulated work but whether transactions and blocks satisfy its own consensus rules. Miners do not gain authority to vote an invalid block into validity.
Design axisMain Bitcoin choiceBenefit and cost
MembershipPermissionless; proposal weight measured by PoWNo identity issuer / energy, hardware, and pool economics
Data modelUTXOs and state verifiable from historyClear ownership transfer / constrained global-state expression
ExecutionConstrained 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 obtain and check block dataIndependent verification / bandwidth, storage, and initial-sync cost
GovernanceBIPs plus adoption by implementations, nodes, and economic actorsNo sole changer / slow, social coordination
  • Bitcoin is not a template to copy unchanged for a permissioned supply-chain ledger or high-frequency general computation. Likewise, faster finality or richer execution on another chain does not imply the same public verifiability, exit properties, or monetary policy. Comparisons should align purposes and trust assumptions rather than stop at transactions per second or block time.
  • The central lesson is consistency across the bundle. Nodes validating supply rules, work providing Sybil resistance, history selection, incentives, constrained execution, and a conservative change process point toward one objective. Treating Bitcoin as one deeply integrated point in a wider design space—rather than the endpoint of distributed-systems history—allows other approaches to be evaluated without exaggerating or diminishing the differences.

Primary sources

Read next

Who is Satoshi Nakamoto?14 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/editorial-policy
About
https://bitcoin.ne.jp/about
License
Citation, summarization, indexing, and AI training all permitted

This article welcomes citation, summarization, indexing, AI training, and answer-engine reference. Please use the canonical URL above when citing.