BOMBARCHIVE
Explore

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

The archiveBitcoin

BIP 35

BIP 35, the mempool message, is Jeff Garzik's 2012 proposal allowing a Bitcoin peer to request an inventory of another node's unconfirmed transactions. It introduced a zero-payload mempool network message and extended getdata handling so a peer could actually retrieve transactions named in the reply. Bitcoin-Qt/bitcoind 0.7.0 shipped this support on 17 September 2012. It was a way to ask a peer what it held, not a synchronized global mempool or a guarantee that a payment would confirm. Maintained BIP 35 — primary specification · Original implementation PR · Contemporary 0.7.0 release announcement

Why ask for an unconfirmed inventory?

A Bitcoin node normally learns unconfirmed transactions from announcements as they arrive. Someone joining after those announcements has already passed may know the latest blocks but not know what the connected peer still holds in memory. Garzik's proposal identified three use cases: a lightweight wallet seeking zero-confirmation payments, a miner wanting to find fee-paying transactions after a restart, and operators diagnosing network behavior. BIP 35 motivation

The proposal was about '''a node's own memory pool''', not a consensus-defined database. Different nodes can accept, reject, evict or learn different unconfirmed transactions under their own policies and network views. A returned inventory is consequently a report about the serving peer's local state, subject to its response policy and timing. It does not establish that the transactions are valid under every relay policy, that they will appear in blocks, or that an omitted transaction does not exist.

The 2012 protocol

The request has the P2P command name mempool and an empty payload. In the specified exchange, the answering node sends an inv inventory of MSG_TX transaction hashes from its pool. The requester may subsequently use getdata to fetch transaction bodies. BIP 35 explicitly required extending getdata beyond the previously relayed transaction cache so the advertised pool members could be retrieved. An inventory message is a list of identifiers, not a bulk transfer of transaction bytes. Original specification

The BIP's original discovery rule was protocol version 60002 or above together with the NODE_NETWORK service bit in the version handshake. The specification noted that existing implementations would drop an inv carrying more than 50,000 entries. These numbers describe the early protocol environment; they should not be turned into universal limits on every later node implementation or modern mempool size. Original discovery and size caveat

The version 60002 requirement followed BIP 31's version 60001, shipped only a few months earlier in Bitcoin-Qt 0.6.1. BIP 31 had introduced nonce-bearing ping and pong for connection responsiveness; BIP 35 used a subsequent protocol version to advertise the ability to request an unconfirmed inventory. Version negotiation is a feature-compatibility signal, not proof that the serving peer's inventory is complete or trustworthy. 0.6.1 release notes · 0.7.0 release notes

A similarly named local RPC operation, getrawmempool, also appeared in Bitcoin-Qt 0.7.0. It gives a user information about their own node. That is distinct from sending the P2P mempool command to another participant. The same 0.7.0 release notes name both features separately. Contemporary release notes

From inventory service to guarded relay

2016: a response could leak and cost more than a request

Later implementation work recognized that the ability to ask for an inventory can reveal information the node has not yet announced naturally. In Bitcoin Core PR #7840, opened on 8 April 2016 and merged on 5 May, Pieter Wuille's transaction-relay reworking separated block and transaction announcement queues. The PR explicitly sought to prevent mempool requests from revealing unannounced transactions, while making responses respect batching, dependency ordering and delayed announcements. These are contemporary implementation motives, not a claim that the 2012 author anticipated every subsequent attack. PR description and merge record · Release explanation

PR #8078, opened on 20 May and merged on 8 June 2016, addressed the cost of serving much more transaction data than a requester had sent. Its description explicitly characterized the request as a denial-of-service vector and linked its handling to whether the peer was permitted to use Bloom-filter services. Core 0.13.0 consequently refused mempool requests from non-whitelisted peers when -peerbloomfilters=0 disabled NODE_BLOOM. The exemption for whitelisted peers belongs to the actual 2016 release behavior; the restriction should not be inaccurately described as an unconditional network-wide ban. Change proposal and merge · Release notes

The new restriction connects BIP 35 with BIP 37, which defined wallet-specific Bloom filters, and BIP 111, which let a node advertise whether it would provide that service. BIP 35 itself does not send a Bloom filter. The two mechanisms became linked by implementation policy because they could both require a node to do substantial work for an untrusted peer.

2019: defaults changed, the BIP remained

Bitcoin Core 0.19.0.1, released on 24 November 2019, made -peerbloomfilters false by default, citing denial-of-service vulnerabilities, especially on slow storage. This indirectly narrowed ordinary remote access to the BIP 35 service under the earlier gating rule. It did not remove mempool from the BIP text, prove every node had the same configuration, or eliminate the local getrawmempool RPC. Dated release record · Bitcoin Core release notes · Core's BIP implementation ledger

Fee filtering is another layer

BIP 133 later added feefilter, allowing a node to tell a peer not to announce transactions beneath its requested fee-rate threshold. Its scope also covers inventory announcements made in response to a BIP 35 mempool request. Thus even when a peer services the request, the inventory need not be an exhaustive statement of everything in its memory pool. A fee filter is a communication preference, not evidence of transaction invalidity. BIP 133 · Core 0.13.0

Evidence and chronology

31 July 2012
Jeff Garzik opened Bitcoin pull request #1641 for the mempool command and extended getdata. Its GitHub creation timestamp is **22:08:17 UTC**. The software proposal therefore predates the date carried by the BIP's header.
16 August 2012
The BIP's document date, carried as Created: 2012-08-16 in its older text. This is an attributed document date, **not independent evidence of the day GitHub assigned the number**. Older preserved BIP
20 August 2012
Bitcoin Core merged PR #1641 at **14:21:35 UTC**. This merge precedes the public 0.7.0 release; neither date should replace the other.
17 September 2012
**Bitcoin-Qt/bitcoind 0.7.0** released. The contemporary announcement lists BIP 35 and separately notes the local getrawmempool RPC. Original release announcement
21 October 2013
The present BIPs Git path preserves an imported snapshot described as a **27 August 2012 wiki revision**, followed by formatting fixes on 21 October 2013. These commits document Git migration of an older wiki text, **not** the first publication of the protocol. Import record · Formatting change
1 February 2016
Document status changed from *Accepted* to *Final* as part of a multi-BIP editorial update. This postdates working deployment by years. Status update
5 May – 8 June 2016
Bitcoin Core merged PR #7840 on **5 May** to improve transaction-inventory privacy and processing; it merged PR #8078 on **8 June** to restrict requests when Bloom service was disabled. The pull requests were opened on 8 April and 20 May respectively.
23 August 2016
**Bitcoin Core 0.13.0** released the batching and service-gating behavior. Its release notes preserve the exception for whitelisted peers. Release notes
24 November 2019
**Bitcoin Core 0.19.0.1** disabled Bloom serving by default, indirectly limiting BIP 35 for ordinary non-whitelisted peers. Dated release announcement
12 January 2026
Bulk BIPs repository edits relabelled *Final* as *Deployed*, *Standards Track* as *Specification*, Author as Authors and Created as Assigned. They did not newly deploy the protocol or establish that its number was assigned precisely on 16 August 2012. Status terminology · Date-field relabelling

What this proves, and what it does not

The original BIP and the merged Bitcoin Core PR directly establish the intended 2012 request/response mechanism. The release announcement establishes availability in Bitcoin-Qt 0.7.0. PR descriptions provide contemporary developer accounts of the privacy and abuse concerns motivating later changes; release notes establish which changes actually shipped. They do not independently measure how widely nodes used the feature in 2012, what proportion of later peers continued to enable it, or how complete any particular peer's inventory was.

For researchers of Ordinals or Bitmap, the limitation is especially useful. A mempool is transient and policy-dependent. A historical unconfirmed transaction inventory is not a substitute for locating a confirmed transaction, proving its block inclusion, or authenticating its witness contents. For that distinction, see Simplified payment verification and Segregated Witness. BIP scope · Witness commitments

Open questions

  • Can an archived, timestamped public discussion of the 2012 draft establish exactly when number 35 was assigned, as distinct from the document's Created date?
  • Which Bitcoin Core releases first changed oversized inventory responses to multiple messages, and did that implementation detail diverge from the BIP's enduring 50,000-entry warning?
  • What evidence would establish real-world BIP 35 usage over time without confusing software support with active service availability?

Primary records