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

askrene: add optional layers to reservations.

Public commit record

What the developer wrote

Authored by Rusty Russell

68/100 · Adequate
askrene: add optional layers to reservations.

We have the issue of aliases: xpay uses scids like 0x0x0 for
routehints and blinded paths, and then can apply reservations to them. But
generally, reservations are *global*, so we need to differentiate.

Changelog-Added: Plugins: `askrene-reserve` and `askrene-unreserve` can take an optional `layer` inside `path` elements.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit adds an optional 'layer' field to the askrene-reserve and askrene-unreserve commands in Core Lightning. The purpose is to let different plugins (like xpay) reserve capacity on fake or aliased channels without their reservations colliding with each other. It is a feature addition that improves correctness of route planning, not a fix for an active security bug.

Recommended action

No immediate security action required. Treat as a normal feature/robustness improvement. Operators and plugin authors using askrene may adopt the new optional layer field to avoid reservation conflicts on routehints and blinded paths.

Security signals we found

01

No memory-safety defects visible in the diff

02

No authentication/authorization changes

03

No cryptographic changes

04

No explicit security bug fix described

05

Feature addition to avoid reservation collisions on aliased channels

Risk score

Why this scored 28/100

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