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

chainrpc: return Unavailable while notifier starts

Public commit record

What the developer wrote

Authored by Boris Nagaev

73/100 · Adequate
chainrpc: return Unavailable while notifier starts

From v0.20.0-rc3 (commit c6f458e478f9ef2cf1d394972bfbc512862c6707) onward
the ChainNotifier sub-server may still be initialising when clients attempt
to subscribe, currently resulting in a gRPC Unknown error with a plain-text
message. Change the notifier RPC endpoints to return codes.Unavailable instead
so clients can reliably interpret the condition as "retry later" and handle
the startup lag without unstable string matching.
✓ 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 error code returned when LND's ChainNotifier sub-server is still starting up. Previously, clients received a generic 'Unknown' gRPC error with a text message; now they receive a standard 'Unavailable' code, which is the normal signal to retry later. It is a reliability improvement, not a security fix.

Recommended action

No security action required; treat as a normal reliability/usability improvement. Clients may optionally update retry logic to rely on codes.Unavailable.

Security signals we found

01

Error-code hygiene improvement

02

No privilege boundary change

03

No input validation change

04

No cryptographic change

Risk score

Why this scored 22/100

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