BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitcoin

BIP 37

BIP 37, Connection Bloom filtering, introduced an optional Bitcoin peer-to-peer service that let lightweight wallets ask a full node to send transactions and partial blocks matching a client-supplied probabilistic filter. The specification credits Mike Hearn and Matt Corallo and carries an assigned date of 24 October 2012. It answered a practical early smartphone problem: downloading whole blocks and every transaction announcement was expensive for a wallet interested in a tiny fraction of them. Maintained BIP 37 specification

What the client sent

A Bloom filter is a compact representation of a set. It can return a false positive, identifying an item as potentially interesting when it was not inserted, but it does not return a false negative for an item actually inserted into a correctly constructed filter. In BIP 37 the client constructs the filter and sends it to a remote peer; the peer tests transaction data against that filter. This direction of travel matters. The filter is not a cryptographic concealment of the wallet's addresses. Abstract and motivation

The BIP defines filterload to load a filter for a connection, filteradd to insert an additional element and filterclear to remove the connection's filtering state. It specifies a maximum filter size of 36,000 bytes and up to 50 hash functions. The version message acquired the optional fRelay setting so a client could suppress transaction announcements until its filter was installed. Filter updates could also follow detected payments by adding relevant outpoints, allowing later spends to match. These were protocol rules, not Bitcoin consensus changes. Message format and matching algorithm

The matching procedure tests transaction identifiers, pushed elements of output scripts, previous-output references in inputs and pushed elements of input scripts. When a client requests MSG_FILTERED_BLOCK (inventory type 3), the serving node can answer with a merkleblock: the block header and a partial Merkle tree containing enough hashes and flags to demonstrate inclusion of matched transaction IDs. Matching transactions are supplied separately. The BIP explicitly acknowledges that a server can lie by omission. Merkle inclusion is a narrower assurance than an accurate inventory of every payment to a wallet. Filter matching and filtered blocks

Why the trade-off mattered

The contemporaneous proposal cited the Android Bitcoin Wallet application and the cost of syncing over metered mobile connections. Its privacy rationale was deliberately conditional: a higher false-positive rate made the filter less revealing but increased the bandwidth needed to retrieve irrelevant transactions; a more selective filter saved bandwidth at the cost of exposing more wallet information to the serving node. These were stated design trade-offs, not a promise of anonymity. Original motivation and design rationale

This was also an asymmetric service: each connected peer could ask a full node to perform matching work against blocks and transaction announcements. That design created operational exposure for node operators, particularly when expensive filters or requests were supplied by untrusted peers. Both the intended efficiency and the subsequent problems belong to the history. BIP 111 motivation · Bitcoin Core's later operational explanation

Evidence and chronology

6 September 2012
The original Bitcoin Core **Bloom filters** pull request, #1795, was opened. It is a direct implementation-history record and predates the specification's presently assigned date. Opening a PR is not the same as shipping software.
24 October 2012
The **assigned date** retained in the BIP's header. This does not by itself identify every earlier mailing-list draft or the first public circulation of the text. Current metadata
17 January 2013
Bitcoin Core merged the Bloom-filter implementation into its development branch. The merge precedes the first release documented below.
19 February 2013
**Bitcoin-Qt 0.8.0** was released with network Bloom-filter support for lightweight clients. The release notes describe the shipped feature; they do not show how many clients used it. Contemporary 0.8.1 notes preserving the 0.8.0 feature list · Original 0.8.0 release notes
19 March 2013
The surviving bitcoinj release-0.7 branch reached its 0.7.3 commit. Version-pinned client code combines wallet Bloom filters and requests filtered blocks from eligible peers. The library's maintained 0.7 release notes say filtering was enabled by default, but do not measure end-user deployment. Source milestone · First-party release notes
3 September 2013
**Bitcoin-Qt 0.8.4** fixed a critical divide-by-zero crash reachable through a crafted sequence of Bloom-filter messages. Its release notes identify versions 0.8.0 through 0.8.3 as vulnerable. This is a documented implementation flaw, not evidence that the mathematical Bloom-filter idea itself was invalid. First-party security release notes
21 October 2013
The earliest identified commit affecting bip-0037.mediawiki in the maintained bitcoin/bips Git history imported a revision labelled **20 February 2013** from the older Bitcoin wiki. Thus the file's Git commit date is **not** the BIP's original proposal date. Archive import commit
2014
Arthur Gervais, Ghassan O. Karame, Damian Gruber and Srdjan Capkun published research analysing address leakage from deployed Bloom-filter light clients. The researchers reported that an adversary observing filters, particularly across restarts, could infer substantial wallet information under their studied configurations. This is a research result with defined assumptions, not proof that every BIP 37 wallet leaked every address. Research publication record and abstract
20 August–8 September 2015
BIP 111 was assigned on 20 August; its 21 August mailing-list draft proposed NODE_BLOOM, an explicit advertisement of Bloom-filter service. Bitcoin Core merged the initial implementation on 8 September. A service bit announces willingness to serve filters, not completeness or privacy of the replies. BIP 111 documents the version-compatibility details.
1 February 2016
The BIP repository promoted BIP 37 from **Accepted** to **Final** as a documentation-status change. The underlying protocol was already shipped years earlier. Status commit
23 February–23 August 2016
Bitcoin Core **0.12.0** shipped the service bit but applied its no-filter rule only to peers announcing protocol version 70011 or later. PR #7708 removed that exception on 21 March, and **0.13.0** shipped the stronger enforcement on 23 August. The similarly titled PR #6641 had closed without merging; BIP 111 preserves the distinction. 0.12.0 notes · 0.13.0 announcement
24 November 2019
Bitcoin Core **0.19.0.1** was published with -peerbloomfilters **disabled by default** because of known denial-of-service risks. Operators could still explicitly enable support globally or for permitted peers. This did **not** remove the protocol from Bitcoin or establish that every network node stopped offering it. Release notice · P2P release notes
12 January 2026
A bulk metadata revision changed the BIP status terminology from **Final** to **Deployed**. This is a repository-maintenance event, not a fresh network measurement or a reversal of the 2019 default. Metadata revision

The client side: bitcoinj 0.7

Bitcoin Core's February 2013 release established server-side support for filtered-block requests. The contemporary client story is visible in the Java library bitcoinj. Its maintained release notes say Bloom filtering was implemented and enabled by default in version 0.7, crediting Matt Corallo. This is first-party release documentation, but the maintained notes are not themselves a dated 2013 binary or a measurement of wallet installations.

The surviving release-0.7 branch reached a Version 0.7.3 commit on 19 March 2013. That commit provides a pinned implementation to examine. In its PeerGroup.java, the library combines filter entries from attached wallets, transmits an updated filterload representation to connected peers, and sends the current filter to newly connected peers. The corresponding Peer.java chooses the filtered-block inventory request for peers announcing a protocol version above 70000 when filtered downloading is enabled. The code also separates this optimisation from full-transaction-verifying mode, which needs the transactions the filter would discard.

This closes part of the question of whether BIP 37 was merely a serving-node feature: an independently maintained client library contained the counterpart logic in a surviving March 2013 source tree. It does not establish which Android or desktop wallet builds shipped that exact revision, what settings their users selected, or how many network peers actually responded.

Privacy was being engineered inside the client

The pinned PeerGroup source sets a default false-positive target of 0.0005 (0.05%). It constructs a shared filter for its attached wallets, keeps one per-group tweak when regenerating it, and rounds its element capacity up by 100 when expansion is needed. The source comments explain the last two decisions as attempts to avoid privacy loss from changing filter parameters. It also uses a roughly 25,000-filtered-block refresh interval to contain growth in false positives. Version-pinned implementation

The same implementation warns that regenerating filters too often lets observers compare successive filters and narrow the apparent anonymity set. That warning is particularly important alongside the release notes' optimistic description of Bloom-filter privacy. Both belong to the contemporary engineering record: the authors recognised leakage and tried to manage it, but their selected false-positive rate and tweak handling were not a cryptographic privacy guarantee. The later independent analyses of wallet-linkage leakage should therefore not be mistaken for the first moment anyone recognised that filters disclosed information. Source comments · First-party release notes

A protocol that became optional in practice

The chronology has an instructive shape. First came a useful bandwidth-saving service, then a security fix, independent privacy criticism and a new way for nodes to decline the service, followed by a major implementation choosing not to offer it by default. BIP 111 was a service-negotiation response, not a redesign of the data sent by a wallet. Bitcoin Core's 2019 setting was a default-policy change, not a consensus rule or universal removal of BIP 37 from all implementations. BIP 111 rationale · Bitcoin Core 0.19.0.1 P2P changes

A second, independent 2016 filter could be combined with BIP 37. BIP 133 specifies that a wallet's transaction Bloom filter and its feefilter fee threshold are additive: a serving peer may announce only transactions that satisfy both. The fee filter concerns unconfirmed-transaction relay policy; it does not repair the privacy leakage of revealing the wallet's matching interests, guarantee announcements of low-fee payments, or authenticate a transaction's contents. BIP 133, specification · Original February 2016 proposal

The later BIP 157 and BIP 158 specifications invert the information flow. Under that design, a server generates a deterministic compact filter for a block and the wallet matches its own interests locally, without publishing a wallet-specific Bloom filter to the serving peer. The client still faces block-request privacy considerations and filter-integrity questions; BIP 157 describes peer comparison and full-block verification, while BIP 158 defines the filter contents. These alternatives should not be conflated with BIP 37's per-connection matching service. BIP 157 · BIP 158

Limits for other Bitcoin indexes

BIP 37 was designed to find transactions matching selected transaction or script material for a lightweight client, not to provide a canonical index of Ordinals inscriptions or Bitmap District registrations. A peer may filter transactions without identifying witness envelopes, application-level validity or every candidate relevant to an external protocol. Conversely, a correct Merkle proof that a transaction was included does not establish the rules of an Ordinals or Bitmap index. This is an architectural distinction derived from the specified matching algorithm and the separate validity rules of those systems. Matching algorithm · Inscription provenance

Questions left open

Open question
Locate independently preserved mailing-list or Bitcoin-wiki drafts between the September 2012 implementation PR and the February 2013 revision imported into the BIPs repository. Distinguish authorship, assignment, publication and archival migration dates.
Open question
Identify dated 2013 end-user wallet builds bundling bitcoinj 0.7.x or other BIP 37 client code, and check their runtime settings and network traces where available. The pinned bitcoinj library source establishes client-side implementation, not which wallet releases shipped it or how many users ran it.
Open question
If current BIP 37 availability is to be described, measure it with a dated, reproducible network sample. A BIP status label and an implementation default cannot supply that count.