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

lnrpc: expose graph cache state in GetInfo

Public commit record

What the developer wrote

Authored by Elle Mouton

68/100 · Adequate
lnrpc: expose graph cache state in GetInfo

Add a GraphCacheStatus enum to GetInfoResponse so callers can tell
whether the graph cache is disabled, still loading, or fully loaded.

This makes the async graph cache startup state visible to operators and
clients without changing the existing DB fallback behaviour for reads.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit adds a new read-only status field to LND's GetInfo API response so users can see whether the in-memory network graph cache is disabled, still loading, fully loaded, or failed. It does not change how the cache works or how data is read; it only exposes existing internal state through the API. There is no security vulnerability here.

Recommended action

No security action required. This is a normal feature/observability commit. Reviewers may optionally confirm the rpcserver.go mapping is read-only and that no additional authorization gating is needed for GetInfo.

Security signals we found

01

No security-relevant behavior change: only observability/state reporting added

02

No new input parsing, no new permissions, no new network exposure

03

Existing DB fallback for graph reads is explicitly unchanged

04

New enum field is read-only and derived from existing internal state

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.