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

Set the correct floor for the reserves in inbound V2 channels

Public commit record

What the developer wrote

Authored by Leo Nash

65/100 · Adequate
Set the correct floor for the reserves in inbound V2 channels

The floor for *our* selected reserve is *their* dust limit.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides an explanatory body
The short version

What changed, and why it matters

This commit fixes a swap in how reserve amounts are calculated for a new type of Lightning channel (V2). Each side's reserve has a minimum floor based on the other side's 'dust limit' (the smallest transaction output they consider meaningful). The code had the two dust limits reversed: the local reserve floor was using the remote dust limit and vice versa. That could let one side set a reserve floor lower than intended, potentially creating a channel state where tiny, uneconomic outputs are created or where balance protections are weaker than the protocol expects.

Recommended action

Review whether any V2 channels were opened with reversed reserve floors; if so, assess whether reserve values fell below the counterparty's dust limit and consider monitoring or renegotiation. Apply the patch promptly.

Security signals we found

01

Reserve floor mismatch in dual-funded / V2 channel negotiation

02

Potential creation of sub-dust-limit outputs treated as non-existent by counterparty

03

Protocol-invariant violation in channel parameter negotiation

04

Small, targeted fix in a single critical function

Risk score

Why this scored 59/100

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