routerrpc: format proto
This commit is contained in:
parent
f48b0289f5
commit
19e3dc6378
@ -1940,9 +1940,10 @@ type RouterClient interface {
|
||||
//SendToRouteV2 in that it doesn't return the full HTLC information.
|
||||
SendToRoute(ctx context.Context, in *SendToRouteRequest, opts ...grpc.CallOption) (*SendToRouteResponse, error)
|
||||
//
|
||||
//SendToRouteV2 attempts to make a payment via the specified route. 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.
|
||||
//SendToRouteV2 attempts to make a payment via the specified route. 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.
|
||||
SendToRouteV2(ctx context.Context, in *SendToRouteRequest, opts ...grpc.CallOption) (*lnrpc.HTLCAttempt, error)
|
||||
//
|
||||
//ResetMissionControl clears all mission control state and starts with a clean
|
||||
@ -2233,9 +2234,10 @@ type RouterServer interface {
|
||||
//SendToRouteV2 in that it doesn't return the full HTLC information.
|
||||
SendToRoute(context.Context, *SendToRouteRequest) (*SendToRouteResponse, error)
|
||||
//
|
||||
//SendToRouteV2 attempts to make a payment via the specified route. 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.
|
||||
//SendToRouteV2 attempts to make a payment via the specified route. 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.
|
||||
SendToRouteV2(context.Context, *SendToRouteRequest) (*lnrpc.HTLCAttempt, error)
|
||||
//
|
||||
//ResetMissionControl clears all mission control state and starts with a clean
|
||||
|
@ -40,9 +40,10 @@ service Router {
|
||||
}
|
||||
|
||||
/*
|
||||
SendToRouteV2 attempts to make a payment via the specified route. 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.
|
||||
SendToRouteV2 attempts to make a payment via the specified route. 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 SendToRouteV2 (SendToRouteRequest) returns (lnrpc.HTLCAttempt);
|
||||
|
||||
@ -578,4 +579,3 @@ message PaymentStatus {
|
||||
*/
|
||||
repeated lnrpc.HTLCAttempt htlcs = 4;
|
||||
}
|
||||
|
||||
|
@ -216,7 +216,7 @@
|
||||
},
|
||||
"/v2/router/route/send": {
|
||||
"post": {
|
||||
"summary": "SendToRouteV2 attempts to make a payment via the specified route. This method\ndiffers from SendPayment in that it allows users to specify a full route\nmanually. This can be used for things like rebalancing, and atomic swaps.",
|
||||
"summary": "SendToRouteV2 attempts to make a payment via the specified route. This\nmethod differs from SendPayment in that it allows users to specify a full\nroute manually. This can be used for things like rebalancing, and atomic\nswaps.",
|
||||
"operationId": "SendToRouteV2",
|
||||
"responses": {
|
||||
"200": {
|
||||
|
Loading…
Reference in New Issue
Block a user