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

lightningd: re-xmit funding txs on startup.

Public commit record

What the developer wrote

Authored by Rusty Russell

68/100 · Adequate
lightningd: re-xmit funding txs on startup.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: Protocol: we now re-transmit unseen funding transactions on startup, for more robustness.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This change makes Core Lightning re-broadcast funding transactions when the node restarts. Previously, only closing transactions were re-sent on startup. If a funding transaction was lost by the Bitcoin network (for example, due to a restart or mempool eviction), a new channel could be stuck waiting indefinitely. The fix improves reliability of opening channels, and the included test that was previously expected to fail now passes.

Recommended action

No immediate security action required. Treat as a normal reliability fix. Reviewers may want to confirm that re-broadcasting only occurs for channels with depth==0 and a finalized PSBT, to avoid duplicate broadcasts for already-confirmed channels.

Security signals we found

01

Funds availability / liveness issue: a stuck funding transaction could leave a user unable to use funds committed to a channel opening

02

No cryptographic, memory-safety, or authentication change

03

Change is defensive/robustness: re-transmission reduces reliance on a single broadcast surviving

Risk score

Why this scored 31/100

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