lnrpc: deprecate main SendToRoute rpc
This commit is contained in:
2 files changed
+751
-746
No files matched your search
+743
-741
File diff suppressed because it is too large.
Load diff
+8
-5
@@ -337,12 +337,15 @@ service Lightning {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* lncli: `sendtoroute`
|
/* lncli: `sendtoroute`
|
||||||
SendToRoute is a bi-directional streaming RPC for sending payment through
|
Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional
|
||||||
the Lightning Network. This method differs from SendPayment in that it
|
streaming RPC for sending payment through the Lightning Network. This
|
||||||
allows users to specify a full route manually. This can be used for things
|
method differs from SendPayment in that it allows users to specify a full
|
||||||
like rebalancing, and atomic swaps.
|
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
|
SendToRouteSync is a synchronous version of SendToRoute. It Will block
|
||||||
|
|||||||
Reference in new issue
Block a user