THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Does Bitcoin Compact Block Relay Skip Full Block Validation?

permalink THAMER
#bip152#compact-blocks#full-validation

No. BIP152 compact block relay is a bandwidth optimization, not a shortcut around Bitcoin consensus rules. A full node reconstructs the complete block from transactions it already knows plus any missing transactions requested from a peer.

What does the node check?

After reconstruction, the node checks the block's commitments and performs its normal consensus validation, including proof of work, transaction rules, and applicable script checks. A peer's short transaction IDs do not prove that the block is valid.

What if a transaction is missing?

The receiver can request missing transactions with getblocktxn and receive them in blocktxn, or use a fallback mechanism. Missing mempool data does not automatically make a block invalid.

Primary references

BIP152 — Compact Block Relay: https://github.com/bitcoin/bips/blob/master/bip-0152.mediawiki

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects