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

xpay: add flag for "includefees"

Public commit record

What the developer wrote

Authored by Lagrang3

68/100 · Adequate
xpay: add flag for "includefees"

Add an includefees flag to payment to indicate the desire for this
payment to be a "send amount" kind instead of "receive amount".

Changelog-None

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
✓ 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 optional flag called 'includefees' to the xpay plugin in Core Lightning. When enabled, it tells the routing system that the sender wants the payment amount to include any routing fees, rather than having fees deducted from the recipient's amount. This is a feature addition, not a bug fix or security patch. There is no indication in the commit that it addresses a security vulnerability.

Recommended action

No security action required. Treat as normal feature review. If auditing, verify that the 'auto.include_fees' layer is correctly interpreted by the routing subsystem and that user-facing documentation matches the new behavior.

Security signals we found

01

No security-relevant signals present in commit message or diff

02

Feature addition: new optional payment flag

03

No validation, authorization, or cryptographic changes

04

No memory safety, bounds checking, or input sanitization changes

Risk score

Why this scored 18/100

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