BitcoinMachine
TERM_DEF // UPGRADES_BIPS / BIP_157_COMPACT_BLOCK_FILTER_SERVICE
BIP 157 (COMPACT
BLOCK FILTER SERVICE)
block-filter-service/">BIP 157 (Compact Block Filter Service). P2P service exposing BIP158 filters to light clients.

This page sits in the Upgrades & BIPs section — The proposal process and the major upgrades that shaped Bitcoin. Read on for what it is, why it exists, how it works under the hood, and what to watch out for.
BIP 157 (Compact Block Filter Service) — at a glance
UPGRADES
BIP 157 — "Compact Block Filter Service" is a proposal in the Light Clients family, first published in 2019 with status final. P2P service exposing BIP158 filters to light clients. Its technical mechanism: compact block filter service: send filter headers + filters on demand. used by Neutrino and other modern light clients
Why it exists
DESIGN
BIP 157 (Compact Block Filter Service) exists to solve a specific problem: modern SPV filter delivery without fingerprinting wallets like BIP-37 did. Without a written, numbered spec, every wallet and node implementer would interpret the requirement differently — and Bitcoin's value depends on every implementation agreeing exactly. BIP-157 is the single source of truth for this concern, so any new client built today can match the behaviour of every client built since 2019.
Mechanism
HOW IT WORKS
Mechanically, BIP-157 compact block filter service: send filter headers + filters on demand. Adoption today: used by Neutrino and other modern light clients.
1. Author drafts BIP-157 against the BIP-2 template — abstract, motivation, specification, rationale. 2. The text + a reference implementation are posted on the bitcoin-dev list and as a PR to bitcoin/bips. 3. Reviewers tear it apart: ambiguities, security concerns, edge cases, interaction with prior BIPs. 4. Once stable, the BIP editor merges it; it gets a number (BIP-157) and the status "draft" or "proposed". 5. Implementations land in Bitcoin Core / wallets / other clients. For consensus changes: activation parameters chosen. 6. After deployment + adoption, BIP-157 is promoted to "final"; deprecated proposals get "replaced" or "withdrawn".
BIP-157 — quick reference card
EXAMPLE
BIP number : 157 Title : Compact Block Filter Service Area : Light Clients First published: 2019 Status : final Fork class : no Motivation : modern SPV filter delivery without fingerprinting wallets like BIP-37 did. Mechanism : compact block filter service: send filter headers + filters on demand. Where it shows up : used by Neutrino and other modern light clients. Read the spec : https://github.com/bitcoin/bips/blob/master/bip-0157.mediawiki
OPT-IN
No authority can force a BIP on anyone. Adoption depends entirely on whether the change is genuinely useful.
NUMBERED
Stable numeric reference — BIP-157 means the same thing across every wallet, miner, and node that has read this spec.
BIP-157 is not a consensus rule — clients can implement it without coordinating with the network at large.
DEPLOYED
Implementations of BIP-157 are in production. The behaviour is observable on mainnet today.
Things that catch people out
PITFALLS
  • Don't confuse "draft" / "proposed" / "final" status — read the BIP header before relying on it in production.
  • The BIP number is just an editorial counter — it doesn't imply correctness or stability. Always cross-reference with the latest bitcoin/bips repo.

TERMINOLOGY
BIP 157 (Compact Block Filter Service)
P2P service exposing BIP158 filters to light clients.
Segregated Witness (SegWit, BIP 141)
The 2017 upgrade separating witness-data/">witness data, fixing tx malleability, and introducing weight units.
Taproot (BIP 341)
The 2021 upgrade introducing key-aggregable schnorr-signatures/">Schnorr signatures and Merkleized script trees.
Tapscript (BIP 342)
Script-language updates accompanying Taproot — new opcodes, removed limits.
Schnorr (BIP 340)
The Schnorr signature spec adopted by Taproot.
BIP Process
The community workflow for proposing, discussing, and tracking changes to Bitcoin.
Soft Fork Activation
The mechanism (versionbits, MASF, UASF, Speedy Trial) by which soft forks turn on.
MASF (Miner-Activated Soft Fork)
Activation triggered by miner signaling in block versions.