LibraryStorage and networks2017Design paperCorpus record
Compact Block Filters for Light Clients
BIP 158. Olaoluwa Osuntokun.
BIP 158, Compact Block Filters for Light Clients. A structure for compact filters on block data, for use in the BIP 157 light client protocol bip-0157.mediawiki .
Status in the source: Deployed. A reading of the public specification, not a copy of it and not a certification.
Compact Block Filters for Light Clients is worth reading for the rule it actually adds: A structure for compact filters on block data, for use in the BIP 157 light client protocol bip-0157.mediawiki .
The five-minute read
The rule
A structure for compact filters on block data, for use in the BIP 157 light client protocol bip-0157.mediawiki .
What was already failing
A node that cannot fetch, filter, or relay the data it is supposed to validate is not a peer of the network the paper describes.
What the number does not mean
The source marks this deployed. That is a statement about the text, not a promise that every wallet or node has shipped it.
What a builder should be able to point at
An implementation either constrains Compact Block Filters for Light Clients or it is a different design.
One action, walked through
- Open BIP 158 and read the status line before the examples.
- Write down the rule in one sentence. A fair version of that sentence is: A structure for compact filters on block data, for use in the BIP 157 light client protocol bip-0157.mediawiki .
- Name the object that changes: Compact Block Filters for Light Clients.
- Ask what an old client, an old contract, or an offline counterparty does. If the document is silent, the silence is part of the design.
The argument, unpacked
What the text is allowed to settle
Bitcoin Improvement Proposal 158 can settle the shape of Compact Block Filters for Light Clients. It cannot settle whether a later client, a later fork, or a later wallet still does this.
What this page will not pretend
There is no benchmark, no adoption number, and no claim that the mechanism is safe outside the assumptions written in the source.
What has to be true
- You are implementing BIP 158 at the status the text itself states: Deployed.
- The object that has to change is Compact Block Filters for Light Clients. A neighbouring document with a similar name is not this one.
- Measurements of delay in one year do not travel with the specification.
What happened after the paper
The source marks this deployed. That is a statement about the text, not a promise that every wallet or node has shipped it. Later documents can narrow, replace, or ignore this one. Cite the number you mean.
What to check before you use the idea
- Which message does Compact Block Filters for Light Clients add, and which old peer must still be answered?
- What does a node do when the short form fails and the full object is required?
- Which names are normative: Compact Block Filters for Light Clients?
Terms
- BIP 158
- The public text titled Compact Block Filters for Light Clients.
- Deployed
- The document's own label for how finished the text is. It is not a market fact.
The problem the paper names
A node that cannot fetch, filter, or relay the data it is supposed to validate is not a peer of the network the paper describes.
What the design proposes
- A structure for compact filters on block data, for use in the BIP 157 light client protocol bip-0157.mediawiki .
- The filter construction proposed is an alternative to Bloom filters, as used in BIP 37, that minimizes filter size by using Golomb-Rice coding for compression.
- This document specifies one initial filter type based on this construction that enables basic wallets and applications with more advanced smart contracts.
How the mechanism is specified
- Taken from the specification, the next constraint is: The filter construction proposed is an alternative to Bloom filters, as used in BIP 37, that minimizes filter size by using Golomb-Rice coding for compression.
- Locate Compact Block Filters for Light Clients in BIP 158 and apply it to one transaction or call.
- Then check the failure the class of rule always has: a node that did not upgrade, a reverted call, a replayed signature, or a peer that does not speak the message.
What this page does not treat as proven
- A peer protocol is not a consensus rule. A peer can disconnect. A block is still valid or not on its own.
- Measurements of delay in one year do not travel with the specification.
- The source marks this deployed. That is a statement about the text, not a promise that every wallet or node has shipped it.
Why a venture studio still reads it
Use BIP 158 when a pitch says 'Compact Block Filters for Light Clients' without saying whether the rule is consensus, policy, or an interface. The number is the citation. The pitch is not.
This is Blockchain Lab's reading of a public design paper. It is not the paper, not a copy of it, and not an offer of tokens, equity, custody or a partnership. Later network behaviour can diverge from the text. Nothing here is investment, legal or technical advice.
Research status: Design paper. Last reviewed: 1 October 2026. This is a reading of a public paper, not investment, legal or security advice.
