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
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.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 BIPgetrawmempool RPC. Original release announcementAuthor 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 relabellingWhat 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
Createddate? - 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
- BIP 35, maintained specification.
- Bitcoin Core PR #1641, implementation history, July–August 2012.
- Bitcoin-Qt/bitcoind 0.7.0 release, 17 September 2012.
- Bitcoin Core PR #7840, privacy and batching discussion, April–May 2016.
- Bitcoin Core PR #8078, Bloom-service gating, May–June 2016.
- Bitcoin Core 0.13.0 release record.
- Bitcoin Core 0.19.0.1 release record.
- Bitcoin Core's maintained implementation ledger.