← Glossary

Coins & networks

What Is Compact Block Relay? How Nodes Save Bandwidth (BIP-152)

Compact block relay, specified in BIP-152, sends a new block to peers as a header and short transaction IDs instead of every full transaction, because most of the block's transactions are already in the receiving node's mempool.

Key takeaways

The problem

Historically, Bitcoin nodes relayed every transaction in a block in full, even though almost all of them had already been broadcast and sat in each node's mempool. BIP-152 notes that this was not very bandwidth efficient and caused significant bandwidth spikes, especially for nodes that received a block before their peers and had to forward it many times. Such spikes can make a home internet connection temporarily unusable.

The solution

A compact block announces the block with its header and a list of short transaction IDs, plus a few full transactions the sender thinks the receiver may not have. The receiver matches the short IDs against its own mempool to rebuild the block. If some transactions are missing, it asks for them with a follow-up request, and the sender supplies them.

Two modes

The specification describes a high-bandwidth mode, in which a node chooses a few peers to send compact blocks immediately, even before fully validating, and a low-bandwidth mode, in which peers announce the block normally and the receiver requests the compact form. The high-bandwidth mode can save a round trip and speed propagation.

Why it matters

Faster, lighter block propagation helps all nodes keep up and reduces the chance that two miners find blocks at nearly the same time without having heard of each other, which is how stale blocks arise. It also lowers the cost of running a node. As a user, you will never see it, but it is one reason the network keeps performing as block sizes and transaction volumes grow.

Example

A node has already seen 2,800 of a block's 3,000 transactions in its mempool. The compact block carries the header, 3,000 short IDs and the 200 transactions the sender guessed were missing. The node reassembles the block in one step.

Put it into practice

Rely on the network, not on clever settings

Nodes handle block relay for you. In Scrypt Wallet you just send and receive, and can check any transaction's confirmations in a block explorer.

Create a free wallet Get Scrypt for Android

Frequently asked questions

Does it change what is in a block?

No. It only changes how the block is transmitted between nodes.

Why does it reduce stale blocks?

Faster propagation means fewer miners work on an old tip after a new block has been found.

Do I need to do anything?

No. It is handled by node software automatically.

Related terms

Go deeper

Written by the Scrypt Wallet team · Updated 2026-10-02. General education, not financial, tax or legal advice.