mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-07 19:48:05 +02:00
lnrpc: deprecate main SendToRoute rpc
This commit is contained in:
parent
261588cc8e
commit
5a56a6870e
1484
lnrpc/rpc.pb.go
1484
lnrpc/rpc.pb.go
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user