§ 1.3 · Foundations · 5 min
How a Block Gets Made: From Mempool to Sealed Header
A block's life story: how transactions wait in the mempool, get picked and ordered into a candidate block, are sealed by a proposer, and spread peer to peer.
When you send a transaction, it feels instant: you press confirm, and a few seconds later the wallet reports success. Underneath that moment sits an assembly line with four distinct stations. Your transaction waits in a queue, gets selected and ordered into a batch, has that batch sealed shut with a cryptographic stamp, and is then shipped to every computer on the network for inspection. Each station has its own rules, its own failures, and its own vocabulary — and once you can name them, most of what blockchains do stops looking mysterious and starts looking like well-designed factory logistics.
This article walks the whole line, station by station.
Station one: the waiting room
Before anything is confirmed, your transaction lives in the mempool — short for "memory pool," the set of transactions a node has heard about but that are not yet in a block. It helps to picture it as a waiting room with no seats and no queue numbers: transactions arrive in whatever order the gossip network delivers them, and they leave only when a block producer picks them up.
Two properties of this waiting room matter. First, it is local. Every node maintains its own view, built from whatever its peers happened to pass along. There is no global mempool that everyone agrees on; two different nodes can be holding slightly different sets of pending transactions, and that is fine, because the ordering that ultimately counts happens later, in the block itself.
Second, it is self-interested. Block space is scarce, so transactions effectively bid for attention by attaching fees. A transaction offering a generous fee gets picked up quickly; one offering too little can sit through many blocks, and nodes may quietly drop stale or low-value transactions to keep their waiting room from growing without bound. Nothing is lost when that happens — the transaction simply never happened from the chain's point of view, and the wallet can try again with a higher bid.
Station two: assembly
On schedule, one special participant gets a turn at the loom. On a proof-of-work chain that participant is the miner who won the latest round of computation; on a proof-of-stake chain it is a validator selected by the protocol to propose. Either way, the job at this station is identical: assemble a candidate block.
Assembly is mostly a sorting exercise. The proposer scans its view of the mempool, discards transactions that are malformed or malformed in effect — a nonce that has already been used, a balance that cannot cover the payment — and orders the survivors. The ordering logic is profit-driven: all else equal, a proposer prefers transactions that pay more per unit of limited block space, the same way a shipping clerk fills a container with the highest-value parcels first.
Two constraints shape the result. Every account's transactions must appear in nonce order, so a sender's actions are applied in the sequence the sender intended. And the total computation in the block must stay under the protocol's gas limit — the hard ceiling on how much work one block may contain. Between those constraints, the proposer weaves an ordered list and computes the resulting state changes: balances moved, contracts updated, events emitted.
The output of this station is a candidate — a fully specified block that is not yet authoritative. Its header names the previous block, so everyone can see exactly where on the cloth this row of threads belongs.
Station three: sealing
A candidate block is just a proposal until it is sealed. Sealing is the step that makes the block expensive to fake, and it is where proof of work and proof of stake genuinely differ in machinery even though they share a purpose.
In proof of work, sealing is a brute-force search. The miner grinds through candidate header values, hashing each one, looking for a result below the network's difficulty target. Because that search consumes real computation and electricity, a forged seal is easy to verify and expensive to produce. In proof of stake, the seal is a signature: the selected validator cryptographically signs the block, attesting to it with the capital they have locked in the protocol. A dishonest attestation can cost that validator part or all of their stake through slashing. Two different currencies — burned energy versus bonded capital — buying the same guarantee: sealing a block is cheap to check and costly to fake.
Notice what the seal is attached to. It covers the header, which commits to the entire contents of the block through a hash tree. Change one transaction in the list and the root of that tree changes, the header changes, and the seal no longer matches. This is why the header is the anchor of the whole system: each block holds the cryptographic fingerprint of its contents and the name of its parent, stitching every row of the cloth to the row before it.
Station four: shipping and inspection
The sealed block is broadcast to peers, which is the least glamorous and most important station of all. Every node that receives it performs the same inspection before passing it along: verify the seal, rebuild the block by executing every transaction in order, and check that the resulting state matches what the header claims. Only a block that passes inspection is relayed onward and recorded locally.
This is also why the network feels trustworthy without anyone being in charge. No node takes a block on someone else's word; each one re-derives the result from the raw materials. Agreement emerges not from a central authority but from thousands of independent inspectors reaching the same conclusion from the same inputs. Propagation is a race — proposers want their blocks to spread fast so the network builds on them — and the protocol's timing parameters are tuned so that, in the ordinary case, the whole network settles on the same latest block before the next turn comes around.
Watching the line run
Everything above is not history; it is happening continuously, on every chain, right now. The clearest way to internalise it is to watch the line in real time: open the live block tables on Wevr, pick a chain, and watch rows land one after another — each row a finished block, with its height, its parent, its transaction count, and its gas usage already decoded for you. Trace a few blocks and you will see the assembly line's rhythm directly: the steady cadence, the varying fullness, the occasional block that packs in far more than its neighbours.
For the longer view — how block sizes, fullness, and production cadence move across days and weeks — the Explore charts turn the same raw production data into pictures. When a mechanism from this article feels abstract, come back and watch it run; the loom is always on.