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

rpc: report -txsendrate and bucket info via getnetworkinfo

Public commit record

What the developer wrote

Authored by Anthony Towns

73/100 · Adequate
rpc: report -txsendrate and bucket info via getnetworkinfo

Add `tx_send_rate` and `inv_buckets` fields to getnetworkinfo. The
`inv_buckets` field has separate `inbound` and `outbound` entries,
reporting backlog count, count tokens, and size tokens. Useful for
monitoring relay behavior.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit adds new read-only information fields to Bitcoin Core's getnetworkinfo RPC command. It exposes the configured transaction send rate and internal token-bucket statistics used to pace transaction announcements to peers. There is no code change that modifies behavior, permissions, or network processing; it only reports existing internal state to authorized RPC callers.

Recommended action

No security action required. Treat as a normal observability/monitoring enhancement. Reviewers may optionally consider whether the newly exposed bucket values reveal any node operational details that could aid traffic analysis, but this is informational state already derivable from network behavior.

Security signals we found

01

New RPC output fields only; no state mutation

02

No authentication or authorization changes

03

No network protocol changes

04

No memory safety or locking pattern regressions visible in diff

05

Mutex annotation updated to include m_inv_to_send_mutex for GetInfo

Risk score

Why this scored 18/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 5/15
Confidence 9/10
Evidence quality 4/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.