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

xpay: don't use MPP for bolt12 unless the invoice explicitly supports it.

Public commit record

What the developer wrote

Authored by Rusty Russell

73/100 · Adequate
xpay: don't use MPP for bolt12 unless the invoice explicitly supports it.

We actually changed this by default last release, and nobody noticed!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This change removes a deprecated option that let Core Lightning's xpay plugin split BOLT12 invoice payments into multiple parts even when the invoice did not explicitly allow it. Going forward, xpay will respect the invoice's feature flags and avoid multi-part payments unless permitted. The commit notes this behavior actually changed by default in the previous release without anyone noticing, and this patch cleans up the leftover override and deprecation.

Recommended action

No immediate action required. Operators who relied on `xpay.ignore_bolt12_mpp` should ensure their BOLT12 invoices advertise MPP support if they want multi-part payments. Reviewers may want to confirm that the previous release's default change was intentional and that no other deprecated overrides remain.

Security signals we found

01

Removes deprecated API that bypassed invoice feature constraints

02

Enforces BOLT12 invoice feature bits for MPP eligibility

03

Could reduce payment failures or protocol non-compliance caused by forced MPP against non-supporting invoices

Risk score

Why this scored 36/100

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