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

multi: add new ChannelCloseConfs param, thread thru as needed

Public commit record

What the developer wrote

Authored by Olaoluwa Osuntokun

73/100 · Adequate
multi: add new ChannelCloseConfs param, thread thru as needed

In this commit, we add a new param that'll allow us to scale up the
number of confirmations before we act on a new close. We'll use this
later to improve the current on chain handling logic.
✓ 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 a new internal setting called ChannelCloseConfs that lets developers override how many blockchain confirmations LND waits for before acting on a channel close. It is explicitly marked as only for dev/integration builds and testing. There is no actual logic change in this commit—it only threads the new parameter through several configuration structs so it can be used later.

Recommended action

No immediate action required. Treat as a preparatory refactor. Monitor follow-up commits that consume ChannelCloseConfs to ensure the override is gated behind dev builds and cannot be abused to reduce confirmation safety in production.

Security signals we found

01

New optional parameter for confirmation threshold override

02

Explicitly documented as dev/integration-build only

03

No functional logic change in this commit—pure plumbing

04

Touches on-chain resolution subsystem (contractcourt) and peer connection setup

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.