When a Bitcoin node receives a newly mined block, it may already hold most of the transactions inside it. Those transactions circulated before mining and entered its mempool, the node’s collection of unconfirmed transactions. Downloading them all again would repeat work the network has already done.
Compact block relay reduces that duplication. Introduced in Bitcoin Core 0.13.0 in 2016, it lets peers describe a block so the receiver can rebuild it from available transaction data. This is established networking infrastructure, not a new October 2026 upgrade. Bitcoin Core’s release announcement explains the original motivation: avoid retransmitting data unnecessarily and reduce bandwidth spikes.
A recipe for rebuilding a block
Think of two kitchens that already have many of the same ingredients. Sending a recipe can be more efficient than delivering a second shipment of everything. The recipe must still identify what belongs in the finished dish, and any missing ingredient must arrive separately.
Under BIP152, a compact-block message contains the block header, a nonce used to calculate short identifiers, an ordered collection of short transaction IDs, and some transactions supplied in full. These “prefilled” transactions normally include the coinbase transaction, which is specific to that block. The format also permits additional transactions the sender expects the receiver to lack.
Each short ID occupies six bytes. It is a matching aid, not a compressed transaction that can be expanded without other information. The header and nonce help determine the short-ID calculation. Compact-block version 2 incorporates witness data and uses witness transaction identifiers, or wtxids, rather than legacy txids for this calculation.
Reusing transactions without guessing
The receiving node calculates corresponding short IDs for transactions it already has and fills the appropriate positions in the candidate block. Bitcoin Core’s reconstruction implementation checks its mempool and an additional transaction collection. The compact message supplies ordering information; the receiver contributes the transaction bodies.
For a simplified example, imagine a block with five ordinary transactions plus its coinbase. If the receiver already has four of those ordinary transactions, it can reuse those four, take the prefilled coinbase, and leave one position unresolved. This example illustrates the mechanism, not a typical transaction count or a promised bandwidth saving.
Short IDs can collide: different transactions may produce the same short identifier. Bitcoin Core detects ambiguous matches encountered during its search and leaves those positions for retrieval instead of treating the identifier as proof. Some collisions can prevent reconstruction altogether. The implementation therefore distinguishes reconstructing a candidate block from establishing that the result is correct.
Missing data has a recovery path
When positions remain empty, the receiver can ask for their transaction indexes using a getblocktxn message. Its peer returns the requested transaction bodies in blocktxn. These are requests for positions in a particular block, not a request to synchronize the peers’ entire mempools.
If compact reconstruction fails, Bitcoin Core can request the complete block instead. Depending on other downloads already underway, it may instead wait for another peer’s transfer. These paths are visible in its network-processing implementation. A compact transfer failing is therefore a recoverable transport event, not evidence that Bitcoin must accept incomplete block data.
Two modes with one validation standard
Low-bandwidth mode starts with an announcement; the receiver requests a compact block if needed. This helps avoid redundant downloads. High-bandwidth mode lets selected peers send compact blocks immediately, reducing an announcement-and-request exchange but potentially delivering duplicate sketches from multiple peers.
High-bandwidth relay can begin after basic checks, including valid proof of work and the block header’s transaction commitment, before the sender finishes full block validation. That does not authorize the receiving node to accept the block unchecked. Both nodes still complete validation before incorporating the block into their local blockchain. The Bitcoin Core compact-block FAQ makes that distinction explicit.
Actual savings and delay depend on transaction overlap, missing-data requests, connection conditions, and the chosen relay mode. The protocol provides no universal percentage saving or fixed delivery-time guarantee. A short message is useful only when the receiver has enough information to finish the job.
Different from wallet compact filters
Compact block relay should not be confused with compact block filters. BIP157 describes a light-client protocol for obtaining filters and downloading blocks that may contain relevant data. BIP158 specifies the compact filter construction. A wallet can use these filters to decide which blocks deserve closer inspection.
BIP152 serves a different task: reconstructing the complete block for a node receiving it. Its efficiency comes from reusing transaction data, with requests and fallback transfers covering what is missing. The practical lesson is straightforward: Bitcoin can move less duplicate data between peers while retaining the requirement to validate the resulting block.

