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

lightningd: make option_channel_type compulsory.

Public commit record

What the developer wrote

Authored by Rusty Russell

66/100 · Adequate
lightningd: make option_channel_type compulsory.

As per BOLT recommendation https://github.com/lightning/bolts/pull/1232, this means
we will insist on this being available.

For CLN, we added this in 0.12.0 (2022-08-23), though there were fixes as late as 24.02. Either way that's well outside our support window.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Closes: https://github.com/ElementsProject/lightning/issues/8152
Changelog-Changed: Protocol: We now insist that peers support `option_channel_type` (in CLN since 0.12.0 in late 2022, similar for other implementations).
✓ Descriptive subject✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This change makes a Lightning protocol feature called 'option_channel_type' mandatory instead of optional. It tells peers that Core Lightning will now require them to support this feature, which has been widely available since 2022. This is a protocol compatibility change, not a fix for an active security flaw, but it removes a path where older or non-standard peers could negotiate channels without this feature.

Recommended action

No immediate action required. Operators should ensure peers run implementations supporting option_channel_type (available since CLN 0.12.0 and comparable versions in other implementations). Review compatibility impact if connecting to very old nodes.

Security signals we found

01

Protocol hardening: makes option_channel_type mandatory per BOLT recommendation

02

Feature bit changed from odd/optional to even/compulsory

03

Removes support for peers that do not implement option_channel_type

04

No vulnerability, crash, or memory safety fix present in diff

Risk score

Why this scored 29/100

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