routerrpc: rename rpcs to SendPaymentV2 and TrackPaymentV2
The message in the response stream changed. Rename the calls themselves, to prevent older applications from getting decode errors. Especially troublesome is the case where the request is executed (send payment), but the application can't read the outcome (payment sent or not?)
This commit is contained in:
parent
4ed0a35b10
commit
d451ef4ee1
@ -399,7 +399,7 @@ func sendPaymentRequest(ctx *cli.Context,
|
|||||||
|
|
||||||
showInflight := ctx.Bool(showInflightFlag.Name)
|
showInflight := ctx.Bool(showInflightFlag.Name)
|
||||||
|
|
||||||
stream, err := routerClient.SendPayment(context.Background(), req)
|
stream, err := routerClient.SendPaymentV2(context.Background(), req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -462,7 +462,7 @@ func trackPayment(ctx *cli.Context) error {
|
|||||||
PaymentHash: hash,
|
PaymentHash: hash,
|
||||||
}
|
}
|
||||||
|
|
||||||
stream, err := client.TrackPayment(context.Background(), req)
|
stream, err := client.TrackPaymentV2(context.Background(), req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -1606,135 +1606,135 @@ func init() {
|
|||||||
func init() { proto.RegisterFile("routerrpc/router.proto", fileDescriptor_7a0613f69d37b0a5) }
|
func init() { proto.RegisterFile("routerrpc/router.proto", fileDescriptor_7a0613f69d37b0a5) }
|
||||||
|
|
||||||
var fileDescriptor_7a0613f69d37b0a5 = []byte{
|
var fileDescriptor_7a0613f69d37b0a5 = []byte{
|
||||||
// 2040 bytes of a gzipped FileDescriptorProto
|
// 2044 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xcd, 0x76, 0xdb, 0xc6,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58, 0xcd, 0x76, 0xdb, 0xc6,
|
||||||
0x15, 0x0e, 0x44,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 0x65, 0x84, 0x87, 0xbf, 0x23, 0xc2, 0xaf, 0x4c, 0x29,
|
||||||
0x03, 0x8e, 0x8d, 0x1c, 0x86, 0x7e, 0x0e, 0xf5, 0x15, 0x47, 0xe4, 0x58, 0x13, 0xa4, 0x6a, 0x46,
|
0x1d, 0x70, 0x6c, 0xe4, 0x30, 0xf4, 0x73, 0xa8, 0xaf, 0x38, 0x22, 0xc7, 0x9a, 0x20, 0x55, 0x33,
|
||||||
0x12, 0x89, 0x3e, 0x03, 0x25, 0x5c, 0xb0, 0xab, 0xd0, 0x0d, 0xae, 0xc8, 0x78, 0xe6, 0x04, 0xc4,
|
0x92, 0x48, 0xf4, 0x39, 0x28, 0xe1, 0x82, 0x5d, 0x85, 0x6e, 0x70, 0x45, 0xc6, 0x33, 0x27, 0x20,
|
||||||
0x9d, 0xb4, 0x4a, 0x1d, 0xa9, 0x2b, 0x1f, 0x6f, 0x3d, 0x97, 0x70, 0x3d, 0xb3, 0xf5, 0x67, 0x4e,
|
0xee, 0xa4, 0x55, 0xea, 0x48, 0x5d, 0xf9, 0x78, 0xeb, 0x85, 0x84, 0xeb, 0x99, 0xad, 0x3f, 0x73,
|
||||||
0x60, 0x4c, 0xd0, 0x63, 0x68, 0x78, 0x4e, 0xcc, 0xc8, 0x2c, 0x9c, 0x93, 0xf9, 0xe2, 0xf2, 0x9a,
|
0x02, 0x63, 0x82, 0x9e, 0x40, 0xc3, 0x73, 0x62, 0x46, 0x66, 0xe1, 0x9c, 0xcc, 0x17, 0x97, 0xd7,
|
||||||
0xde, 0xb4, 0xea, 0x62, 0x65, 0x6a, 0x1c, 0x3e, 0x0d, 0xe7, 0x43, 0x01, 0xa2, 0x47, 0x00, 0x62,
|
0xf4, 0xa6, 0x55, 0x17, 0x2b, 0x53, 0xe3, 0xf0, 0x69, 0x38, 0x1f, 0x0a, 0x10, 0x3d, 0x06, 0x10,
|
||||||
0x55, 0xc4, 0xe4, 0xad, 0xb2, 0xc8, 0xa1, 0xcc, 0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9e, 0x17, 0x7e, 0x20, 0x31, 0xf5,
|
||||||
0x94, 0xa4, 0xd5, 0x69, 0x35, 0x3a, 0x52, 0xb7, 0x84, 0x15, 0x61, 0x19, 0x51, 0x6f, 0x9a, 0xba,
|
0xa6, 0x24, 0xad, 0x4e, 0xab, 0xd1, 0x91, 0xba, 0x25, 0xac, 0x08, 0xcb, 0x88, 0x7a, 0xd3, 0xd4,
|
||||||
0x47, 0xbf, 0x81, 0x9a, 0x88, 0x69, 0x4a, 0x1d, 0xb6, 0x88, 0x68, 0xdc, 0x52, 0x3a, 0x85, 0x6e,
|
0x3d, 0xfa, 0x0d, 0xd4, 0x44, 0x4c, 0x53, 0xea, 0xb0, 0x45, 0x44, 0xe3, 0x96, 0xd2, 0x29, 0x74,
|
||||||
0xfd, 0x68, 0x37, 0x4d, 0xe4, 0x24, 0x81, 0x8f, 0x5d, 0x86, 0xab, 0x9c, 0x97, 0xbe, 0xc7, 0x7c,
|
0xeb, 0x47, 0xbb, 0x69, 0x22, 0x27, 0x09, 0x7c, 0xec, 0x32, 0x5c, 0xe5, 0xbc, 0xf4, 0x3d, 0xe6,
|
||||||
0x75, 0x7c, 0xe7, 0x7b, 0x12, 0xcf, 0x1c, 0x9e, 0xc2, 0x6e, 0x47, 0xea, 0xd6, 0x70, 0xd9, 0x77,
|
0xab, 0xe3, 0x3b, 0xdf, 0x93, 0x78, 0xe6, 0xf0, 0x14, 0x76, 0x3b, 0x52, 0xb7, 0x86, 0xcb, 0xbe,
|
||||||
0xbe, 0x1f, 0x09, 0xa0, 0xad, 0xc1, 0xde, 0xe6, 0x88, 0xb9, 0x84, 0xf9, 0x92, 0x73, 0x55, 0xcb,
|
0xf3, 0xfd, 0x48, 0x00, 0x6d, 0x0d, 0xf6, 0x36, 0x47, 0xcc, 0x25, 0xcc, 0x97, 0x9c, 0xab, 0x5a,
|
||||||
0x98, 0x3f, 0xa2, 0x07, 0x50, 0x7c, 0xef, 0x78, 0x0b, 0x2a, 0x64, 0x5d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41, 0x6e, 0xf3, 0x57,
|
||||||
0x87, 0xe8, 0x97, 0xb0, 0x33, 0x4b, 0x1c, 0x88, 0xad, 0xaa, 0x72, 0xd4, 0xbc, 0x35, 0xb7, 0xe6,
|
0x3b, 0x44, 0xbf, 0x84, 0x9d, 0x59, 0xe2, 0x40, 0x6c, 0x55, 0x95, 0xa3, 0xe6, 0xad, 0xb9, 0x35,
|
||||||
0x30, 0x07, 0x67, 0x9c, 0x57, 0x72, 0xa9, 0xa0, 0xc8, 0xaf, 0xe4, 0x92, 0xac, 0x14, 0x5f, 0xc9,
|
0x87, 0x39, 0x38, 0xe3, 0xbc, 0x92, 0x4b, 0x05, 0x45, 0x7e, 0x25, 0x97, 0x64, 0xa5, 0xf8, 0x4a,
|
||||||
0xa5, 0xa2, 0xb2, 0xfd, 0x4a, 0x2e, 0x6d, 0x2b, 0x3b, 0xea, 0x7f, 0x24, 0x28, 0x65, 0x6c, 0x1e,
|
0x2e, 0x15, 0x95, 0xed, 0x57, 0x72, 0x69, 0x5b, 0xd9, 0x51, 0xff, 0x23, 0x41, 0x29, 0x63, 0xf3,
|
||||||
0x09, 0x5f, 0x52, 0xc2, 0x75, 0x91, 0x8a, 0xa9, 0xc4, 0x01, 0xdb, 0xf5, 0x29, 0xea, 0x40, 0x55,
|
0x48, 0xf8, 0x92, 0x12, 0xae, 0x8b, 0x54, 0x4c, 0x25, 0x0e, 0xd8, 0xae, 0x4f, 0x51, 0x07, 0xaa,
|
||||||
0x18, 0xd7, 0x25, 0x0a, 0x1c, 0xeb, 0x09, 0x99, 0x8a, 0x3d, 0x34, 0x63, 0x08, 0x3d, 0xca, 0xe9,
|
0xc2, 0xb8, 0x2e, 0x51, 0xe0, 0x58, 0x4f, 0xc8, 0x54, 0xec, 0xa1, 0x19, 0x43, 0xe8, 0x51, 0x4e,
|
||||||
0x1e, 0x9a, 0x50, 0xb2, 0x63, 0x20, 0x5e, 0x8c, 0xc7, 0x34, 0x8e, 0x93, 0x59, 0x8a, 0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 0x07, 0x8a,
|
||||||
0xe6, 0x55, 0xff, 0x25, 0x41, 0x49, 0x54, 0x30, 0x98, 0x86, 0xe8, 0x17, 0xb0, 0x14, 0x97, 0xd8,
|
0x62, 0x5e, 0xf5, 0x5f, 0x12, 0x94, 0x44, 0x05, 0x83, 0x69, 0x88, 0x7e, 0x01, 0x4b, 0x71, 0x89,
|
||||||
0xdc, 0xf8, 0x81, 0x2b, 0x54, 0x57, 0xc3, 0x4b, 0xc1, 0xd8, 0x29, 0xce, 0xc9, 0x4b, 0x69, 0x2c,
|
0xcd, 0x8d, 0x1f, 0xb8, 0x42, 0x75, 0x35, 0xbc, 0x14, 0x8c, 0x9d, 0xe2, 0x9c, 0xbc, 0x94, 0xc6,
|
||||||
0xc9, 0x5b, 0x09, 0x39, 0x33, 0x2c, 0xc9, 0x4f, 0x73, 0x9e, 0xd7, 0xb6, 0x1c, 0x19, 0x37, 0x32,
|
0x92, 0xbc, 0x95, 0x90, 0x33, 0xc3, 0x92, 0xfc, 0x2c, 0xe7, 0x79, 0x6d, 0xcb, 0x91, 0x71, 0x23,
|
||||||
0x43, 0xb6, 0xc3, 0x3e, 0xcd, 0x39, 0x5e, 0xdb, 0x89, 0x65, 0xdc, 0xc8, 0x0c, 0x29, 0x57, 0xfd,
|
0x33, 0x64, 0x3b, 0xec, 0xb3, 0x9c, 0xe3, 0xb5, 0x9d, 0x58, 0xc6, 0x8d, 0xcc, 0x90, 0x72, 0xd5,
|
||||||
0x2d, 0x54, 0xf3, 0x35, 0x47, 0x4f, 0x40, 0x76, 0x83, 0x69, 0x98, 0x36, 0x62, 0xf3, 0x96, 0xb8,
|
0xdf, 0x42, 0x35, 0x5f, 0x73, 0xf4, 0x14, 0x64, 0x37, 0x98, 0x86, 0x69, 0x23, 0x36, 0x6f, 0x89,
|
||||||
0x78, 0x92, 0x58, 0x10, 0x54, 0x04, 0xca, 0xed, 0x3a, 0xab, 0x35, 0xa8, 0xe4, 0x8a, 0xa6, 0xfe,
|
0x8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, 0x86, 0xe6,
|
0x1b, 0x00, 0xab, 0x6b, 0x12, 0x7a, 0x94, 0x1b, 0x72, 0xe7, 0x9a, 0xd7, 0x7e, 0x7c, 0x8f, 0x35,
|
||||||
0x86, 0x3b, 0xd3, 0xda, 0x6a, 0xdc, 0x7f, 0xa7, 0x6a, 0x3f, 0xd8, 0x74, 0xb5, 0x78, 0x2e, 0x1d,
|
0x75, 0x65, 0x43, 0x73, 0xc3, 0xbd, 0x69, 0x6d, 0x35, 0xee, 0xbf, 0x57, 0xb5, 0x1f, 0x6c, 0xba,
|
||||||
0x7f, 0xf5, 0xe7, 0xc3, 0x2b, 0x97, 0xcd, 0x16, 0x97, 0x07, 0xe3, 0xd0, 0x3f, 0xf4, 0xdc, 0xab,
|
0x5e, 0xbc, 0x90, 0x8e, 0xbf, 0xfc, 0xf3, 0xe1, 0x95, 0xcb, 0x66, 0x8b, 0xcb, 0x83, 0x71, 0xe8,
|
||||||
0x19, 0x0b, 0xdc, 0xe0, 0x2a, 0xa0, 0xec, 0x43, 0x18, 0x5d, 0x1f, 0x7a, 0xc1, 0xe4, 0x50, 0xe8,
|
0x1f, 0x7a, 0xee, 0xd5, 0x8c, 0x05, 0x6e, 0x70, 0x15, 0x50, 0xf6, 0x21, 0x8c, 0xae, 0x0f, 0xbd,
|
||||||
0xf2, 0x70, 0x39, 0xfc, 0x72, 0x5b, 0xfc, 0xb4, 0xf4, 0xab, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff,
|
0x60, 0x72, 0x28, 0x74, 0x79, 0xb8, 0x1c, 0x7e, 0xb9, 0x2d, 0x7e, 0x5e, 0xfa, 0xd5, 0xff, 0x03,
|
||||||
0x27, 0x10, 0x6c, 0xe6, 0x8a, 0x12, 0x00, 0x00,
|
0x00, 0x00, 0xff, 0xff, 0x40, 0x4b, 0x61, 0x91, 0x8e, 0x12, 0x00, 0x00,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
@ -1750,14 +1750,14 @@ const _ = grpc.SupportPackageIsVersion4
|
|||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||||
type RouterClient interface {
|
type RouterClient interface {
|
||||||
//*
|
//*
|
||||||
//SendPayment attempts to route a payment described by the passed
|
//SendPaymentV2 attempts to route a payment described by the passed
|
||||||
//PaymentRequest to the final destination. The call returns a stream of
|
//PaymentRequest to the final destination. The call returns a stream of
|
||||||
//payment updates.
|
//payment updates.
|
||||||
SendPayment(ctx context.Context, in *SendPaymentRequest, opts ...grpc.CallOption) (Router_SendPaymentClient, error)
|
SendPaymentV2(ctx context.Context, in *SendPaymentRequest, opts ...grpc.CallOption) (Router_SendPaymentV2Client, error)
|
||||||
//*
|
//*
|
||||||
//TrackPayment returns an update stream for the payment identified by the
|
//TrackPaymentV2 returns an update stream for the payment identified by the
|
||||||
//payment hash.
|
//payment hash.
|
||||||
TrackPayment(ctx context.Context, in *TrackPaymentRequest, opts ...grpc.CallOption) (Router_TrackPaymentClient, error)
|
TrackPaymentV2(ctx context.Context, in *TrackPaymentRequest, opts ...grpc.CallOption) (Router_TrackPaymentV2Client, error)
|
||||||
//*
|
//*
|
||||||
//EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
|
//EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
|
||||||
//may cost to send an HTLC to the target end destination.
|
//may cost to send an HTLC to the target end destination.
|
||||||
@ -1798,12 +1798,12 @@ func NewRouterClient(cc *grpc.ClientConn) RouterClient {
|
|||||||
return &routerClient{cc}
|
return &routerClient{cc}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *routerClient) SendPayment(ctx context.Context, in *SendPaymentRequest, opts ...grpc.CallOption) (Router_SendPaymentClient, error) {
|
func (c *routerClient) SendPaymentV2(ctx context.Context, in *SendPaymentRequest, opts ...grpc.CallOption) (Router_SendPaymentV2Client, error) {
|
||||||
stream, err := c.cc.NewStream(ctx, &_Router_serviceDesc.Streams[0], "/routerrpc.Router/SendPayment", opts...)
|
stream, err := c.cc.NewStream(ctx, &_Router_serviceDesc.Streams[0], "/routerrpc.Router/SendPaymentV2", opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
x := &routerSendPaymentClient{stream}
|
x := &routerSendPaymentV2Client{stream}
|
||||||
if err := x.ClientStream.SendMsg(in); err != nil {
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -1813,16 +1813,16 @@ func (c *routerClient) SendPayment(ctx context.Context, in *SendPaymentRequest,
|
|||||||
return x, nil
|
return x, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type Router_SendPaymentClient interface {
|
type Router_SendPaymentV2Client interface {
|
||||||
Recv() (*lnrpc.Payment, error)
|
Recv() (*lnrpc.Payment, error)
|
||||||
grpc.ClientStream
|
grpc.ClientStream
|
||||||
}
|
}
|
||||||
|
|
||||||
type routerSendPaymentClient struct {
|
type routerSendPaymentV2Client struct {
|
||||||
grpc.ClientStream
|
grpc.ClientStream
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *routerSendPaymentClient) Recv() (*lnrpc.Payment, error) {
|
func (x *routerSendPaymentV2Client) Recv() (*lnrpc.Payment, error) {
|
||||||
m := new(lnrpc.Payment)
|
m := new(lnrpc.Payment)
|
||||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@ -1830,12 +1830,12 @@ func (x *routerSendPaymentClient) Recv() (*lnrpc.Payment, error) {
|
|||||||
return m, nil
|
return m, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *routerClient) TrackPayment(ctx context.Context, in *TrackPaymentRequest, opts ...grpc.CallOption) (Router_TrackPaymentClient, error) {
|
func (c *routerClient) TrackPaymentV2(ctx context.Context, in *TrackPaymentRequest, opts ...grpc.CallOption) (Router_TrackPaymentV2Client, error) {
|
||||||
stream, err := c.cc.NewStream(ctx, &_Router_serviceDesc.Streams[1], "/routerrpc.Router/TrackPayment", opts...)
|
stream, err := c.cc.NewStream(ctx, &_Router_serviceDesc.Streams[1], "/routerrpc.Router/TrackPaymentV2", opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
x := &routerTrackPaymentClient{stream}
|
x := &routerTrackPaymentV2Client{stream}
|
||||||
if err := x.ClientStream.SendMsg(in); err != nil {
|
if err := x.ClientStream.SendMsg(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -1845,16 +1845,16 @@ func (c *routerClient) TrackPayment(ctx context.Context, in *TrackPaymentRequest
|
|||||||
return x, nil
|
return x, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
type Router_TrackPaymentClient interface {
|
type Router_TrackPaymentV2Client interface {
|
||||||
Recv() (*lnrpc.Payment, error)
|
Recv() (*lnrpc.Payment, error)
|
||||||
grpc.ClientStream
|
grpc.ClientStream
|
||||||
}
|
}
|
||||||
|
|
||||||
type routerTrackPaymentClient struct {
|
type routerTrackPaymentV2Client struct {
|
||||||
grpc.ClientStream
|
grpc.ClientStream
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *routerTrackPaymentClient) Recv() (*lnrpc.Payment, error) {
|
func (x *routerTrackPaymentV2Client) Recv() (*lnrpc.Payment, error) {
|
||||||
m := new(lnrpc.Payment)
|
m := new(lnrpc.Payment)
|
||||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
@ -1951,14 +1951,14 @@ func (x *routerSubscribeHtlcEventsClient) Recv() (*HtlcEvent, error) {
|
|||||||
// RouterServer is the server API for Router service.
|
// RouterServer is the server API for Router service.
|
||||||
type RouterServer interface {
|
type RouterServer interface {
|
||||||
//*
|
//*
|
||||||
//SendPayment attempts to route a payment described by the passed
|
//SendPaymentV2 attempts to route a payment described by the passed
|
||||||
//PaymentRequest to the final destination. The call returns a stream of
|
//PaymentRequest to the final destination. The call returns a stream of
|
||||||
//payment updates.
|
//payment updates.
|
||||||
SendPayment(*SendPaymentRequest, Router_SendPaymentServer) error
|
SendPaymentV2(*SendPaymentRequest, Router_SendPaymentV2Server) error
|
||||||
//*
|
//*
|
||||||
//TrackPayment returns an update stream for the payment identified by the
|
//TrackPaymentV2 returns an update stream for the payment identified by the
|
||||||
//payment hash.
|
//payment hash.
|
||||||
TrackPayment(*TrackPaymentRequest, Router_TrackPaymentServer) error
|
TrackPaymentV2(*TrackPaymentRequest, Router_TrackPaymentV2Server) error
|
||||||
//*
|
//*
|
||||||
//EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
|
//EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
|
||||||
//may cost to send an HTLC to the target end destination.
|
//may cost to send an HTLC to the target end destination.
|
||||||
@ -1995,45 +1995,45 @@ func RegisterRouterServer(s *grpc.Server, srv RouterServer) {
|
|||||||
s.RegisterService(&_Router_serviceDesc, srv)
|
s.RegisterService(&_Router_serviceDesc, srv)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _Router_SendPayment_Handler(srv interface{}, stream grpc.ServerStream) error {
|
func _Router_SendPaymentV2_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||||||
m := new(SendPaymentRequest)
|
m := new(SendPaymentRequest)
|
||||||
if err := stream.RecvMsg(m); err != nil {
|
if err := stream.RecvMsg(m); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return srv.(RouterServer).SendPayment(m, &routerSendPaymentServer{stream})
|
return srv.(RouterServer).SendPaymentV2(m, &routerSendPaymentV2Server{stream})
|
||||||
}
|
}
|
||||||
|
|
||||||
type Router_SendPaymentServer interface {
|
type Router_SendPaymentV2Server interface {
|
||||||
Send(*lnrpc.Payment) error
|
Send(*lnrpc.Payment) error
|
||||||
grpc.ServerStream
|
grpc.ServerStream
|
||||||
}
|
}
|
||||||
|
|
||||||
type routerSendPaymentServer struct {
|
type routerSendPaymentV2Server struct {
|
||||||
grpc.ServerStream
|
grpc.ServerStream
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *routerSendPaymentServer) Send(m *lnrpc.Payment) error {
|
func (x *routerSendPaymentV2Server) Send(m *lnrpc.Payment) error {
|
||||||
return x.ServerStream.SendMsg(m)
|
return x.ServerStream.SendMsg(m)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _Router_TrackPayment_Handler(srv interface{}, stream grpc.ServerStream) error {
|
func _Router_TrackPaymentV2_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||||||
m := new(TrackPaymentRequest)
|
m := new(TrackPaymentRequest)
|
||||||
if err := stream.RecvMsg(m); err != nil {
|
if err := stream.RecvMsg(m); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return srv.(RouterServer).TrackPayment(m, &routerTrackPaymentServer{stream})
|
return srv.(RouterServer).TrackPaymentV2(m, &routerTrackPaymentV2Server{stream})
|
||||||
}
|
}
|
||||||
|
|
||||||
type Router_TrackPaymentServer interface {
|
type Router_TrackPaymentV2Server interface {
|
||||||
Send(*lnrpc.Payment) error
|
Send(*lnrpc.Payment) error
|
||||||
grpc.ServerStream
|
grpc.ServerStream
|
||||||
}
|
}
|
||||||
|
|
||||||
type routerTrackPaymentServer struct {
|
type routerTrackPaymentV2Server struct {
|
||||||
grpc.ServerStream
|
grpc.ServerStream
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *routerTrackPaymentServer) Send(m *lnrpc.Payment) error {
|
func (x *routerTrackPaymentV2Server) Send(m *lnrpc.Payment) error {
|
||||||
return x.ServerStream.SendMsg(m)
|
return x.ServerStream.SendMsg(m)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2197,13 +2197,13 @@ var _Router_serviceDesc = grpc.ServiceDesc{
|
|||||||
},
|
},
|
||||||
Streams: []grpc.StreamDesc{
|
Streams: []grpc.StreamDesc{
|
||||||
{
|
{
|
||||||
StreamName: "SendPayment",
|
StreamName: "SendPaymentV2",
|
||||||
Handler: _Router_SendPayment_Handler,
|
Handler: _Router_SendPaymentV2_Handler,
|
||||||
ServerStreams: true,
|
ServerStreams: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
StreamName: "TrackPayment",
|
StreamName: "TrackPaymentV2",
|
||||||
Handler: _Router_TrackPayment_Handler,
|
Handler: _Router_TrackPaymentV2_Handler,
|
||||||
ServerStreams: true,
|
ServerStreams: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -413,17 +413,17 @@ enum FailureDetail {
|
|||||||
|
|
||||||
service Router {
|
service Router {
|
||||||
/**
|
/**
|
||||||
SendPayment attempts to route a payment described by the passed
|
SendPaymentV2 attempts to route a payment described by the passed
|
||||||
PaymentRequest to the final destination. The call returns a stream of
|
PaymentRequest to the final destination. The call returns a stream of
|
||||||
payment updates.
|
payment updates.
|
||||||
*/
|
*/
|
||||||
rpc SendPayment (SendPaymentRequest) returns (stream lnrpc.Payment);
|
rpc SendPaymentV2 (SendPaymentRequest) returns (stream lnrpc.Payment);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
TrackPayment returns an update stream for the payment identified by the
|
TrackPaymentV2 returns an update stream for the payment identified by the
|
||||||
payment hash.
|
payment hash.
|
||||||
*/
|
*/
|
||||||
rpc TrackPayment (TrackPaymentRequest) returns (stream lnrpc.Payment);
|
rpc TrackPaymentV2 (TrackPaymentRequest) returns (stream lnrpc.Payment);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
|
EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it
|
||||||
|
@ -48,7 +48,7 @@ var (
|
|||||||
|
|
||||||
// macPermissions maps RPC calls to the permissions they require.
|
// macPermissions maps RPC calls to the permissions they require.
|
||||||
macPermissions = map[string][]bakery.Op{
|
macPermissions = map[string][]bakery.Op{
|
||||||
"/routerrpc.Router/SendPayment": {{
|
"/routerrpc.Router/SendPaymentV2": {{
|
||||||
Entity: "offchain",
|
Entity: "offchain",
|
||||||
Action: "write",
|
Action: "write",
|
||||||
}},
|
}},
|
||||||
@ -56,7 +56,7 @@ var (
|
|||||||
Entity: "offchain",
|
Entity: "offchain",
|
||||||
Action: "write",
|
Action: "write",
|
||||||
}},
|
}},
|
||||||
"/routerrpc.Router/TrackPayment": {{
|
"/routerrpc.Router/TrackPaymentV2": {{
|
||||||
Entity: "offchain",
|
Entity: "offchain",
|
||||||
Action: "read",
|
Action: "read",
|
||||||
}},
|
}},
|
||||||
@ -214,13 +214,13 @@ func (s *Server) RegisterWithRootServer(grpcServer *grpc.Server) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// SendPayment attempts to route a payment described by the passed
|
// SendPaymentV2 attempts to route a payment described by the passed
|
||||||
// PaymentRequest to the final destination. If we are unable to route the
|
// PaymentRequest to the final destination. If we are unable to route the
|
||||||
// payment, or cannot find a route that satisfies the constraints in the
|
// payment, or cannot find a route that satisfies the constraints in the
|
||||||
// PaymentRequest, then an error will be returned. Otherwise, the payment
|
// PaymentRequest, then an error will be returned. Otherwise, the payment
|
||||||
// pre-image, along with the final route will be returned.
|
// pre-image, along with the final route will be returned.
|
||||||
func (s *Server) SendPayment(req *SendPaymentRequest,
|
func (s *Server) SendPaymentV2(req *SendPaymentRequest,
|
||||||
stream Router_SendPaymentServer) error {
|
stream Router_SendPaymentV2Server) error {
|
||||||
|
|
||||||
payment, err := s.cfg.RouterBackend.extractIntentFromSendRequest(req)
|
payment, err := s.cfg.RouterBackend.extractIntentFromSendRequest(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -419,10 +419,10 @@ func (s *Server) QueryProbability(ctx context.Context,
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// TrackPayment returns a stream of payment state updates. The stream is
|
// TrackPaymentV2 returns a stream of payment state updates. The stream is
|
||||||
// closed when the payment completes.
|
// closed when the payment completes.
|
||||||
func (s *Server) TrackPayment(request *TrackPaymentRequest,
|
func (s *Server) TrackPaymentV2(request *TrackPaymentRequest,
|
||||||
stream Router_TrackPaymentServer) error {
|
stream Router_TrackPaymentV2Server) error {
|
||||||
|
|
||||||
paymentHash, err := lntypes.MakeHash(request.PaymentHash)
|
paymentHash, err := lntypes.MakeHash(request.PaymentHash)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -436,7 +436,7 @@ func (s *Server) TrackPayment(request *TrackPaymentRequest,
|
|||||||
|
|
||||||
// trackPayment writes payment status updates to the provided stream.
|
// trackPayment writes payment status updates to the provided stream.
|
||||||
func (s *Server) trackPayment(paymentHash lntypes.Hash,
|
func (s *Server) trackPayment(paymentHash lntypes.Hash,
|
||||||
stream Router_TrackPaymentServer) error {
|
stream Router_TrackPaymentV2Server) error {
|
||||||
|
|
||||||
router := s.cfg.RouterBackend
|
router := s.cfg.RouterBackend
|
||||||
|
|
||||||
|
@ -14248,12 +14248,12 @@ func testHoldInvoicePersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Let Alice initiate payments for all the created invoices.
|
// Let Alice initiate payments for all the created invoices.
|
||||||
var paymentStreams []routerrpc.Router_SendPaymentClient
|
var paymentStreams []routerrpc.Router_SendPaymentV2Client
|
||||||
for _, payReq := range payReqs {
|
for _, payReq := range payReqs {
|
||||||
ctx, cancel := context.WithCancel(ctxb)
|
ctx, cancel := context.WithCancel(ctxb)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
payStream, err := net.Alice.RouterClient.SendPayment(
|
payStream, err := net.Alice.RouterClient.SendPaymentV2(
|
||||||
ctx, &routerrpc.SendPaymentRequest{
|
ctx, &routerrpc.SendPaymentRequest{
|
||||||
PaymentRequest: payReq,
|
PaymentRequest: payReq,
|
||||||
TimeoutSeconds: 60,
|
TimeoutSeconds: 60,
|
||||||
@ -14365,7 +14365,7 @@ func testHoldInvoicePersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
ctx, cancel := context.WithCancel(ctxb)
|
ctx, cancel := context.WithCancel(ctxb)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
payStream, err := net.Alice.RouterClient.TrackPayment(
|
payStream, err := net.Alice.RouterClient.TrackPaymentV2(
|
||||||
ctx, &routerrpc.TrackPaymentRequest{
|
ctx, &routerrpc.TrackPaymentRequest{
|
||||||
PaymentHash: hash[:],
|
PaymentHash: hash[:],
|
||||||
},
|
},
|
||||||
@ -14724,7 +14724,7 @@ func sendAndAssertSuccess(t *harnessTest, node *lntest.HarnessNode,
|
|||||||
ctx, cancel := context.WithTimeout(context.Background(), defaultTimeout)
|
ctx, cancel := context.WithTimeout(context.Background(), defaultTimeout)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
stream, err := node.RouterClient.SendPayment(ctx, req)
|
stream, err := node.RouterClient.SendPaymentV2(ctx, req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("unable to send payment: %v", err)
|
t.Fatalf("unable to send payment: %v", err)
|
||||||
}
|
}
|
||||||
@ -14742,7 +14742,7 @@ func sendAndAssertSuccess(t *harnessTest, node *lntest.HarnessNode,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// getPaymentResult reads a final result from the stream and returns it.
|
// getPaymentResult reads a final result from the stream and returns it.
|
||||||
func getPaymentResult(stream routerrpc.Router_SendPaymentClient) (
|
func getPaymentResult(stream routerrpc.Router_SendPaymentV2Client) (
|
||||||
*lnrpc.Payment, error) {
|
*lnrpc.Payment, error) {
|
||||||
|
|
||||||
for {
|
for {
|
||||||
|
Loading…
Reference in New Issue
Block a user