lnrpc: deprecate main SendToRoute rpc

This commit is contained in:
Joost Jager committed 2020-05-12 19:57:00 +02:00
1 parent 261588cc8e
commit 5a56a6870e
2 files changed
+751 -746

No files matched your search

+743 -741
View File
File diff suppressed because it is too large. Load diff
+8 -5
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