-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
P3might get fixed, nice to havemight get fixed, nice to havebeginnerIssues suitable for new developersIssues suitable for new developerscode healthRelated to code commenting, refactoring, and other non-behaviour improvementsRelated to code commenting, refactoring, and other non-behaviour improvementsgood first issueIssues suitable for first time contributors to LNDIssues suitable for first time contributors to LNDpaymentsRelated to invoices/paymentsRelated to invoices/paymentsroutingrpcRelated to the RPC interfaceRelated to the RPC interface
Description
The endpoints sendpayment
and sendtoroute
have been deprecated more than 3 years(#4147), and now should be safe to remove them,
Lines 265 to 267 in e02fd39
rpc SendPayment (stream SendRequest) returns (stream SendResponse) { | |
option deprecated = true; | |
} |
Lines 284 to 286 in e02fd39
rpc SendToRoute (stream SendToRouteRequest) returns (stream SendResponse) { | |
option deprecated = true; | |
} |
To properly remove them:
- update the test framework by removing
SendToRoute
and replace all the old calls with the newerSendToRouteV2
. - remove the endpoints, which includes
rpcserver.go
,lightning.proto
and other unit test files.
Metadata
Metadata
Assignees
Labels
P3might get fixed, nice to havemight get fixed, nice to havebeginnerIssues suitable for new developersIssues suitable for new developerscode healthRelated to code commenting, refactoring, and other non-behaviour improvementsRelated to code commenting, refactoring, and other non-behaviour improvementsgood first issueIssues suitable for first time contributors to LNDIssues suitable for first time contributors to LNDpaymentsRelated to invoices/paymentsRelated to invoices/paymentsroutingrpcRelated to the RPC interfaceRelated to the RPC interface