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

getroutes: return more detailed fields in routes[].

Public commit record

What the developer wrote

Authored by Rusty Russell

73/100 · Adequate
getroutes: return more detailed fields in routes[].

This reflects a long-standing complaint from @lagrang3 when the API
was first implemented, and I should have listened. In particular, the
impedance mismatch with the sendpay API is annoying.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: JSON-RPC: `getroutes` `route` explicit fields `node_id_in`, `node_id_out`, `amount_in_msat`, `amount_out_msat`, `cltv_in`, `cltv_out`.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit is a routine API enhancement for the `getroutes` command in Core Lightning. It adds extra, more explicit fields (such as incoming/outgoing node IDs and amounts) to each route hop so that callers can more easily pass the result to other APIs like `sendpay`. There is no indication of a security bug or fix.

Recommended action

No security action required. Treat as a normal API compatibility/ergonomics improvement; verify downstream consumers handle the new optional fields correctly during upgrade testing.

Security signals we found

01

No security-relevant code paths modified

02

API-only additive change with backward-compatible optional fields

03

No mention of vulnerability, CVE, or security fix in commit message or changelog

Risk score

Why this scored 18/100

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