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

Check that funder covers the fee spike buffer multiple after a splice

Public commit record

What the developer wrote

Authored by Leo Nash

73/100 · Adequate
Check that funder covers the fee spike buffer multiple after a splice

We do this for HTLCs, so we should also do this for splices. This
only applies to channels with non-zero-fee HTLC transactions.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit fixes a balance-checking gap in the Lightning Dev Kit's channel splicing logic. When a channel is spliced, the code now verifies that the funder still has enough funds set aside to cover a sudden fee increase, mirroring a check already performed when adding HTLCs. Without this check, a funder could splice out too much money, leaving the channel unable to pay higher fees later and potentially making it unusable or forcing a closure. The change only affects channels that do not use zero-fee HTLC transactions.

Recommended action

Review and merge if not already deployed. Operators running nodes with splicing enabled and non-zero-fee HTLC channels should upgrade to a release containing this fix. Monitor for any splice-out failures after upgrade, as the stricter reserve check may reject splice attempts that previously passed validation.

Security signals we found

01

Missing reserve/balance validation in splice-out path

02

Fee-spike-buffer multiplier now applied to splice commitment stats

03

Sender-side and receiver-side rejection of unaffordable splice-outs

04

Test coverage added for overdrawn splice-outs with pending HTLCs

05

No zero-fee-HTLC channels affected (multiplier is a no-op there)

Risk score

Why this scored 59/100

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