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

cli: modify -addrinfo to use getaddrmaninfo RPC endpoint

Public commit record

What the developer wrote

Authored by stratospher

73/100 · Adequate
cli: modify -addrinfo to use getaddrmaninfo RPC endpoint

currently -addrinfo returns addresses known to the node after
filtering for quality and recency. However, the node considers
all known addresses (even the filtered out addresses) when
selecting peers to connect to.

So update -addrinfo to also display the full set of known
addresses for more useful node information.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit changes the bitcoin-cli -addrinfo command so it reports the full set of addresses known to the node, not just the subset previously filtered for quality and recency. The change is purely informational: it makes the displayed statistics more accurate and useful, but does not alter peer selection, network behavior, or any security-sensitive logic.

Recommended action

No security action required. Treat as a normal user-experience improvement. Reviewers may verify that the new output format is acceptable and that tests in test/functional/interface_bitcoin_cli.py are updated accordingly.

Security signals we found

01

No security-relevant code paths modified

02

Change is limited to CLI output formatting and RPC endpoint selection

03

No new permissions, authentication, or network exposure introduced

04

No memory safety, cryptographic, or consensus changes

Risk score

Why this scored 15/100

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