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

lightningd: remember that we've sent tx_signatures for an open

Public commit record

What the developer wrote

Authored by Sangbida Chaudhuri

73/100 · Adequate
lightningd: remember that we've sent tx_signatures for an open

Set i_sent_sigs when dualopend tells us the sigs went out,
and add a little helper to ask "did we sign this yet?"
No behavior change... yet.

Co-authored-by: Cursor <cursoragent@cursor.com>
(cherry picked from commit 8a31f7296fcff1c444be4c6e86eac1dc1c912c57)
✓ 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 small bookkeeping flag so the Core Lightning node remembers whether it has already sent transaction signatures while opening a channel. The commit message explicitly says there is 'No behavior change... yet,' meaning this is a preparatory patch for a future fix rather than a security fix itself. It does not change how funds are handled today.

Recommended action

No immediate action is required for this commit alone. Monitor the follow-up commits that consume channel_funding_sigs_sent() to ensure the promised BOLT #2 tx_abort rule is correctly enforced, because the security relevance depends on that future logic.

Security signals we found

01

New state flag tracks whether tx_signatures have been sent for a funding transaction

02

Comment references BOLT #2 tx_abort receiver rule, suggesting future safety enforcement

03

Persistence added via wallet_inflight_save() so the flag survives restart

04

Commit message states 'No behavior change... yet' indicating preparatory work

Risk score

Why this scored 28/100

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