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

renepay: skip channels disabled in gossmap

Public commit record

What the developer wrote

Authored by Christian Decker

68/100 · Adequate
renepay: skip channels disabled in gossmap

channel_is_available() checked whether a channel_update existed
(gossmap_chan_set) and whether renepay's own disabledmap had flagged
it, but never checked gossmap's half_chan.enabled flag. This meant
renepay would route through channels marked disabled in the
gossip_store, wasting HTLC round-trips to re-discover the failure.

Changelog-Fixed: renepay now skips channels disabled in the gossip map.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This fix corrects a routing bug in Core Lightning's 'renepay' payment plugin. Previously, renepay could try to send payments through Lightning channels that the wider network had already marked as disabled, causing payment attempts to fail and wasting network round-trips. The patch makes renepay respect the disabled flag from network gossip, so it avoids those channels upfront. It is a reliability/efficiency fix rather than a direct theft-of-funds vulnerability.

Recommended action

Apply the patch. Monitor for any related routing inefficiency or edge cases where disabled flags are stale. No emergency response is indicated; this is a routine reliability fix.

Security signals we found

01

Logic omission in route eligibility check

02

Ignored disabled flag from gossip store

03

Potential for resource-wasting HTLC retries through known-bad channels

04

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

Risk score

Why this scored 26/100

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