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

graph/db: version MarkEdgeZombie

Public commit record

What the developer wrote

Authored by Elle Mouton

58/100 · Thin
graph/db: version MarkEdgeZombie

Add a gossip version parameter to MarkEdgeZombie in the Store interface,
both KV and SQL implementations, and the ChannelGraph wrapper, following
the same pattern established for MarkEdgeLive.

KVStore guards against non-v1 versions with ErrVersionNotSupportedForKVDB.
SQLStore accepts any known gossip version and uses it in the UpsertZombieChannel
call and cache invalidation.

Builder.MarkZombieEdge (the ad-hoc path for validation failures) passes
GossipVersion1 as all channels in that path are v1.
✓ Descriptive subject✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit is a small internal plumbing change: it adds a 'gossip version' parameter to the function that marks Lightning channels as 'zombies' (inactive/stale), so the database layer can handle different channel gossip formats consistently. It is not a security fix and does not appear to introduce a vulnerability. It simply extends an existing pattern already used for the 'mark live' function.

Recommended action

No security action required. Treat as normal code maintenance; review as part of routine release testing for gossip-version handling consistency.

Security signals we found

01

No security-relevant bug fix or vulnerability patch evident in the diff

02

Change is API/versioning consistency work, not a correction of unsafe behavior

03

No input validation weakening; SQLStore adds a known-version check

04

No privilege boundary, cryptographic, or network exposure changes

Risk score

Why this scored 18/100

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