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

Increase probabilistic scorer defaults 5x

Public commit record

What the developer wrote

Authored by benthecarman

90/100 · Strong
Increase probabilistic scorer defaults 5x

Increase the base and historical-liquidity penalties fivefold. This
applies to both the fixed and payment-size parts, so their balance stays
the same. The router will now pay more to avoid longer routes and routes
the scorer considers less likely to work.

I tested this using the graph and scorer pulled from my ldk-server. The
scorer was kept unchanged during the test. Codex randomly assigned 600
different high-degree nodes to the old or new settings, with 300 probes
per setting. The test was balanced across 100 rounds and used amounts of
1,000, 10,000, and 30,000 sats. Only one probe ran at a time.

The old settings reached 167/300 targets (55.7%) within 10 seconds. The
5x settings reached 214/300 (71.3%), an improvement of 15.7 percentage
points. Results were 69% vs 82% at 1,000 sats, 47% vs 72% at 10,000
sats, and 51% vs 60% at 30,000 sats.

Across the 587 targets where both settings found a route, the quoted fee
rose by 2.4 sats on average. These probes used one node and did not
settle, so they do not guarantee payment success elsewhere.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Explains rationale or failure mode✓ Mentions testing or verification
The short version

What changed, and why it matters

This commit changes default numerical tuning knobs in the Lightning Dev Kit's payment router. It makes the router prefer shorter, more reliable payment paths by increasing several penalty values fivefold. The change is presented as a performance improvement (better routing success rates in tests), not as a security fix. There is no evidence in the commit of a vulnerability, exploit, or security incident.

Recommended action

No security action required. Treat as a routine routing optimization. Operators who rely on the previous penalty defaults should review whether the new defaults affect their fee or path preferences.

Security signals we found

01

No security framing in commit message or diff

02

No vulnerability pattern (overflow, injection, auth bypass, etc.) present

03

Change is a tunable default value adjustment with documented rationale

04

No advisory, CVE, or incident references in commit or supplied materials

Risk score

Why this scored 21/100

Our methodology →
Potential impact 2/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 5/15
Confidence 9/10
Evidence quality 5/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.