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

gossipd: don't gather dying channels during compaction.

Public commit record

What the developer wrote

Authored by Rusty Russell

65/100 · Adequate
gossipd: don't gather dying channels during compaction.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit removes dead code in the Lightning node's gossip subsystem. During startup compaction of the gossip database, the code used to collect a list of 'dying channels' but never actually used that list. The change simply stops collecting that unused list. There is no obvious security problem being fixed here; it appears to be a minor cleanup that may also avoid a small memory waste or confusion during startup.

Recommended action

Treat as routine cleanup. No urgent action required. Reviewers may verify that no other caller relied on the removed `dying` parameter, and that `chan_dying` markers are still handled correctly elsewhere in gossipd.

Security signals we found

01

Removal of unused 'dying channels' collection during gossip store compaction

02

No input validation, memory safety, or cryptographic changes visible in diff

03

No mention of security, CVE, bug, crash, or exploit in commit message

Risk score

Why this scored 11/100

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