A block in a blockchain is a structured proposal for how to order a set of transactions and move the system from one state to a new candidate state. It is not inherently final history, but one step in an ongoing process of converging on a shared ledger. This guide focuses on blocks as proposed orderings and state transitions, not on mining vs staking, reward formulas, or user interface details. It explains why blocks are produced before there is network-wide agreement, why fresh blocks are untrusted and replaceable, how forks create temporary competing histories, and where block inclusion fits in the full lifecycle of a transaction. The goal is to replace the “blocks as permanent containers” picture with a mechanism-level mental model that works across blockchain designs.
1. The Naive View: Blocks as Containers
- Assuming that once a transaction appears in any block, it is permanently part of the ledger and cannot disappear.
- Treating a block primarily as a storage container for transaction data instead of as an ordered sequence that defines how state should change.
- Believing that all nodes instantly and globally agree on the latest block as soon as it is produced.
- Equating the tip of the longest chain a node sees with unquestionable, finalized truth.

2. Blocks as Proposed Orderings
- An explicitly ordered list of transactions, where position in the list determines which transaction is applied first, second, and so on.
- An implied candidate next state: if these transactions are valid and applied in this order to the parent’s state, they yield a deterministic new state.
- Metadata such as timestamps, cryptographic commitments, and producer identifiers that nodes use to validate and compare proposals.

3. Why Ordering Matters More Than Storage
- If storage is available but ordering is ambiguous, different nodes may apply the same transactions in different orders and end up with incompatible balances and states.
- If ordering is consistent but long-term storage is outsourced or pruned, nodes can still agree on the current state as long as they can reconstruct or verify the ordered history they rely on.
- When two double-spend transactions are both stored but not consistently ordered, some nodes may consider one valid while others consider the other valid, breaking the shared ledger property.
- By enforcing a single agreed order inside each accepted block, the protocol ensures that all honest nodes resolve conflicts in the same deterministic way.

4. Blocks and State Transitions
- Locate the parent block referenced by the new block and load the corresponding current state Sₙ from local storage.
- Iterate through the block’s ordered transactions one by one, checking signatures, balances, nonces, and any protocol-specific validity conditions.
- For each valid transaction, update the state deterministically: adjust balances, modify storage, and record any protocol-defined side effects.
- If any transaction is invalid under Sₙ or the partially updated state, reject the entire block as invalid according to the rules.
- If all transactions are valid, record the resulting computed state as the candidate state Sₙ₊₁ associated with this block.

5. Block Production vs Agreement
- The producer broadcasts the block to peers, who independently verify its structure, signatures, and state transition validity.
- Other producers may create competing blocks on the same parent, causing nodes to temporarily diverge in which block they treat as the tip.
- As more blocks are produced, one branch becomes better supported under the consensus rules, and nodes converge on a common chain where earlier blocks become increasingly stable.
Pro Tip:A junior engineer wired an off-chain shipment system to trigger as soon as a payment transaction appeared in the first block they saw. A short reorg replaced that block with a competing one that did not include the payment, leaving the shipment sent but no on-chain record. The incident forced the team to distinguish block production (a proposal) from later agreement (sufficient depth and stability) in their design.
6. Why Blocks Are Not Final
- “A block is not final history the moment it is produced”; it is a candidate that can still be replaced by a competing branch.
- “Block inclusion is not a guarantee that a transaction will remain in the ledger”; transactions from discarded blocks may need to be re-included in later blocks.
- “The latest block is not a globally locked-in truth”; different nodes can legitimately see and temporarily favor different tips.
- “Reorganizations are not necessarily protocol failures”; they are a built-in mechanism for resolving temporary disagreement about which block sequence to keep.
7. Competing Blocks and Temporary Histories
Pro Tip:Consider two nodes in different data centers that both track the same blockchain. A new block A arrives first at node 1, while a competing block B on the same parent arrives first at node 2. Each node extends the block it saw first and briefly believes a different sequence of blocks is “the chain.” Only after more blocks are produced and propagated do both nodes switch to the same branch, revealing that their earlier views of history were temporary and local.

8. Why Blocks Can Be Discarded
- Detect that an alternative branch has become preferable under the consensus rules, for example by having more accumulated weight or length.
- Identify the common ancestor block between the current branch and the new preferred branch.
- Roll back local state by undoing the effects of blocks above the common ancestor on the old branch, effectively discarding those blocks from the canonical view.
- Apply the blocks from the new branch in order from the common ancestor, recomputing the state transitions to reach the new canonical state.
- Optionally return transactions from discarded blocks that are still valid and not present on the new branch back to the mempool for possible future inclusion.
9. Where Blocks Fit in the Transaction Lifecycle
- Transaction is created, signed, and broadcast, then stored in nodes’ mempools as an unordered candidate for future inclusion.
- A producer includes the transaction in a block, giving it a first proposed ordering relative to other transactions in that block and its ancestors.
- If a reorg discards that block, the transaction may return to mempools and later be included in a different block at a different position in the history.
- As more blocks are built on top of the block containing the transaction, its ordering becomes increasingly stable, and the probability of reorg removing it decreases.
- Beyond some depth, depending on the consensus and risk tolerance, the transaction’s inclusion is treated as effectively permanent, even though absolute irreversibility may remain a theoretical edge case.

What Blocks Guarantee vs What They Do Not
Key facts
Clearing Up Block Misconceptions
- A block is not permanent history; it is a proposal that may or may not remain in the canonical chain.
- Block inclusion is not finality; it only means a transaction has been given a tentative ordering in one candidate history.
- The chain tip is not globally agreed truth; it is each node’s current best guess based on the blocks it has seen so far.
- A block is not just a container of data; it encodes an ordered state transition from one snapshot of the ledger to another.
- Consensus is not the act of producing a single block; it is the ongoing process by which the network converges on one branch among many possible proposals.
10. The Block Mental Model
- A block is a proposal: it links to a parent and specifies an ordered batch of transactions plus a candidate next state.
- Inside a valid block, execution is deterministic: all honest nodes that accept the parent will compute the same resulting state.
- Recent blocks are intentionally replaceable so the protocol can resolve timing races and competing histories safely.
- Deep blocks are stable because replacing them would require violating the assumptions of the consensus model, not because blocks themselves are intrinsically immutable.