lnrpc: deprecate main SendToRoute rpc

This commit is contained in:
Joost Jager 2020-05-12 08:51:26 +02:00
parent 261588cc8e
commit 5a56a6870e
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7
2 changed files with 751 additions and 746 deletions

File diff suppressed because it is too large Load Diff

View File

@ -337,12 +337,15 @@ service Lightning {
}
/* lncli: `sendtoroute`
SendToRoute is a bi-directional streaming RPC for sending payment through
the Lightning Network. This method differs from SendPayment in that it
allows users to specify a full route manually. This can be used for things
like rebalancing, and atomic swaps.
Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional
streaming RPC for sending payment through the Lightning Network. This
method differs from SendPayment in that it allows users to specify a full
route manually. This can be used for things like rebalancing, and atomic
swaps.
*/
rpc SendToRoute (stream SendToRouteRequest) returns (stream SendResponse);
rpc SendToRoute (stream SendToRouteRequest) returns (stream SendResponse) {
option deprecated = true;
}
/*
SendToRouteSync is a synchronous version of SendToRoute. It Will block