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

Update default configuration for revoked HTLC clean-up (#3212)

Public commit record

What the developer wrote

Authored by Bastien Teinturier

81/100 · Strong
Update default configuration for revoked HTLC clean-up (#3212)

The default configuration for removing old rows containing revoked HTLC
data after a channel close was too slow and inadequate for most nodes.
We update it to use smaller batches without a much shorter interval.

Thanks @DerEwige for providing data about their experiments.

Fixes #3211
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit changes default settings and timing logic for a database cleanup task that removes old Lightning channel data after channels close. The old defaults deleted very large chunks very infrequently, which could slow down or stress busy nodes. The new defaults use smaller, more frequent deletions and avoid stacking up cleanup jobs when the database is already busy. There is no direct security vulnerability being patched; it is a performance and operational-stability improvement.

Recommended action

Treat as a routine performance/operational improvement rather than a security patch. Operators running busy Eclair nodes should review their local overrides for eclair.db.revoked-htlc-info-cleaner settings and consider adopting the new defaults to reduce IO spikes. No emergency upgrade is warranted for security reasons.

Security signals we found

01

Configuration change for background cleanup task

02

Timer logic change to prevent mailbox backlog under load

03

No cryptographic, authentication, or authorization changes

04

No input validation or parsing changes

05

Referenced issue #3211 and user-provided experiment data

Risk score

Why this scored 28/100

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