How blockchain works: blocks, hashes, consensus and finality without the magic

A long-form Radar Expert guide to why hashes alone do not make history immutable, how networks select canonical history, where reorgs come from, and why confirmations are not the same as protocol finality.

How blockchain works: blocks, hashes, consensus and finality without the magic
A blockchain does not work because a hash is “unhackable,” and a block is not immutable by itself. Durable history emerges from several mechanisms working together: data inside a block is cryptographically committed, a new block refers to earlier history, nodes apply the same validity rules, and consensus determines which valid branch becomes canonical. Finality is a separate layer. It answers not “is this block valid?” but “under what assumptions can this part of history still be replaced?” Separating these jobs makes Bitcoin, Ethereum, BFT networks, L2 systems, reorganizations and confirmation policies much easier to reason about.

A blockchain is a protocol for ordering history, not one magical technology

The most useful definition of a blockchain starts with an ordering problem rather than with the word decentralization. Distributed nodes receive transactions at different times, may temporarily lose connectivity, can observe competing blocks, and are not required to trust one another. They need a compatible account of history: which events are valid, in what order they entered the ledger, and which resulting state should be treated as current. Blocks are useful because they batch many changes, while cryptographic commitments compactly connect each batch to data and history that came before it.

That immediately separates several concepts that are often collapsed into one. A hash function makes a data change detectable, but it does not choose the “correct” history. A digital signature proves authorization, but does not determine which block will include an operation. A Merkle root or another commitment connects a header to a dataset, but does not prevent two producers from proposing different valid datasets at nearly the same time. Consensus and fork-choice rules decide which valid history is canonical. Finality adds another boundary: after some condition is met, replacing that history becomes protocol-invalid, economically prohibitive, or possible only by violating the network’s core safety assumptions.

This is why the statement “the transaction is on-chain” is incomplete for a real application. At least four questions matter: does the transaction exist in a particular block; is that block part of the currently canonical history; how much protocol confidence has accumulated after it; and does this network have a distinct finalization concept? Exchanges, bridges, wallets and systems that trigger irreversible off-chain actions all care about those distinctions.

What a block actually contains

Exact block structures differ, but a block usually has two conceptual parts: data and a header or metadata structure containing commitments. In Bitcoin, the header refers to the previous block hash, commits to transactions through a Merkle root, and contains fields used by proof of work. In Ethereum, a block is linked to its parent and contains commitments to execution state and other data structures. The fields are not identical, but the engineering idea is the same: a small header must depend on the much larger body of data it represents.

A commitment is not encryption. Putting a public transaction into a Merkle tree does not hide the transaction. Instead, it allows a verifier to prove membership in a set without retransmitting the entire set. Change one byte of a transaction and its hash changes; that difference propagates upward through the tree and changes the root. If the root is part of the header, the header hash or identifier changes as well. This sensitivity is what makes inconsistencies easy to detect.

The everyday word “block” creates a misleading image of a sealed file that can never be opened after creation. In reality, full nodes continuously read and validate block data. Immutability does not mean that nobody can edit bytes on a disk. It means an edited history cannot be made acceptable to correctly operating nodes without satisfying every rule the network applies to an alternative history. That is where cryptographic linkage stops and consensus begins.

Previous-hash linkage creates a chain but does not solve consensus

Imagine three blocks: B100, B101 and B102. B101 references the hash of B100, while B102 references B101. If an old transaction inside B100 is changed, its data commitment changes and so does the block hash. The existing B101 still points to the old value, so local validation immediately sees a broken link. To make the alternative history internally consistent again, B101 must be rebuilt, then B102, then every later block.

That cascade is often presented as the reason a blockchain is impossible to change. It is only half the answer. An attacker can technically construct a new sequence of mutually consistent blocks. The real question is why other nodes should prefer the old or new sequence. In Bitcoin, preference is tied to a valid chain with greater accumulated proof of work. Other protocols may use validator votes, rounds, checkpoints, or a combination of fork choice and a finality gadget. Hash linkage exposes the rewrite; consensus turns the rewrite into a competition governed by network rules.

This is a useful test for any marketing claim about an immutable ledger. Ask who can produce blocks, what makes a block valid, how a node chooses between two valid continuations, what resource or quorum is required to rewrite history, and whether the protocol has a point beyond which returning to an older branch is forbidden. Those answers describe the actual security model.

Consensus is not a global vote on every transaction

The word consensus can suggest that every participant votes on every operation. Real protocols are more economical. Nodes independently apply deterministic validity rules: is a signature correct, is an input spendable, is there enough balance, does the block respect protocol limits? If a transaction is invalid under those rules, a majority does not vote it into validity. Consensus matters where multiple valid candidates for the next piece of history can exist.

In a proof-of-work network, competing blocks can result from ordinary network latency when two miners find valid blocks at nearly the same time. Nodes may temporarily disagree and then apply the chain-selection rule. In BFT-family protocols, validators may pass through proposal, prevote and precommit stages, or analogous rounds, to gather a quorum around one block. Ethereum proof of stake combines fork choice with checkpoint finality. These mechanisms differ substantially, but they address a related distributed-systems problem: how honest nodes converge on history despite delays and a bounded amount of faulty or malicious behavior.

Consensus has a cost model. Proof of work uses physical resources and energy for Sybil resistance and makes history rewriting a resource race. Proof of stake links influence to capital at risk and can apply economic penalties or slashing under specified behavior. BFT protocols can obtain fast deterministic commits but rely on an explicit validator set and fault threshold. A single TPS number cannot compare these systems fairly because security assumptions, liveness, networking and failure behavior sit in different places.

Confirmations and finality are not synonyms

A confirmation usually means that a transaction is in a block and some amount of additional history has been built after it. In probabilistic-finality chains, each extra layer normally makes a deep reorganization less likely as long as the protocol’s resource-distribution and honest-majority assumptions continue to hold. Applications therefore choose confirmation thresholds according to value at risk, network conditions and business requirements. The number six, or any other familiar number, is not a universal security constant across networks or scenarios.

Protocol finality is different. A BFT or PoS system may have a state in which a sufficient validator quorum has finalized a checkpoint or block so that two conflicting finalized histories would require violation of formal safety assumptions and, often, provably punishable behavior. This is stronger than merely having another block on top, but it is not magic either. Finality depends on quorum participation, client correctness, network assumptions and rules for handling extreme failures.

For users, the distinction surfaces in explorers and APIs. One interface may show confirmations, another a finalized epoch, another safe/finalized heads, and another simply a success badge. Those labels cannot be copied mechanically from one network to another. “Success” often means only that execution did not fail in the observed block. Canonical status and finality are separate properties. Reliable integrations read the network’s primary documentation and build an explicit waiting policy instead of borrowing terminology from a different chain.

Worked example: what has to be rewritten when old data changes

Consider a simplified five-block chain where the transaction of interest sits in the first block. Edit that transaction and its hash changes, which changes the transaction-set commitment. The first block header therefore changes. The second block references the old first-block hash and must be rebuilt; the same dependency propagates through blocks three, four and five. At the data-structure level, the entire suffix from the edited point to the current tip has to be replaced. That conclusion does not require any assumption about mining or staking; it follows from the dependency graph.

The protocol-specific barrier comes next. In proof of work, recalculating five ordinary hashes is irrelevant; each replacement block must satisfy the current target and the alternative branch must accumulate enough valid work while the honest network continues extending its own branch. The attacker is racing a moving target. In a stake/BFT design, the barrier is different: replacement blocks need the votes or certificates required by the protocol, and conflict with a finalized checkpoint may demand behavior that triggers slashing or that honest clients simply reject outside a special recovery process.

This example also shows why block depth is only a proxy. It measures how much history has accumulated above an event, not the entire threat model. High-value integrations may also care about current network health, the type of finality, resource concentration, known incidents, client diversity and external compliance requirements. A blockchain supplies cryptographic and consensus primitives; an application still needs a risk policy for deciding when those primitives are sufficient for its own irreversible action.

A reorganization is not automatically an attack

A reorganization, or reorg, means a node replaced part of a previously selected branch with another branch that it now considers canonical. A short reorg can be an ordinary consequence of latency and near-simultaneous block production. Some protocols expect this as part of normal convergence. In protocols with deterministic commit semantics, however, a conflicting commit after finality would indicate a much more serious failure of assumptions.

The first diagnostic mistake is treating every reorg as proof of a hack. Depth, cause, consensus model and whether finalized history was affected all matter. The opposite mistake is treating short reorgs as harmless to every application. If an external service released an irreversible asset immediately after the first observation of an on-chain transaction, even a small rollback can become an economic incident. This is why exchanges and bridges maintain confirmation and finality policies above the base protocol.

There are also liveness failures without a conflicting history. A network may keep producing some blocks while failing to finalize checkpoints because validator participation is insufficient; a strict BFT protocol may instead stop progress rather than finalize two incompatible blocks. Safety and availability are different properties. In extreme conditions, the safer behavior can look like a halt rather than like continuous operation at any cost.

What popular blockchain metrics do not prove

Block time is not settlement time. A network can produce blocks every few seconds while applications wait for an additional checkpoint or several confirmation rounds. Conversely, a longer block interval does not automatically imply weaker security. The meaning depends on consensus and the application’s finality requirement. Comparing networks only by average block interval is therefore incomplete.

TPS does not prove decentralization, security or censorship resistance. High throughput may come from stronger hardware, a different state model, parallel execution, larger blocks or other architectural choices. TPS answers a capacity question under specified conditions; it does not tell you how many independent actors can cheaply verify history, what data must remain available, or how the protocol behaves under Byzantine faults.

Validator count is not the same as the number of independent operators and does not reveal the distribution of economic weight. Hashrate does not translate directly into the cost of a particular attack without assumptions about hardware, energy, available capacity and duration. Even the word finalized needs a definition from the protocol specification. Good technical analysis first states what a metric measures, then what conclusions it supports, and separately what it does not establish.

Failure modes: where the simplified story breaks

The first class is data and validation failure. A node may receive a corrupted block, invalid signature, double spend or state transition that violates execution rules. A correct client rejects those candidates before consensus becomes the interesting question. A more dangerous case is a consensus-critical software bug where different client implementations or versions interpret the same rule differently. Honest nodes can then diverge because of incompatible software behavior rather than because a malicious majority won an economic contest.

The second class is network partition and latency. Validator subsets may temporarily observe different messages. Some protocols continue building competing branches and resolve them later, while others prefer to stop finalization without the required quorum. This is the familiar safety/liveness trade-off: a distributed system cannot promise every desirable property under arbitrary network failure. Primary documentation should make clear which fault model the protocol tolerates and how clients recover after partitions.

The third class is economic and governance assumptions. Concentrated control of the relevant resource can change the real-world coordination cost of censorship or attack even when the formal algorithm is unchanged. If emergency recovery depends on social coordination among developers, validators and infrastructure operators, that is part of the complete system model too, even though it does not fit inside a hash or quorum formula. A technically honest explanation keeps those external assumptions visible.

How to verify a block yourself without confusing an explorer with the protocol

Start with an explorer, but treat it as an interface to data rather than as the source of protocol rules. Locate a specific block height or transaction hash. Record the block hash, parent or previous-block reference, timestamp, transaction or state commitment, and canonical/finalized status if the explorer exposes one. Open adjacent blocks and check that references form the expected chain. Merkle or state proofs may require specialized tooling, but even a parent-hash check reveals the basic linkage structure.

Then open primary network documentation and determine what each field means. A Bitcoin-style confirmation count is an application-facing representation of depth in the current best chain. Ethereum head, safe and finalized concepts relate to the consensus layer and are not direct equivalents of “N confirmations.” If an explorer uses its own labels, read its documentation as well; a UI may compress several protocol states into one simple badge.

For critical verification, compare independent explorers or, preferably, query your own node. Agreement between two websites improves confidence that the display is not an isolated frontend error, but only a validating node applies protocol rules without trusting a third-party interface. This boundary matters: an explorer helps you observe a blockchain; a full node helps you independently validate it. Not every reader needs to run a node, but understanding the difference prevents a web page from being mistaken for the protocol itself.

Why modern multi-layer systems make the word blockchain less precise

Modern ecosystems increasingly separate functions that early explainers placed inside one chain. Execution can happen in a rollup, ordering can be provided by a sequencer, data may be published to a different layer, and settlement or dispute resolution can happen on a base network. One user transaction may therefore have several confidence stages: locally executed, accepted by a sequencer, published as data, recognized by L1, and finally withdrawable after the relevant proof or challenge process.

That is why “how many confirmations does this blockchain need?” can be too coarse a question. For an L2, ask what exactly has been confirmed and by which layer. For a bridge, ask which source-chain finality it waits for and what proof the destination accepts. For an oracle, ask how reorgs and stale observations are handled. Blocks, commitments, consensus and finality have not become obsolete; they are the vocabulary required to reason clearly about systems that split those jobs across components.

Radar Expert therefore keeps evergreen mechanics separate from event-driven reporting. A client release, validator-policy change or incident may alter the operational context, but the analytical question remains stable: which layer changed — data, execution, canonical-history selection, finality, or an application policy built above them? That decomposition makes technical news easier to evaluate without inheriting the project’s marketing language.

Practical takeaway: four questions replace the myth of an “immutable database”

When you encounter a new blockchain or a technical claim about an existing one, begin with four questions. First, how does a block or data batch cryptographically commit to its transactions and prior history? Second, which deterministic rules make a transaction and a block valid? Third, how do nodes choose the canonical history when valid candidates compete? Fourth, what exactly does the network call finality, and under which assumptions does that property hold?

Those questions quickly separate architecture from promotional language. If a project talks only about hashes but never explains fork choice, the model is incomplete. If it promises instant finality, locate the quorum and fault assumptions. If it advertises high TPS, inspect validation requirements and data availability before treating the number as a quality score. If an explorer shows success while an application risks real assets, understand the confirmation policy above the UI.

The most transferable mental model is to treat a blockchain as a verifiable protocol for agreeing on ordered history rather than as a mysteriously immutable table. Cryptography provides checkable links and authorization, consensus provides shared ordering, and finality defines the boundary of reversal. That model is more nuanced, but it carries cleanly from Bitcoin to Ethereum, BFT networks and L2 systems without requiring a new metaphor every time.

What each blockchain layer actually does

Data commitment — Which transactions or state are committed into the block? — A node cannot reliably prove that it is looking at the same dataset.

Block linkage — How does a new block refer to previous history? — History becomes a set of disconnected records.

Consensus / fork choice — Which valid history should nodes treat as canonical? — Honest nodes may continue to disagree.

Finality — When can past history no longer be safely replaced? — Applications do not know when to treat an event as irreversible.

FAQ

Does a hash by itself make a blockchain immutable? No. A hash makes tampering detectable. Consensus, fork choice and the network’s economic or protocol finality rules are what prevent an edited history from simply becoming canonical.

What is the difference between confirmation and finality? Confirmation usually describes inclusion plus additional history built after a transaction. Finality is a stronger protocol or security property defining when a conflicting history should no longer be accepted without violating core assumptions.

Can a valid block disappear from the chain? Before finality, yes in networks where competing valid branches and reorganizations are possible. Valid does not necessarily mean permanently canonical.

Does every reorg mean the chain was attacked? No. Short reorganizations can result from ordinary latency and near-simultaneous block production. Depth, consensus model, cause and whether finalized history was affected determine severity.

Why is TPS not enough to compare blockchains? TPS measures throughput under particular conditions. It does not establish security, validator independence, hardware accessibility, censorship resistance, data availability or time to finality.

Can an explorer verify a blockchain trustlessly for me? An explorer exposes useful data, but you still trust its backend and interpretation. Running a validating node is the stronger form of independent protocol verification.

This material is informational and educational. It is not financial advice, a trading signal, or a promise of returns.

Trust 96 Importance 82 Noise 0% Related symbol Informational material, not financial advice.