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

wallet: persist the inflight i_sent_sigs flag across restarts

Public commit record

What the developer wrote

Authored by Dusty Daemon

73/100 · Adequate
wallet: persist the inflight i_sent_sigs flag across restarts

This flag was previously memory only, lets upgrade it to be used across restarts.

Changelog-None

(cherry picked from commit 5293e073560291ada3811cbbfe4240080df2ebab)
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This change fixes a bug where a flag tracking whether a node had already sent transaction signatures during a 'splice' (a way to resize a Lightning channel) was stored only in memory. If the node restarted mid-process, it could forget that it had already sent signatures and either resend them or get confused about the splice state. Persisting the flag to the database makes splicing more robust across restarts.

Recommended action

Treat as a robustness/correctness fix. Review whether the memory-only flag could have led to any exploitable state confusion (e.g., signature replay, stuck splice, or channel desynchronization) and consider backporting if splicing is enabled in production releases.

Security signals we found

01

State inconsistency across restarts in channel funding protocol

02

Memory-only flag now persisted to database

03

Splice protocol correctness fix

04

Regression test added for flag persistence

Risk score

Why this scored 42/100

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