AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Low 45 Bitcoin

net_processing: Remove per-peer rate-limiting

Public commit record

What the developer wrote

Authored by Anthony Towns

68/100 · Adequate
net_processing: Remove per-peer rate-limiting

Per-peer rate limiting introduces storage and compute costs proportional
to the number of peers. This has caused severe bugs in the past, and
continues to be a risk in the event of periods of extremely high rates
of transaction submission. Avoid these problems by always completely
emptying the m_tx_inventory_to_send queue when processing it.

Note that this increases the potential size of INV messages we send
for normal tx relay from ~1000 (limited by INVENTORY_BROADCAST_MAX)
to potentially 50000 (limited by MAX_INV_SZ).
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This Bitcoin Core change removes a per-peer speed limit on how many transaction announcements (INV messages) a node sends out at once. Previously a peer would only announce up to about 1,000 transactions per batch, with a dynamic cap. Now the node empties the whole outgoing queue every time, so a single INV message can grow as large as the protocol allows (about 50,000 items). The commit message says this avoids storage/compute costs and past severe bugs tied to per-peer rate limiting, but it also increases the maximum announcement burst a peer can receive.

Recommended action

Treat as a notable network-behavior change rather than a confirmed vulnerability. Review whether larger INV bursts affect downstream peer bandwidth, memory, or mempool-flood handling. Monitor for follow-up fixes or discussions on the bitcoin-core-dev mailing list and PR tracker. No immediate patch action is indicated from the diff alone.

Security signals we found

01

Removal of a rate-limiting control that constrained per-peer transaction announcement bursts

02

Increase in maximum single INV message size from ~1,000 to ~50,000 items

03

Commit message explicitly references 'severe bugs in the past' caused by per-peer rate-limiting logic

04

Change reduces per-peer state/compute overhead, which is the stated defensive goal

Risk score

Why this scored 45/100

Our methodology →
Potential impact 12/30
Exploitability 8/25
Stealth signal 6/15
Affected reach 10/15
Confidence 6/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.