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

routerrpc: remove deprecated SendPayment, SendToRoute, TrackPayment impls

Public commit record

What the developer wrote

Authored by Erick Cestari

73/100 · Adequate
routerrpc: remove deprecated SendPayment, SendToRoute, TrackPayment impls

Remove the SendPayment, SendToRoute, and TrackPayment shim methods from
router_server_deprecated.go that delegated to their V2 counterparts.
Remove their macaroon permission entries from router_server.go and the
now-unused legacyTrackPaymentServer wrapper.
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit removes three old, deprecated payment RPC methods (SendPayment, SendToRoute, and TrackPayment) from the LND Lightning node's router service. These methods were already replaced by newer V2 versions and were only thin wrappers around them. Removing them reduces the amount of code that could contain bugs and removes their access permissions, but it may also break older client software that still calls these methods.

Recommended action

Treat this as a breaking API change. Operators and integrators should verify that no clients or tools rely on the removed SendPayment, SendToRoute, or TrackPayment RPCs and migrate them to the V2 equivalents. No immediate security patch is required.

Security signals we found

01

Removal of deprecated RPC surface reduces attack surface

02

Macaroon permission entries for removed methods are deleted

03

No new code paths or logic added

04

No authentication, authorization, or cryptographic changes beyond permission cleanup

05

Potential compatibility break for clients using deprecated endpoints

Risk score

Why this scored 37/100

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