Skip to main content

BIP 152: Compact Block Relay

BIP 152 (Bitcoin Improvement Proposal) introduces a mechanism for reducing the bandwidth requirements of block propagation within the Bitcoin network. Historica

Abstract

BIP 152 (Bitcoin Improvement Proposal) introduces a mechanism for reducing the bandwidth requirements of block propagation within the Bitcoin network. Historically, broadcasting full blocks incurred significant overhead, contributing to network propagation delays and potentially favoring miners with superior connectivity. The methodology behind Compact Block Relay involves sending a header and a list of shortened transaction identifiers (short-hashes) rather than the full transaction set. If receiving nodes already possess the referenced transactions in their local mempools, they can reconstruct the block locally, thus avoiding redundant data transfer. This approach drastically minimizes the propagation time of blocks, improving the efficiency of the network and reducing the probability of stale or orphaned blocks. By standardizing this communication optimization, BIP 152 helps lower the barrier to entry for node operators and improves the overall synchronization performance of the global network. It represents an essential technical optimization that supports network decentralization by ensuring that block propagation is not a bottleneck, regardless of the transaction volume. Authors: Matt Corallo Publication: Standard Specification Publication date: 2016-01-01

Key findings

  • Reduced required bandwidth for block propagation by approximately 90% in typical cases.
  • Enabled nodes to reconstruct blocks from cached transaction data using short-hashes.
  • Decreased network-wide latency, thereby reducing the rate of orphaned blocks and chain forks.
  • Standardized efficient block transfer protocols for the Bitcoin network.

Citation

Matt Corallo (2016). BIP 152: Compact Block Relay. Standard Specification. https://github.com/bitcoin/bips/blob/master/bip-0152.mediawiki
Canonical knowledge ID: research:bip-152-compact-block-relay