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

openingd: remove compat hacks to "intuit" opt_scid_alias.

Public commit record

What the developer wrote

Authored by Rusty Russell

73/100 · Adequate
openingd: remove compat hacks to "intuit" opt_scid_alias.

This was needed for v23.05 which would set opt_scid_alias even if we didn't.

Now everyone handles it properly, we can simply set it unconditionally.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Removed: Protocol: backwards compatibility allowances for CLN before 23.08 which didn't handle option_scid_alias properly.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit removes old compatibility workarounds in Core Lightning's channel-opening code. Previously, the software had to guess whether a peer wanted a private channel alias feature because older versions mishandled it. Now that all supported versions handle the feature correctly, the code simply sets it directly. This is a cleanup change, not a fix for an active security flaw, but removing compatibility shims can reduce hidden bug surface.

Recommended action

Treat as routine maintenance with minor security hygiene benefit. Verify that supported node versions are 23.08 or newer before deploying, since the removed shim was specifically for older peers. No urgent patching required absent additional vulnerability reports.

Security signals we found

01

Removal of backwards-compatibility shim for peer protocol feature negotiation

02

Channel type negotiation now requires exact feature-bit match instead of tolerated divergence

03

Eliminates silent mutation of `state->channel_type` based on peer version heuristics

04

No explicit vulnerability, CVE, or security advisory referenced in commit

Risk score

Why this scored 21/100

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