routing+routerrpc: rename max_shards to max_parts

Don't introduce a new term and align with the P in MPP.
This commit is contained in:
Joost Jager 2020-04-22 09:19:11 +02:00
parent 8d7e07d96b
commit f6b2410011
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7
11 changed files with 169 additions and 169 deletions

@ -58,8 +58,8 @@ var (
"displayed. Only valid in combination with --json.", "displayed. Only valid in combination with --json.",
} }
maxShardsFlag = cli.UintFlag{ maxPartsFlag = cli.UintFlag{
Name: "max_shards", Name: "max_parts",
Usage: "the maximum number of partial payments that may be " + Usage: "the maximum number of partial payments that may be " +
"used", "used",
Value: 1, Value: 1,
@ -107,7 +107,7 @@ func paymentFlags() []cli.Flag {
Name: "allow_self_payment", Name: "allow_self_payment",
Usage: "allow sending a circular payment to self", Usage: "allow sending a circular payment to self",
}, },
dataFlag, inflightUpdatesFlag, maxShardsFlag, jsonFlag, dataFlag, inflightUpdatesFlag, maxPartsFlag, jsonFlag,
} }
} }
@ -337,7 +337,7 @@ func sendPaymentRequest(ctx *cli.Context,
req.AllowSelfPayment = ctx.Bool("allow_self_payment") req.AllowSelfPayment = ctx.Bool("allow_self_payment")
req.MaxShards = uint32(ctx.Uint(maxShardsFlag.Name)) req.MaxParts = uint32(ctx.Uint(maxPartsFlag.Name))
// Parse custom data records. // Parse custom data records.
data := ctx.String(dataFlag.Name) data := ctx.String(dataFlag.Name)

@ -281,7 +281,7 @@ type SendPaymentRequest struct {
//* //*
//The maximum number of partial payments that may be use to complete the full //The maximum number of partial payments that may be use to complete the full
//amount. //amount.
MaxShards uint32 `protobuf:"varint,17,opt,name=max_shards,json=maxShards,proto3" json:"max_shards,omitempty"` MaxParts uint32 `protobuf:"varint,17,opt,name=max_parts,json=maxParts,proto3" json:"max_parts,omitempty"`
//* //*
//If set, only the final payment update is streamed back. Intermediate updates //If set, only the final payment update is streamed back. Intermediate updates
//that show which htlcs are still in flight are suppressed. //that show which htlcs are still in flight are suppressed.
@ -428,9 +428,9 @@ func (m *SendPaymentRequest) GetDestFeatures() []lnrpc.FeatureBit {
return nil return nil
} }
func (m *SendPaymentRequest) GetMaxShards() uint32 { func (m *SendPaymentRequest) GetMaxParts() uint32 {
if m != nil { if m != nil {
return m.MaxShards return m.MaxParts
} }
return 0 return 0
} }
@ -1746,148 +1746,148 @@ 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{
// 2247 bytes of a gzipped FileDescriptorProto // 2248 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x4d, 0x77, 0xdb, 0xc6, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0xcd, 0x76, 0xdb, 0xb8,
0xd5, 0x0e, 0x48, 0x50, 0x22, 0x2f, 0x3f, 0x04, 0x8d, 0x1c, 0x99, 0x2f, 0x65, 0x27, 0x0c, 0xde, 0xf5, 0x1f, 0x4a, 0x94, 0x2d, 0x5d, 0x7d, 0x98, 0x86, 0x33, 0x8e, 0xfe, 0x72, 0x32, 0xa3, 0xe1,
0xc4, 0xe6, 0x71, 0x1d, 0xc9, 0x51, 0x7b, 0xda, 0x9c, 0xb6, 0x49, 0x4b, 0x91, 0x90, 0x05, 0x9b, 0x7f, 0x26, 0xd1, 0x49, 0x33, 0x76, 0xc6, 0xed, 0x69, 0xe7, 0xb4, 0x9d, 0x69, 0x65, 0x89, 0x8e,
0x02, 0x98, 0x21, 0x25, 0xdb, 0xf5, 0x62, 0x0e, 0x44, 0x0e, 0x45, 0x54, 0xf8, 0x60, 0x81, 0xa1, 0x99, 0xc8, 0xa4, 0x06, 0x92, 0x9d, 0xa4, 0x59, 0xe0, 0xd0, 0x12, 0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0xff, 0x94, 0x53, 0x9e, 0x29, 0xc8, 0x86, 0x4a, 0x96, 0xdc, 0x1f, 0x65, 0xfd, 0xc7, 0x0c,
0xdf, 0xfc, 0xee, 0xe0, 0xd2, 0x65, 0xd3, 0xf9, 0xc5, 0xfe, 0x28, 0xf4, 0x0f, 0xc4, 0x5f, 0x32, 0x1e, 0x7d, 0xf3, 0xbb, 0x83, 0x4b, 0x97, 0x4d, 0xe7, 0x17, 0xfb, 0xa3, 0xd0, 0x3f, 0x10, 0xbf,
0x02, 0x37, 0xb8, 0x0c, 0x28, 0x7b, 0x1f, 0x46, 0x57, 0x07, 0x5e, 0x30, 0x3e, 0x10, 0x7d, 0x73, 0x64, 0x04, 0x6e, 0x70, 0x19, 0x50, 0xf6, 0x3e, 0x8c, 0xae, 0x0e, 0xbc, 0x60, 0x7c, 0x20, 0xea,
0xb0, 0xf0, 0x73, 0xb1, 0x21, 0xfe, 0x38, 0xf9, 0xd3, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x8d, 0xe6, 0x60, 0x61, 0xe7, 0x62, 0x43, 0xfc, 0x34, 0xf9, 0xd3, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff,
0x86, 0x7a, 0x49, 0xcc, 0x14, 0x00, 0x00, 0x16, 0x00, 0xbc, 0x19, 0xca, 0x14, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.

@ -119,7 +119,7 @@ message SendPaymentRequest {
The maximum number of partial payments that may be use to complete the full The maximum number of partial payments that may be use to complete the full
amount. amount.
*/ */
uint32 max_shards = 17; uint32 max_parts = 17;
/** /**
If set, only the final payment update is streamed back. Intermediate updates If set, only the final payment update is streamed back. Intermediate updates

@ -549,11 +549,11 @@ func (r *RouterBackend) extractIntentFromSendRequest(
// Take max htlcs from the request. Map zero to one for backwards // Take max htlcs from the request. Map zero to one for backwards
// compatibility. // compatibility.
maxShards := rpcPayReq.MaxShards maxParts := rpcPayReq.MaxParts
if maxShards == 0 { if maxParts == 0 {
maxShards = 1 maxParts = 1
} }
payIntent.MaxShards = maxShards payIntent.MaxParts = maxParts
// Take fee limit from request. // Take fee limit from request.
payIntent.FeeLimit, err = lnrpc.UnmarshallAmt( payIntent.FeeLimit, err = lnrpc.UnmarshallAmt(

@ -84,7 +84,7 @@ func (s *Server) TrackPayment(request *TrackPaymentRequest,
func (s *Server) SendPayment(request *SendPaymentRequest, func (s *Server) SendPayment(request *SendPaymentRequest,
stream Router_SendPaymentServer) error { stream Router_SendPaymentServer) error {
if request.MaxShards > 1 { if request.MaxParts > 1 {
return errors.New("for multi-part payments, use SendPaymentV2") return errors.New("for multi-part payments, use SendPaymentV2")
} }

@ -74,7 +74,7 @@ func testSendMultiPathPayment(net *lntest.NetworkHarness, t *harnessTest) {
t, net.Alice, t, net.Alice,
&routerrpc.SendPaymentRequest{ &routerrpc.SendPaymentRequest{
PaymentRequest: payReq, PaymentRequest: payReq,
MaxShards: 10, MaxParts: 10,
TimeoutSeconds: 60, TimeoutSeconds: 60,
FeeLimitMsat: noFeeLimitMsat, FeeLimitMsat: noFeeLimitMsat,
}, },

@ -88,7 +88,7 @@ func (h htlcAttempt) String() string {
// testPayment launches a test payment and asserts that it is completed after // testPayment launches a test payment and asserts that it is completed after
// the expected number of attempts. // the expected number of attempts.
func (c *integratedRoutingContext) testPayment(maxShards uint32) ([]htlcAttempt, func (c *integratedRoutingContext) testPayment(maxParts uint32) ([]htlcAttempt,
error) { error) {
var ( var (
@ -137,7 +137,7 @@ func (c *integratedRoutingContext) testPayment(maxShards uint32) ([]htlcAttempt,
DestFeatures: lnwire.NewFeatureVector(mppFeatures, nil), DestFeatures: lnwire.NewFeatureVector(mppFeatures, nil),
Amount: c.amt, Amount: c.amt,
CltvLimit: math.MaxUint32, CltvLimit: math.MaxUint32,
MaxShards: maxShards, MaxParts: maxParts,
} }
session, err := newPaymentSession( session, err := newPaymentSession(

@ -85,7 +85,7 @@ type mppSendTestCase struct {
graph func(g *mockGraph) graph func(g *mockGraph)
expectedFailure bool expectedFailure bool
maxShards uint32 maxParts uint32
} }
const ( const (
@ -152,7 +152,7 @@ var mppTestCases = []mppSendTestCase{
chans: []uint64{chanSourceIm2, chanIm2Target}, chans: []uint64{chanSourceIm2, chanIm2Target},
}, },
}, },
maxShards: 1000, maxParts: 1000,
}, },
// Test that a cap on the max htlcs makes it impossible to pay. // Test that a cap on the max htlcs makes it impossible to pay.
@ -165,7 +165,7 @@ var mppTestCases = []mppSendTestCase{
expectedAttempts: 2, expectedAttempts: 2,
expectedSuccesses: []expectedHtlcSuccess{}, expectedSuccesses: []expectedHtlcSuccess{},
expectedFailure: true, expectedFailure: true,
maxShards: 1, maxParts: 1,
}, },
// Test that an attempt is made to split the payment in multiple parts // Test that an attempt is made to split the payment in multiple parts
@ -190,7 +190,7 @@ var mppTestCases = []mppSendTestCase{
}, },
}, },
expectedFailure: true, expectedFailure: true,
maxShards: 1000, maxParts: 1000,
}, },
// Test that no attempts are made if the total local balance is // Test that no attempts are made if the total local balance is
@ -203,7 +203,7 @@ var mppTestCases = []mppSendTestCase{
amt: 300000, amt: 300000,
expectedAttempts: 0, expectedAttempts: 0,
expectedFailure: true, expectedFailure: true,
maxShards: 10, maxParts: 10,
}, },
} }
@ -226,7 +226,7 @@ func testMppSend(t *testing.T, testCase *mppSendTestCase) {
ctx.amt = lnwire.NewMSatFromSatoshis(testCase.amt) ctx.amt = lnwire.NewMSatFromSatoshis(testCase.amt)
attempts, err := ctx.testPayment(testCase.maxShards) attempts, err := ctx.testPayment(testCase.maxParts)
switch { switch {
case err == nil && testCase.expectedFailure: case err == nil && testCase.expectedFailure:
t.Fatal("expected payment to fail") t.Fatal("expected payment to fail")

@ -263,11 +263,11 @@ func (p *paymentSession) RequestRoute(maxAmt, feeLimit lnwire.MilliSatoshi,
} }
// No splitting if this is the last shard. // No splitting if this is the last shard.
isLastShard := activeShards+1 >= p.payment.MaxShards isLastShard := activeShards+1 >= p.payment.MaxParts
if isLastShard { if isLastShard {
p.log.Debugf("not splitting because shard "+ p.log.Debugf("not splitting because shard "+
"limit %v has been reached", "limit %v has been reached",
p.payment.MaxShards) p.payment.MaxParts)
return nil, errNoPathFound return nil, errNoPathFound
} }

@ -1625,9 +1625,9 @@ type LightningPayment struct {
// fail. // fail.
DestCustomRecords record.CustomSet DestCustomRecords record.CustomSet
// MaxShards is the maximum number of partial payments that may be used // MaxParts is the maximum number of partial payments that may be used
// to complete the full amount. // to complete the full amount.
MaxShards uint32 MaxParts uint32
} }
// SendPayment attempts to send a payment as described within the passed // SendPayment attempts to send a payment as described within the passed

@ -3966,7 +3966,7 @@ func (r *rpcServer) dispatchPaymentIntent(
// Don't enable multi-part payments on the main rpc. // Don't enable multi-part payments on the main rpc.
// Users need to use routerrpc for that. // Users need to use routerrpc for that.
MaxShards: 1, MaxParts: 1,
} }
preImage, route, routerErr = r.server.chanRouter.SendPayment( preImage, route, routerErr = r.server.chanRouter.SendPayment(