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

Add funding_locked_txid TLVs to channel_reestablish

Public commit record

What the developer wrote

Authored by Jeffrey Czyz

73/100 · Adequate
Add funding_locked_txid TLVs to channel_reestablish

The splicing spec extends the channel_reestablish message with two more
TLVs indicating which funding txid the sender has sent/received either
explicitly via splice_locked or implicitly via channel_ready. This
allows peers to detect if a splice_locked was lost during disconnection
and must be retransmitted. This commit updates channel_reestablish with
the TLVs. Subsequent commits will implement the spec requirements.
✓ 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 new optional message fields to the Lightning channel-reestablish protocol so peers can compare which funding transaction each side believes is active after reconnecting. It is a partial implementation of a protocol extension (splicing). The actual logic that uses these new fields to detect or retransmit lost messages is not included in this commit, so the immediate security risk is very low. It mainly prepares the wire format and data structures for future behavior.

Recommended action

No immediate action required. Treat as a normal feature/protocol-update commit. Review the follow-up commits that implement the spec requirements to ensure lost `splice_locked` retransmission is handled safely and that `retransmit_flags` bits are validated before acting on them.

Security signals we found

01

New TLV field added to a peer protocol message (channel_reestablish)

02

Commit message states this is a partial/spec-prep change; behavior not yet implemented

03

No bounds checks or validation logic for received retransmit_flags in this commit

04

No memory-unsafe code or obvious parsing overflow introduced

05

Test coverage added for encoding only, not for retransmission behavior

Risk score

Why this scored 18/100

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