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

gossmap: add callback for gossipd to see dying messages.

Public commit record

What the developer wrote

Authored by Rusty Russell

73/100 · Adequate
gossmap: add callback for gossipd to see dying messages.

gossmap doesn't care, so gossipd currently has to iterate through the
store to find them at startup. Create a callback for gossipd to use
instead.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ 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 a new internal callback mechanism so the gossipd component can be notified when the network graph sees a 'dying channel' message. It is a code cleanup/refactoring change: previously gossipd had to scan the entire gossip store at startup to find these messages, now it can receive them through a callback. There is no indication this fixes a security bug or introduces a vulnerability.

Recommended action

No security action required. Treat as normal code maintenance. If deploying, verify tests pass and that future consumers of the callback validate the scid/blockheight values they receive.

Security signals we found

01

No security-relevant keywords in commit title or message

02

No input validation changes beyond existing fromwire decoding

03

No privilege, authentication, or cryptographic changes

04

New callback is optional and currently unused by gossipd (NULL passed)

05

Change is architectural/refactoring in nature

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.