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

lnpeer: send channel_update on channel_reestablish

Public commit record

What the developer wrote

Authored by f321x

81/100 · Strong
lnpeer: send channel_update on channel_reestablish

If we have forwarding enabled, send a channel_update message to the
peer after a channel_reestablish.
The peer needs to know our channel constraints to receive a payment
(for r_tags or blinded path) and sending it just once on mark_open
might not be enough as the peer could miss it, lose it or it might
get out of date if we'd change our forwarding fees.
See https://github.com/spesmilo/electrum/pull/10630#issuecomment-4390045965.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This change makes Electrum's Lightning peer re-send its channel fee and routing rules to a peer whenever the connection is re-established, not just when the channel first opens. This helps peers know the current rules so payments can be received reliably. It is a protocol robustness improvement, not a fix for an active exploit.

Recommended action

No urgent action. Treat as a normal reliability improvement. Review whether sending channel_update on every reestablish could leak or spam channel state, but the conditions (OPEN, forwarding enabled, short_channel_id present, not just became ready) appear reasonable.

Security signals we found

01

Lightning protocol reliability improvement

02

Re-transmission of channel_update after reconnection

03

Prevents stale routing constraints for forwarding peers

04

No cryptographic bypass or memory safety issue visible

Risk score

Why this scored 30/100

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