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

Update BOLT quote for `channel_ready` re-transmission guards.

Public commit record

What the developer wrote

Authored by Níckolas Goline

83/100 · Strong
Update BOLT quote for `channel_ready` re-transmission guards.

channeld.c: update logic to comply with BOLT quote.

tests/test_splicing.py: update test to confirm we are not re-transmiting `channel_ready` for that specific case.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit tightens the rules for when a Core Lightning node resends a 'channel_ready' message after a peer reconnects during a splice (a way to resize a Lightning channel). Previously, the node would retransmit channel_ready whenever both sides reported they had not yet sent any commitment. The updated BOLT specification says this retransmission must not happen if either side's reconnect message references a pending splice (via next_funding or my_current_funding_locked fields). The code now checks for those splice fields and suppresses the retransmission in those cases, and a test is updated to verify that behavior.

Recommended action

Review whether an incorrectly retransmitted channel_ready during a splice could cause a peer to misinterpret channel state, and consider whether this warrants a security advisory or CVE if it can lead to loss of funds or channel desynchronization. Otherwise, treat as a normal protocol-compliance fix and include in release notes.

Security signals we found

01

Protocol conformance fix for BOLT #2 channel_ready retransmission

02

Splice-related state machine guard added to peer reconnect path

03

Test assertion added to prevent regression of retransmission during splice

04

Change is defensive: suppresses message that could be sent incorrectly

Risk score

Why this scored 36/100

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