• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightningnetwork / lnd / 13412100018

19 Feb 2025 12:05PM UTC coverage: 44.914% (-13.9%) from 58.794%
13412100018

Pull #9521

github

web-flow
Merge 861d6970e into 0e8786348
Pull Request #9521: unit: remove GOACC, use Go 1.20 native coverage functionality

101023 of 224923 relevant lines covered (44.91%)

19479.4 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

4.98
/lnrpc/invoicesrpc/invoices.pb.go
1
// Code generated by protoc-gen-go. DO NOT EDIT.
2
// versions:
3
//         protoc-gen-go v1.33.0
4
//         protoc        v3.21.12
5
// source: invoicesrpc/invoices.proto
6

7
package invoicesrpc
8

9
import (
10
        lnrpc "github.com/lightningnetwork/lnd/lnrpc"
11
        protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12
        protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13
        reflect "reflect"
14
        sync "sync"
15
)
16

17
const (
18
        // Verify that this generated code is sufficiently up-to-date.
19
        _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
        // Verify that runtime/protoimpl is sufficiently up-to-date.
21
        _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
)
23

24
type LookupModifier int32
25

26
const (
27
        // The default look up modifier, no look up behavior is changed.
28
        LookupModifier_DEFAULT LookupModifier = 0
29
        // Indicates that when a look up is done based on a set_id, then only that set
30
        // of HTLCs related to that set ID should be returned.
31
        LookupModifier_HTLC_SET_ONLY LookupModifier = 1
32
        // Indicates that when a look up is done using a payment_addr, then no HTLCs
33
        // related to the payment_addr should be returned. This is useful when one
34
        // wants to be able to obtain the set of associated setIDs with a given
35
        // invoice, then look up the sub-invoices "projected" by that set ID.
36
        LookupModifier_HTLC_SET_BLANK LookupModifier = 2
37
)
38

39
// Enum value maps for LookupModifier.
40
var (
41
        LookupModifier_name = map[int32]string{
42
                0: "DEFAULT",
43
                1: "HTLC_SET_ONLY",
44
                2: "HTLC_SET_BLANK",
45
        }
46
        LookupModifier_value = map[string]int32{
47
                "DEFAULT":        0,
48
                "HTLC_SET_ONLY":  1,
49
                "HTLC_SET_BLANK": 2,
50
        }
51
)
52

53
func (x LookupModifier) Enum() *LookupModifier {
×
54
        p := new(LookupModifier)
×
55
        *p = x
×
56
        return p
×
57
}
×
58

59
func (x LookupModifier) String() string {
×
60
        return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
×
61
}
×
62

63
func (LookupModifier) Descriptor() protoreflect.EnumDescriptor {
×
64
        return file_invoicesrpc_invoices_proto_enumTypes[0].Descriptor()
×
65
}
×
66

67
func (LookupModifier) Type() protoreflect.EnumType {
×
68
        return &file_invoicesrpc_invoices_proto_enumTypes[0]
×
69
}
×
70

71
func (x LookupModifier) Number() protoreflect.EnumNumber {
×
72
        return protoreflect.EnumNumber(x)
×
73
}
×
74

75
// Deprecated: Use LookupModifier.Descriptor instead.
76
func (LookupModifier) EnumDescriptor() ([]byte, []int) {
×
77
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{0}
×
78
}
×
79

80
type CancelInvoiceMsg struct {
81
        state         protoimpl.MessageState
82
        sizeCache     protoimpl.SizeCache
83
        unknownFields protoimpl.UnknownFields
84

85
        // Hash corresponding to the (hold) invoice to cancel. When using
86
        // REST, this field must be encoded as base64.
87
        PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
88
}
89

90
func (x *CancelInvoiceMsg) Reset() {
×
91
        *x = CancelInvoiceMsg{}
×
92
        if protoimpl.UnsafeEnabled {
×
93
                mi := &file_invoicesrpc_invoices_proto_msgTypes[0]
×
94
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
95
                ms.StoreMessageInfo(mi)
×
96
        }
×
97
}
98

99
func (x *CancelInvoiceMsg) String() string {
×
100
        return protoimpl.X.MessageStringOf(x)
×
101
}
×
102

103
func (*CancelInvoiceMsg) ProtoMessage() {}
×
104

105
func (x *CancelInvoiceMsg) ProtoReflect() protoreflect.Message {
×
106
        mi := &file_invoicesrpc_invoices_proto_msgTypes[0]
×
107
        if protoimpl.UnsafeEnabled && x != nil {
×
108
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
109
                if ms.LoadMessageInfo() == nil {
×
110
                        ms.StoreMessageInfo(mi)
×
111
                }
×
112
                return ms
×
113
        }
114
        return mi.MessageOf(x)
×
115
}
116

117
// Deprecated: Use CancelInvoiceMsg.ProtoReflect.Descriptor instead.
118
func (*CancelInvoiceMsg) Descriptor() ([]byte, []int) {
×
119
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{0}
×
120
}
×
121

122
func (x *CancelInvoiceMsg) GetPaymentHash() []byte {
×
123
        if x != nil {
×
124
                return x.PaymentHash
×
125
        }
×
126
        return nil
×
127
}
128

129
type CancelInvoiceResp struct {
130
        state         protoimpl.MessageState
131
        sizeCache     protoimpl.SizeCache
132
        unknownFields protoimpl.UnknownFields
133
}
134

135
func (x *CancelInvoiceResp) Reset() {
×
136
        *x = CancelInvoiceResp{}
×
137
        if protoimpl.UnsafeEnabled {
×
138
                mi := &file_invoicesrpc_invoices_proto_msgTypes[1]
×
139
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
140
                ms.StoreMessageInfo(mi)
×
141
        }
×
142
}
143

144
func (x *CancelInvoiceResp) String() string {
×
145
        return protoimpl.X.MessageStringOf(x)
×
146
}
×
147

148
func (*CancelInvoiceResp) ProtoMessage() {}
×
149

150
func (x *CancelInvoiceResp) ProtoReflect() protoreflect.Message {
×
151
        mi := &file_invoicesrpc_invoices_proto_msgTypes[1]
×
152
        if protoimpl.UnsafeEnabled && x != nil {
×
153
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
154
                if ms.LoadMessageInfo() == nil {
×
155
                        ms.StoreMessageInfo(mi)
×
156
                }
×
157
                return ms
×
158
        }
159
        return mi.MessageOf(x)
×
160
}
161

162
// Deprecated: Use CancelInvoiceResp.ProtoReflect.Descriptor instead.
163
func (*CancelInvoiceResp) Descriptor() ([]byte, []int) {
×
164
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{1}
×
165
}
×
166

167
type AddHoldInvoiceRequest struct {
168
        state         protoimpl.MessageState
169
        sizeCache     protoimpl.SizeCache
170
        unknownFields protoimpl.UnknownFields
171

172
        // An optional memo to attach along with the invoice. Used for record keeping
173
        // purposes for the invoice's creator, and will also be set in the description
174
        // field of the encoded payment request if the description_hash field is not
175
        // being used.
176
        Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
177
        // The hash of the preimage
178
        Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
179
        // The value of this invoice in satoshis
180
        //
181
        // The fields value and value_msat are mutually exclusive.
182
        Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
183
        // The value of this invoice in millisatoshis
184
        //
185
        // The fields value and value_msat are mutually exclusive.
186
        ValueMsat int64 `protobuf:"varint,10,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"`
187
        // Hash (SHA-256) of a description of the payment. Used if the description of
188
        // payment (memo) is too long to naturally fit within the description field
189
        // of an encoded payment request.
190
        DescriptionHash []byte `protobuf:"bytes,4,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
191
        // Payment request expiry time in seconds. Default is 86400 (24 hours).
192
        Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
193
        // Fallback on-chain address.
194
        FallbackAddr string `protobuf:"bytes,6,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
195
        // Delta to use for the time-lock of the CLTV extended to the final hop.
196
        CltvExpiry uint64 `protobuf:"varint,7,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
197
        // Route hints that can each be individually used to assist in reaching the
198
        // invoice's destination.
199
        RouteHints []*lnrpc.RouteHint `protobuf:"bytes,8,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
200
        // Whether this invoice should include routing hints for private channels.
201
        Private bool `protobuf:"varint,9,opt,name=private,proto3" json:"private,omitempty"`
202
}
203

204
func (x *AddHoldInvoiceRequest) Reset() {
×
205
        *x = AddHoldInvoiceRequest{}
×
206
        if protoimpl.UnsafeEnabled {
×
207
                mi := &file_invoicesrpc_invoices_proto_msgTypes[2]
×
208
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
209
                ms.StoreMessageInfo(mi)
×
210
        }
×
211
}
212

213
func (x *AddHoldInvoiceRequest) String() string {
×
214
        return protoimpl.X.MessageStringOf(x)
×
215
}
×
216

217
func (*AddHoldInvoiceRequest) ProtoMessage() {}
×
218

219
func (x *AddHoldInvoiceRequest) ProtoReflect() protoreflect.Message {
×
220
        mi := &file_invoicesrpc_invoices_proto_msgTypes[2]
×
221
        if protoimpl.UnsafeEnabled && x != nil {
×
222
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
223
                if ms.LoadMessageInfo() == nil {
×
224
                        ms.StoreMessageInfo(mi)
×
225
                }
×
226
                return ms
×
227
        }
228
        return mi.MessageOf(x)
×
229
}
230

231
// Deprecated: Use AddHoldInvoiceRequest.ProtoReflect.Descriptor instead.
232
func (*AddHoldInvoiceRequest) Descriptor() ([]byte, []int) {
×
233
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{2}
×
234
}
×
235

236
func (x *AddHoldInvoiceRequest) GetMemo() string {
×
237
        if x != nil {
×
238
                return x.Memo
×
239
        }
×
240
        return ""
×
241
}
242

243
func (x *AddHoldInvoiceRequest) GetHash() []byte {
×
244
        if x != nil {
×
245
                return x.Hash
×
246
        }
×
247
        return nil
×
248
}
249

250
func (x *AddHoldInvoiceRequest) GetValue() int64 {
×
251
        if x != nil {
×
252
                return x.Value
×
253
        }
×
254
        return 0
×
255
}
256

257
func (x *AddHoldInvoiceRequest) GetValueMsat() int64 {
×
258
        if x != nil {
×
259
                return x.ValueMsat
×
260
        }
×
261
        return 0
×
262
}
263

264
func (x *AddHoldInvoiceRequest) GetDescriptionHash() []byte {
×
265
        if x != nil {
×
266
                return x.DescriptionHash
×
267
        }
×
268
        return nil
×
269
}
270

271
func (x *AddHoldInvoiceRequest) GetExpiry() int64 {
×
272
        if x != nil {
×
273
                return x.Expiry
×
274
        }
×
275
        return 0
×
276
}
277

278
func (x *AddHoldInvoiceRequest) GetFallbackAddr() string {
×
279
        if x != nil {
×
280
                return x.FallbackAddr
×
281
        }
×
282
        return ""
×
283
}
284

285
func (x *AddHoldInvoiceRequest) GetCltvExpiry() uint64 {
×
286
        if x != nil {
×
287
                return x.CltvExpiry
×
288
        }
×
289
        return 0
×
290
}
291

292
func (x *AddHoldInvoiceRequest) GetRouteHints() []*lnrpc.RouteHint {
×
293
        if x != nil {
×
294
                return x.RouteHints
×
295
        }
×
296
        return nil
×
297
}
298

299
func (x *AddHoldInvoiceRequest) GetPrivate() bool {
×
300
        if x != nil {
×
301
                return x.Private
×
302
        }
×
303
        return false
×
304
}
305

306
type AddHoldInvoiceResp struct {
307
        state         protoimpl.MessageState
308
        sizeCache     protoimpl.SizeCache
309
        unknownFields protoimpl.UnknownFields
310

311
        // A bare-bones invoice for a payment within the Lightning Network. With the
312
        // details of the invoice, the sender has all the data necessary to send a
313
        // payment to the recipient.
314
        PaymentRequest string `protobuf:"bytes,1,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
315
        // The "add" index of this invoice. Each newly created invoice will increment
316
        // this index making it monotonically increasing. Callers to the
317
        // SubscribeInvoices call can use this to instantly get notified of all added
318
        // invoices with an add_index greater than this one.
319
        AddIndex uint64 `protobuf:"varint,2,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"`
320
        // The payment address of the generated invoice. This is also called
321
        // the payment secret in specifications (e.g. BOLT 11). This value should
322
        // be used in all payments for this invoice as we require it for end to end
323
        // security.
324
        PaymentAddr []byte `protobuf:"bytes,3,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
325
}
326

327
func (x *AddHoldInvoiceResp) Reset() {
×
328
        *x = AddHoldInvoiceResp{}
×
329
        if protoimpl.UnsafeEnabled {
×
330
                mi := &file_invoicesrpc_invoices_proto_msgTypes[3]
×
331
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
332
                ms.StoreMessageInfo(mi)
×
333
        }
×
334
}
335

336
func (x *AddHoldInvoiceResp) String() string {
×
337
        return protoimpl.X.MessageStringOf(x)
×
338
}
×
339

340
func (*AddHoldInvoiceResp) ProtoMessage() {}
×
341

342
func (x *AddHoldInvoiceResp) ProtoReflect() protoreflect.Message {
×
343
        mi := &file_invoicesrpc_invoices_proto_msgTypes[3]
×
344
        if protoimpl.UnsafeEnabled && x != nil {
×
345
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
346
                if ms.LoadMessageInfo() == nil {
×
347
                        ms.StoreMessageInfo(mi)
×
348
                }
×
349
                return ms
×
350
        }
351
        return mi.MessageOf(x)
×
352
}
353

354
// Deprecated: Use AddHoldInvoiceResp.ProtoReflect.Descriptor instead.
355
func (*AddHoldInvoiceResp) Descriptor() ([]byte, []int) {
×
356
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{3}
×
357
}
×
358

359
func (x *AddHoldInvoiceResp) GetPaymentRequest() string {
×
360
        if x != nil {
×
361
                return x.PaymentRequest
×
362
        }
×
363
        return ""
×
364
}
365

366
func (x *AddHoldInvoiceResp) GetAddIndex() uint64 {
×
367
        if x != nil {
×
368
                return x.AddIndex
×
369
        }
×
370
        return 0
×
371
}
372

373
func (x *AddHoldInvoiceResp) GetPaymentAddr() []byte {
×
374
        if x != nil {
×
375
                return x.PaymentAddr
×
376
        }
×
377
        return nil
×
378
}
379

380
type SettleInvoiceMsg struct {
381
        state         protoimpl.MessageState
382
        sizeCache     protoimpl.SizeCache
383
        unknownFields protoimpl.UnknownFields
384

385
        // Externally discovered pre-image that should be used to settle the hold
386
        // invoice.
387
        Preimage []byte `protobuf:"bytes,1,opt,name=preimage,proto3" json:"preimage,omitempty"`
388
}
389

390
func (x *SettleInvoiceMsg) Reset() {
×
391
        *x = SettleInvoiceMsg{}
×
392
        if protoimpl.UnsafeEnabled {
×
393
                mi := &file_invoicesrpc_invoices_proto_msgTypes[4]
×
394
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
395
                ms.StoreMessageInfo(mi)
×
396
        }
×
397
}
398

399
func (x *SettleInvoiceMsg) String() string {
×
400
        return protoimpl.X.MessageStringOf(x)
×
401
}
×
402

403
func (*SettleInvoiceMsg) ProtoMessage() {}
×
404

405
func (x *SettleInvoiceMsg) ProtoReflect() protoreflect.Message {
×
406
        mi := &file_invoicesrpc_invoices_proto_msgTypes[4]
×
407
        if protoimpl.UnsafeEnabled && x != nil {
×
408
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
409
                if ms.LoadMessageInfo() == nil {
×
410
                        ms.StoreMessageInfo(mi)
×
411
                }
×
412
                return ms
×
413
        }
414
        return mi.MessageOf(x)
×
415
}
416

417
// Deprecated: Use SettleInvoiceMsg.ProtoReflect.Descriptor instead.
418
func (*SettleInvoiceMsg) Descriptor() ([]byte, []int) {
×
419
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{4}
×
420
}
×
421

422
func (x *SettleInvoiceMsg) GetPreimage() []byte {
×
423
        if x != nil {
×
424
                return x.Preimage
×
425
        }
×
426
        return nil
×
427
}
428

429
type SettleInvoiceResp struct {
430
        state         protoimpl.MessageState
431
        sizeCache     protoimpl.SizeCache
432
        unknownFields protoimpl.UnknownFields
433
}
434

435
func (x *SettleInvoiceResp) Reset() {
×
436
        *x = SettleInvoiceResp{}
×
437
        if protoimpl.UnsafeEnabled {
×
438
                mi := &file_invoicesrpc_invoices_proto_msgTypes[5]
×
439
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
440
                ms.StoreMessageInfo(mi)
×
441
        }
×
442
}
443

444
func (x *SettleInvoiceResp) String() string {
×
445
        return protoimpl.X.MessageStringOf(x)
×
446
}
×
447

448
func (*SettleInvoiceResp) ProtoMessage() {}
×
449

450
func (x *SettleInvoiceResp) ProtoReflect() protoreflect.Message {
×
451
        mi := &file_invoicesrpc_invoices_proto_msgTypes[5]
×
452
        if protoimpl.UnsafeEnabled && x != nil {
×
453
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
454
                if ms.LoadMessageInfo() == nil {
×
455
                        ms.StoreMessageInfo(mi)
×
456
                }
×
457
                return ms
×
458
        }
459
        return mi.MessageOf(x)
×
460
}
461

462
// Deprecated: Use SettleInvoiceResp.ProtoReflect.Descriptor instead.
463
func (*SettleInvoiceResp) Descriptor() ([]byte, []int) {
×
464
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{5}
×
465
}
×
466

467
type SubscribeSingleInvoiceRequest struct {
468
        state         protoimpl.MessageState
469
        sizeCache     protoimpl.SizeCache
470
        unknownFields protoimpl.UnknownFields
471

472
        // Hash corresponding to the (hold) invoice to subscribe to. When using
473
        // REST, this field must be encoded as base64url.
474
        RHash []byte `protobuf:"bytes,2,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
475
}
476

477
func (x *SubscribeSingleInvoiceRequest) Reset() {
×
478
        *x = SubscribeSingleInvoiceRequest{}
×
479
        if protoimpl.UnsafeEnabled {
×
480
                mi := &file_invoicesrpc_invoices_proto_msgTypes[6]
×
481
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
482
                ms.StoreMessageInfo(mi)
×
483
        }
×
484
}
485

486
func (x *SubscribeSingleInvoiceRequest) String() string {
×
487
        return protoimpl.X.MessageStringOf(x)
×
488
}
×
489

490
func (*SubscribeSingleInvoiceRequest) ProtoMessage() {}
×
491

492
func (x *SubscribeSingleInvoiceRequest) ProtoReflect() protoreflect.Message {
×
493
        mi := &file_invoicesrpc_invoices_proto_msgTypes[6]
×
494
        if protoimpl.UnsafeEnabled && x != nil {
×
495
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
496
                if ms.LoadMessageInfo() == nil {
×
497
                        ms.StoreMessageInfo(mi)
×
498
                }
×
499
                return ms
×
500
        }
501
        return mi.MessageOf(x)
×
502
}
503

504
// Deprecated: Use SubscribeSingleInvoiceRequest.ProtoReflect.Descriptor instead.
505
func (*SubscribeSingleInvoiceRequest) Descriptor() ([]byte, []int) {
×
506
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{6}
×
507
}
×
508

509
func (x *SubscribeSingleInvoiceRequest) GetRHash() []byte {
×
510
        if x != nil {
×
511
                return x.RHash
×
512
        }
×
513
        return nil
×
514
}
515

516
type LookupInvoiceMsg struct {
517
        state         protoimpl.MessageState
518
        sizeCache     protoimpl.SizeCache
519
        unknownFields protoimpl.UnknownFields
520

521
        // Types that are assignable to InvoiceRef:
522
        //
523
        //        *LookupInvoiceMsg_PaymentHash
524
        //        *LookupInvoiceMsg_PaymentAddr
525
        //        *LookupInvoiceMsg_SetId
526
        InvoiceRef     isLookupInvoiceMsg_InvoiceRef `protobuf_oneof:"invoice_ref"`
527
        LookupModifier LookupModifier                `protobuf:"varint,4,opt,name=lookup_modifier,json=lookupModifier,proto3,enum=invoicesrpc.LookupModifier" json:"lookup_modifier,omitempty"`
528
}
529

530
func (x *LookupInvoiceMsg) Reset() {
×
531
        *x = LookupInvoiceMsg{}
×
532
        if protoimpl.UnsafeEnabled {
×
533
                mi := &file_invoicesrpc_invoices_proto_msgTypes[7]
×
534
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
535
                ms.StoreMessageInfo(mi)
×
536
        }
×
537
}
538

539
func (x *LookupInvoiceMsg) String() string {
×
540
        return protoimpl.X.MessageStringOf(x)
×
541
}
×
542

543
func (*LookupInvoiceMsg) ProtoMessage() {}
×
544

545
func (x *LookupInvoiceMsg) ProtoReflect() protoreflect.Message {
×
546
        mi := &file_invoicesrpc_invoices_proto_msgTypes[7]
×
547
        if protoimpl.UnsafeEnabled && x != nil {
×
548
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
549
                if ms.LoadMessageInfo() == nil {
×
550
                        ms.StoreMessageInfo(mi)
×
551
                }
×
552
                return ms
×
553
        }
554
        return mi.MessageOf(x)
×
555
}
556

557
// Deprecated: Use LookupInvoiceMsg.ProtoReflect.Descriptor instead.
558
func (*LookupInvoiceMsg) Descriptor() ([]byte, []int) {
×
559
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{7}
×
560
}
×
561

562
func (m *LookupInvoiceMsg) GetInvoiceRef() isLookupInvoiceMsg_InvoiceRef {
×
563
        if m != nil {
×
564
                return m.InvoiceRef
×
565
        }
×
566
        return nil
×
567
}
568

569
func (x *LookupInvoiceMsg) GetPaymentHash() []byte {
×
570
        if x, ok := x.GetInvoiceRef().(*LookupInvoiceMsg_PaymentHash); ok {
×
571
                return x.PaymentHash
×
572
        }
×
573
        return nil
×
574
}
575

576
func (x *LookupInvoiceMsg) GetPaymentAddr() []byte {
×
577
        if x, ok := x.GetInvoiceRef().(*LookupInvoiceMsg_PaymentAddr); ok {
×
578
                return x.PaymentAddr
×
579
        }
×
580
        return nil
×
581
}
582

583
func (x *LookupInvoiceMsg) GetSetId() []byte {
×
584
        if x, ok := x.GetInvoiceRef().(*LookupInvoiceMsg_SetId); ok {
×
585
                return x.SetId
×
586
        }
×
587
        return nil
×
588
}
589

590
func (x *LookupInvoiceMsg) GetLookupModifier() LookupModifier {
×
591
        if x != nil {
×
592
                return x.LookupModifier
×
593
        }
×
594
        return LookupModifier_DEFAULT
×
595
}
596

597
type isLookupInvoiceMsg_InvoiceRef interface {
598
        isLookupInvoiceMsg_InvoiceRef()
599
}
600

601
type LookupInvoiceMsg_PaymentHash struct {
602
        // When using REST, this field must be encoded as base64.
603
        PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3,oneof"`
604
}
605

606
type LookupInvoiceMsg_PaymentAddr struct {
607
        PaymentAddr []byte `protobuf:"bytes,2,opt,name=payment_addr,json=paymentAddr,proto3,oneof"`
608
}
609

610
type LookupInvoiceMsg_SetId struct {
611
        SetId []byte `protobuf:"bytes,3,opt,name=set_id,json=setId,proto3,oneof"`
612
}
613

614
func (*LookupInvoiceMsg_PaymentHash) isLookupInvoiceMsg_InvoiceRef() {}
×
615

616
func (*LookupInvoiceMsg_PaymentAddr) isLookupInvoiceMsg_InvoiceRef() {}
×
617

618
func (*LookupInvoiceMsg_SetId) isLookupInvoiceMsg_InvoiceRef() {}
×
619

620
// CircuitKey is a unique identifier for an HTLC.
621
type CircuitKey struct {
622
        state         protoimpl.MessageState
623
        sizeCache     protoimpl.SizeCache
624
        unknownFields protoimpl.UnknownFields
625

626
        // The id of the channel that the is part of this circuit.
627
        ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
628
        // The index of the incoming htlc in the incoming channel.
629
        HtlcId uint64 `protobuf:"varint,2,opt,name=htlc_id,json=htlcId,proto3" json:"htlc_id,omitempty"`
630
}
631

632
func (x *CircuitKey) Reset() {
×
633
        *x = CircuitKey{}
×
634
        if protoimpl.UnsafeEnabled {
×
635
                mi := &file_invoicesrpc_invoices_proto_msgTypes[8]
×
636
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
637
                ms.StoreMessageInfo(mi)
×
638
        }
×
639
}
640

641
func (x *CircuitKey) String() string {
×
642
        return protoimpl.X.MessageStringOf(x)
×
643
}
×
644

645
func (*CircuitKey) ProtoMessage() {}
×
646

647
func (x *CircuitKey) ProtoReflect() protoreflect.Message {
×
648
        mi := &file_invoicesrpc_invoices_proto_msgTypes[8]
×
649
        if protoimpl.UnsafeEnabled && x != nil {
×
650
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
651
                if ms.LoadMessageInfo() == nil {
×
652
                        ms.StoreMessageInfo(mi)
×
653
                }
×
654
                return ms
×
655
        }
656
        return mi.MessageOf(x)
×
657
}
658

659
// Deprecated: Use CircuitKey.ProtoReflect.Descriptor instead.
660
func (*CircuitKey) Descriptor() ([]byte, []int) {
×
661
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{8}
×
662
}
×
663

664
func (x *CircuitKey) GetChanId() uint64 {
×
665
        if x != nil {
×
666
                return x.ChanId
×
667
        }
×
668
        return 0
×
669
}
670

671
func (x *CircuitKey) GetHtlcId() uint64 {
×
672
        if x != nil {
×
673
                return x.HtlcId
×
674
        }
×
675
        return 0
×
676
}
677

678
type HtlcModifyRequest struct {
679
        state         protoimpl.MessageState
680
        sizeCache     protoimpl.SizeCache
681
        unknownFields protoimpl.UnknownFields
682

683
        // The invoice the intercepted HTLC is attempting to settle. The HTLCs in
684
        // the invoice are only HTLCs that have already been accepted or settled,
685
        // not including the current intercepted HTLC.
686
        Invoice *lnrpc.Invoice `protobuf:"bytes,1,opt,name=invoice,proto3" json:"invoice,omitempty"`
687
        // The unique identifier of the HTLC of this intercepted HTLC.
688
        ExitHtlcCircuitKey *CircuitKey `protobuf:"bytes,2,opt,name=exit_htlc_circuit_key,json=exitHtlcCircuitKey,proto3" json:"exit_htlc_circuit_key,omitempty"`
689
        // The amount in milli-satoshi that the exit HTLC is attempting to pay.
690
        ExitHtlcAmt uint64 `protobuf:"varint,3,opt,name=exit_htlc_amt,json=exitHtlcAmt,proto3" json:"exit_htlc_amt,omitempty"`
691
        // The absolute expiry height of the exit HTLC.
692
        ExitHtlcExpiry uint32 `protobuf:"varint,4,opt,name=exit_htlc_expiry,json=exitHtlcExpiry,proto3" json:"exit_htlc_expiry,omitempty"`
693
        // The current block height.
694
        CurrentHeight uint32 `protobuf:"varint,5,opt,name=current_height,json=currentHeight,proto3" json:"current_height,omitempty"`
695
        // The wire message custom records of the exit HTLC.
696
        ExitHtlcWireCustomRecords map[uint64][]byte `protobuf:"bytes,6,rep,name=exit_htlc_wire_custom_records,json=exitHtlcWireCustomRecords,proto3" json:"exit_htlc_wire_custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
697
}
698

699
func (x *HtlcModifyRequest) Reset() {
×
700
        *x = HtlcModifyRequest{}
×
701
        if protoimpl.UnsafeEnabled {
×
702
                mi := &file_invoicesrpc_invoices_proto_msgTypes[9]
×
703
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
704
                ms.StoreMessageInfo(mi)
×
705
        }
×
706
}
707

708
func (x *HtlcModifyRequest) String() string {
×
709
        return protoimpl.X.MessageStringOf(x)
×
710
}
×
711

712
func (*HtlcModifyRequest) ProtoMessage() {}
×
713

714
func (x *HtlcModifyRequest) ProtoReflect() protoreflect.Message {
×
715
        mi := &file_invoicesrpc_invoices_proto_msgTypes[9]
×
716
        if protoimpl.UnsafeEnabled && x != nil {
×
717
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
718
                if ms.LoadMessageInfo() == nil {
×
719
                        ms.StoreMessageInfo(mi)
×
720
                }
×
721
                return ms
×
722
        }
723
        return mi.MessageOf(x)
×
724
}
725

726
// Deprecated: Use HtlcModifyRequest.ProtoReflect.Descriptor instead.
727
func (*HtlcModifyRequest) Descriptor() ([]byte, []int) {
×
728
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{9}
×
729
}
×
730

731
func (x *HtlcModifyRequest) GetInvoice() *lnrpc.Invoice {
×
732
        if x != nil {
×
733
                return x.Invoice
×
734
        }
×
735
        return nil
×
736
}
737

738
func (x *HtlcModifyRequest) GetExitHtlcCircuitKey() *CircuitKey {
×
739
        if x != nil {
×
740
                return x.ExitHtlcCircuitKey
×
741
        }
×
742
        return nil
×
743
}
744

745
func (x *HtlcModifyRequest) GetExitHtlcAmt() uint64 {
×
746
        if x != nil {
×
747
                return x.ExitHtlcAmt
×
748
        }
×
749
        return 0
×
750
}
751

752
func (x *HtlcModifyRequest) GetExitHtlcExpiry() uint32 {
×
753
        if x != nil {
×
754
                return x.ExitHtlcExpiry
×
755
        }
×
756
        return 0
×
757
}
758

759
func (x *HtlcModifyRequest) GetCurrentHeight() uint32 {
×
760
        if x != nil {
×
761
                return x.CurrentHeight
×
762
        }
×
763
        return 0
×
764
}
765

766
func (x *HtlcModifyRequest) GetExitHtlcWireCustomRecords() map[uint64][]byte {
×
767
        if x != nil {
×
768
                return x.ExitHtlcWireCustomRecords
×
769
        }
×
770
        return nil
×
771
}
772

773
type HtlcModifyResponse struct {
774
        state         protoimpl.MessageState
775
        sizeCache     protoimpl.SizeCache
776
        unknownFields protoimpl.UnknownFields
777

778
        // The circuit key of the HTLC that the client wants to modify.
779
        CircuitKey *CircuitKey `protobuf:"bytes,1,opt,name=circuit_key,json=circuitKey,proto3" json:"circuit_key,omitempty"`
780
        // The modified amount in milli-satoshi that the exit HTLC is paying. This
781
        // value can be different from the actual on-chain HTLC amount, in case the
782
        // HTLC carries other valuable items, as can be the case with custom channel
783
        // types.
784
        AmtPaid *uint64 `protobuf:"varint,2,opt,name=amt_paid,json=amtPaid,proto3,oneof" json:"amt_paid,omitempty"`
785
        // This flag indicates whether the HTLCs associated with the invoices should
786
        // be cancelled. The interceptor client may set this field if some
787
        // unexpected behavior is encountered. Setting this will ignore the amt_paid
788
        // field.
789
        CancelSet bool `protobuf:"varint,3,opt,name=cancel_set,json=cancelSet,proto3" json:"cancel_set,omitempty"`
790
}
791

792
func (x *HtlcModifyResponse) Reset() {
×
793
        *x = HtlcModifyResponse{}
×
794
        if protoimpl.UnsafeEnabled {
×
795
                mi := &file_invoicesrpc_invoices_proto_msgTypes[10]
×
796
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
797
                ms.StoreMessageInfo(mi)
×
798
        }
×
799
}
800

801
func (x *HtlcModifyResponse) String() string {
×
802
        return protoimpl.X.MessageStringOf(x)
×
803
}
×
804

805
func (*HtlcModifyResponse) ProtoMessage() {}
×
806

807
func (x *HtlcModifyResponse) ProtoReflect() protoreflect.Message {
×
808
        mi := &file_invoicesrpc_invoices_proto_msgTypes[10]
×
809
        if protoimpl.UnsafeEnabled && x != nil {
×
810
                ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
×
811
                if ms.LoadMessageInfo() == nil {
×
812
                        ms.StoreMessageInfo(mi)
×
813
                }
×
814
                return ms
×
815
        }
816
        return mi.MessageOf(x)
×
817
}
818

819
// Deprecated: Use HtlcModifyResponse.ProtoReflect.Descriptor instead.
820
func (*HtlcModifyResponse) Descriptor() ([]byte, []int) {
×
821
        return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{10}
×
822
}
×
823

824
func (x *HtlcModifyResponse) GetCircuitKey() *CircuitKey {
×
825
        if x != nil {
×
826
                return x.CircuitKey
×
827
        }
×
828
        return nil
×
829
}
830

831
func (x *HtlcModifyResponse) GetAmtPaid() uint64 {
×
832
        if x != nil && x.AmtPaid != nil {
×
833
                return *x.AmtPaid
×
834
        }
×
835
        return 0
×
836
}
837

838
func (x *HtlcModifyResponse) GetCancelSet() bool {
×
839
        if x != nil {
×
840
                return x.CancelSet
×
841
        }
×
842
        return false
×
843
}
844

845
var File_invoicesrpc_invoices_proto protoreflect.FileDescriptor
846

847
var file_invoicesrpc_invoices_proto_rawDesc = []byte{
848
        0x0a, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e,
849
        0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x69, 0x6e,
850
        0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x1a, 0x0f, 0x6c, 0x69, 0x67, 0x68, 0x74,
851
        0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x10, 0x43, 0x61,
852
        0x6e, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x21,
853
        0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01,
854
        0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73,
855
        0x68, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x76, 0x6f, 0x69,
856
        0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0xca, 0x02, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x48, 0x6f,
857
        0x6c, 0x64, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
858
        0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
859
        0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01,
860
        0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
861
        0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d,
862
        0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01,
863
        0x28, 0x03, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x29, 0x0a,
864
        0x10, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73,
865
        0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
866
        0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69,
867
        0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79,
868
        0x12, 0x23, 0x0a, 0x0d, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x61, 0x64, 0x64,
869
        0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63,
870
        0x6b, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x65, 0x78,
871
        0x70, 0x69, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x6c, 0x74, 0x76,
872
        0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f,
873
        0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x6e,
874
        0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x72,
875
        0x6f, 0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69,
876
        0x76, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76,
877
        0x61, 0x74, 0x65, 0x22, 0x7d, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x49, 0x6e,
878
        0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79,
879
        0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01,
880
        0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
881
        0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
882
        0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x64, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12,
883
        0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18,
884
        0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64,
885
        0x64, 0x72, 0x22, 0x2e, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f,
886
        0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61,
887
        0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61,
888
        0x67, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f,
889
        0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x3c, 0x0a, 0x1d, 0x53, 0x75, 0x62, 0x73, 0x63,
890
        0x72, 0x69, 0x62, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63,
891
        0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x5f, 0x68, 0x61,
892
        0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x48, 0x61, 0x73, 0x68, 0x4a,
893
        0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0xca, 0x01, 0x0a, 0x10, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70,
894
        0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x23, 0x0a, 0x0c, 0x70, 0x61,
895
        0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
896
        0x48, 0x00, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12,
897
        0x23, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18,
898
        0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
899
        0x41, 0x64, 0x64, 0x72, 0x12, 0x17, 0x0a, 0x06, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03,
900
        0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x44, 0x0a,
901
        0x0f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72,
902
        0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
903
        0x73, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4d, 0x6f, 0x64, 0x69, 0x66,
904
        0x69, 0x65, 0x72, 0x52, 0x0e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4d, 0x6f, 0x64, 0x69, 0x66,
905
        0x69, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x5f, 0x72,
906
        0x65, 0x66, 0x22, 0x3e, 0x0a, 0x0a, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x4b, 0x65, 0x79,
907
        0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
908
        0x04, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x74, 0x6c,
909
        0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x74, 0x6c, 0x63,
910
        0x49, 0x64, 0x22, 0xcd, 0x03, 0x0a, 0x11, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x6f, 0x64, 0x69, 0x66,
911
        0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x07, 0x69, 0x6e, 0x76, 0x6f,
912
        0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
913
        0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x07, 0x69, 0x6e, 0x76, 0x6f, 0x69,
914
        0x63, 0x65, 0x12, 0x4a, 0x0a, 0x15, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f,
915
        0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
916
        0x0b, 0x32, 0x17, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e,
917
        0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x12, 0x65, 0x78, 0x69, 0x74,
918
        0x48, 0x74, 0x6c, 0x63, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x22,
919
        0x0a, 0x0d, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x61, 0x6d, 0x74, 0x18,
920
        0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x48, 0x74, 0x6c, 0x63, 0x41,
921
        0x6d, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f,
922
        0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x65, 0x78,
923
        0x69, 0x74, 0x48, 0x74, 0x6c, 0x63, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e,
924
        0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05,
925
        0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x69,
926
        0x67, 0x68, 0x74, 0x12, 0x7f, 0x0a, 0x1d, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x68, 0x74, 0x6c, 0x63,
927
        0x5f, 0x77, 0x69, 0x72, 0x65, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x63,
928
        0x6f, 0x72, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x69, 0x6e, 0x76,
929
        0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x6f, 0x64,
930
        0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x48,
931
        0x74, 0x6c, 0x63, 0x57, 0x69, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63,
932
        0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, 0x65, 0x78, 0x69, 0x74, 0x48,
933
        0x74, 0x6c, 0x63, 0x57, 0x69, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63,
934
        0x6f, 0x72, 0x64, 0x73, 0x1a, 0x4c, 0x0a, 0x1e, 0x45, 0x78, 0x69, 0x74, 0x48, 0x74, 0x6c, 0x63,
935
        0x57, 0x69, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
936
        0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
937
        0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
938
        0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
939
        0x38, 0x01, 0x22, 0x9a, 0x01, 0x0a, 0x12, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x6f, 0x64, 0x69, 0x66,
940
        0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x63, 0x69, 0x72,
941
        0x63, 0x75, 0x69, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
942
        0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x69, 0x72,
943
        0x63, 0x75, 0x69, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x0a, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74,
944
        0x4b, 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x08, 0x61, 0x6d, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x64, 0x18,
945
        0x02, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x07, 0x61, 0x6d, 0x74, 0x50, 0x61, 0x69, 0x64,
946
        0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x5f, 0x73, 0x65,
947
        0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x53,
948
        0x65, 0x74, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x61, 0x6d, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x64, 0x2a,
949
        0x44, 0x0a, 0x0e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65,
950
        0x72, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x11,
951
        0x0a, 0x0d, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10,
952
        0x01, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x45, 0x54, 0x5f, 0x42, 0x4c,
953
        0x41, 0x4e, 0x4b, 0x10, 0x02, 0x32, 0xf0, 0x03, 0x0a, 0x08, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63,
954
        0x65, 0x73, 0x12, 0x56, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53,
955
        0x69, 0x6e, 0x67, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x2a, 0x2e, 0x69,
956
        0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63,
957
        0x72, 0x69, 0x62, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63,
958
        0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
959
        0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0d, 0x43, 0x61,
960
        0x6e, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x69, 0x6e,
961
        0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c,
962
        0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x1a, 0x1e, 0x2e, 0x69, 0x6e, 0x76,
963
        0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49,
964
        0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x0e, 0x41, 0x64,
965
        0x64, 0x48, 0x6f, 0x6c, 0x64, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x69,
966
        0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x6f,
967
        0x6c, 0x64, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
968
        0x1a, 0x1f, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x41,
969
        0x64, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73,
970
        0x70, 0x12, 0x4e, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69,
971
        0x63, 0x65, 0x12, 0x1d, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63,
972
        0x2e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73,
973
        0x67, 0x1a, 0x1e, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e,
974
        0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73,
975
        0x70, 0x12, 0x40, 0x0a, 0x0f, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x76, 0x6f, 0x69,
976
        0x63, 0x65, 0x56, 0x32, 0x12, 0x1d, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72,
977
        0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
978
        0x4d, 0x73, 0x67, 0x1a, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f,
979
        0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x6f, 0x64, 0x69, 0x66,
980
        0x69, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70,
981
        0x63, 0x2e, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70,
982
        0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x1e, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72,
983
        0x70, 0x63, 0x2e, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71,
984
        0x75, 0x65, 0x73, 0x74, 0x28, 0x01, 0x30, 0x01, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68,
985
        0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67,
986
        0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70,
987
        0x63, 0x2f, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70,
988
        0x72, 0x6f, 0x74, 0x6f, 0x33,
989
}
990

991
var (
992
        file_invoicesrpc_invoices_proto_rawDescOnce sync.Once
993
        file_invoicesrpc_invoices_proto_rawDescData = file_invoicesrpc_invoices_proto_rawDesc
994
)
995

996
func file_invoicesrpc_invoices_proto_rawDescGZIP() []byte {
×
997
        file_invoicesrpc_invoices_proto_rawDescOnce.Do(func() {
×
998
                file_invoicesrpc_invoices_proto_rawDescData = protoimpl.X.CompressGZIP(file_invoicesrpc_invoices_proto_rawDescData)
×
999
        })
×
1000
        return file_invoicesrpc_invoices_proto_rawDescData
×
1001
}
1002

1003
var file_invoicesrpc_invoices_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1004
var file_invoicesrpc_invoices_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1005
var file_invoicesrpc_invoices_proto_goTypes = []interface{}{
1006
        (LookupModifier)(0),                   // 0: invoicesrpc.LookupModifier
1007
        (*CancelInvoiceMsg)(nil),              // 1: invoicesrpc.CancelInvoiceMsg
1008
        (*CancelInvoiceResp)(nil),             // 2: invoicesrpc.CancelInvoiceResp
1009
        (*AddHoldInvoiceRequest)(nil),         // 3: invoicesrpc.AddHoldInvoiceRequest
1010
        (*AddHoldInvoiceResp)(nil),            // 4: invoicesrpc.AddHoldInvoiceResp
1011
        (*SettleInvoiceMsg)(nil),              // 5: invoicesrpc.SettleInvoiceMsg
1012
        (*SettleInvoiceResp)(nil),             // 6: invoicesrpc.SettleInvoiceResp
1013
        (*SubscribeSingleInvoiceRequest)(nil), // 7: invoicesrpc.SubscribeSingleInvoiceRequest
1014
        (*LookupInvoiceMsg)(nil),              // 8: invoicesrpc.LookupInvoiceMsg
1015
        (*CircuitKey)(nil),                    // 9: invoicesrpc.CircuitKey
1016
        (*HtlcModifyRequest)(nil),             // 10: invoicesrpc.HtlcModifyRequest
1017
        (*HtlcModifyResponse)(nil),            // 11: invoicesrpc.HtlcModifyResponse
1018
        nil,                                   // 12: invoicesrpc.HtlcModifyRequest.ExitHtlcWireCustomRecordsEntry
1019
        (*lnrpc.RouteHint)(nil),               // 13: lnrpc.RouteHint
1020
        (*lnrpc.Invoice)(nil),                 // 14: lnrpc.Invoice
1021
}
1022
var file_invoicesrpc_invoices_proto_depIdxs = []int32{
1023
        13, // 0: invoicesrpc.AddHoldInvoiceRequest.route_hints:type_name -> lnrpc.RouteHint
1024
        0,  // 1: invoicesrpc.LookupInvoiceMsg.lookup_modifier:type_name -> invoicesrpc.LookupModifier
1025
        14, // 2: invoicesrpc.HtlcModifyRequest.invoice:type_name -> lnrpc.Invoice
1026
        9,  // 3: invoicesrpc.HtlcModifyRequest.exit_htlc_circuit_key:type_name -> invoicesrpc.CircuitKey
1027
        12, // 4: invoicesrpc.HtlcModifyRequest.exit_htlc_wire_custom_records:type_name -> invoicesrpc.HtlcModifyRequest.ExitHtlcWireCustomRecordsEntry
1028
        9,  // 5: invoicesrpc.HtlcModifyResponse.circuit_key:type_name -> invoicesrpc.CircuitKey
1029
        7,  // 6: invoicesrpc.Invoices.SubscribeSingleInvoice:input_type -> invoicesrpc.SubscribeSingleInvoiceRequest
1030
        1,  // 7: invoicesrpc.Invoices.CancelInvoice:input_type -> invoicesrpc.CancelInvoiceMsg
1031
        3,  // 8: invoicesrpc.Invoices.AddHoldInvoice:input_type -> invoicesrpc.AddHoldInvoiceRequest
1032
        5,  // 9: invoicesrpc.Invoices.SettleInvoice:input_type -> invoicesrpc.SettleInvoiceMsg
1033
        8,  // 10: invoicesrpc.Invoices.LookupInvoiceV2:input_type -> invoicesrpc.LookupInvoiceMsg
1034
        11, // 11: invoicesrpc.Invoices.HtlcModifier:input_type -> invoicesrpc.HtlcModifyResponse
1035
        14, // 12: invoicesrpc.Invoices.SubscribeSingleInvoice:output_type -> lnrpc.Invoice
1036
        2,  // 13: invoicesrpc.Invoices.CancelInvoice:output_type -> invoicesrpc.CancelInvoiceResp
1037
        4,  // 14: invoicesrpc.Invoices.AddHoldInvoice:output_type -> invoicesrpc.AddHoldInvoiceResp
1038
        6,  // 15: invoicesrpc.Invoices.SettleInvoice:output_type -> invoicesrpc.SettleInvoiceResp
1039
        14, // 16: invoicesrpc.Invoices.LookupInvoiceV2:output_type -> lnrpc.Invoice
1040
        10, // 17: invoicesrpc.Invoices.HtlcModifier:output_type -> invoicesrpc.HtlcModifyRequest
1041
        12, // [12:18] is the sub-list for method output_type
1042
        6,  // [6:12] is the sub-list for method input_type
1043
        6,  // [6:6] is the sub-list for extension type_name
1044
        6,  // [6:6] is the sub-list for extension extendee
1045
        0,  // [0:6] is the sub-list for field type_name
1046
}
1047

1048
func init() { file_invoicesrpc_invoices_proto_init() }
5✔
1049
func file_invoicesrpc_invoices_proto_init() {
5✔
1050
        if File_invoicesrpc_invoices_proto != nil {
5✔
1051
                return
×
1052
        }
×
1053
        if !protoimpl.UnsafeEnabled {
5✔
1054
                file_invoicesrpc_invoices_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
×
1055
                        switch v := v.(*CancelInvoiceMsg); i {
×
1056
                        case 0:
×
1057
                                return &v.state
×
1058
                        case 1:
×
1059
                                return &v.sizeCache
×
1060
                        case 2:
×
1061
                                return &v.unknownFields
×
1062
                        default:
×
1063
                                return nil
×
1064
                        }
1065
                }
1066
                file_invoicesrpc_invoices_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
×
1067
                        switch v := v.(*CancelInvoiceResp); i {
×
1068
                        case 0:
×
1069
                                return &v.state
×
1070
                        case 1:
×
1071
                                return &v.sizeCache
×
1072
                        case 2:
×
1073
                                return &v.unknownFields
×
1074
                        default:
×
1075
                                return nil
×
1076
                        }
1077
                }
1078
                file_invoicesrpc_invoices_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
×
1079
                        switch v := v.(*AddHoldInvoiceRequest); i {
×
1080
                        case 0:
×
1081
                                return &v.state
×
1082
                        case 1:
×
1083
                                return &v.sizeCache
×
1084
                        case 2:
×
1085
                                return &v.unknownFields
×
1086
                        default:
×
1087
                                return nil
×
1088
                        }
1089
                }
1090
                file_invoicesrpc_invoices_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
×
1091
                        switch v := v.(*AddHoldInvoiceResp); i {
×
1092
                        case 0:
×
1093
                                return &v.state
×
1094
                        case 1:
×
1095
                                return &v.sizeCache
×
1096
                        case 2:
×
1097
                                return &v.unknownFields
×
1098
                        default:
×
1099
                                return nil
×
1100
                        }
1101
                }
1102
                file_invoicesrpc_invoices_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
×
1103
                        switch v := v.(*SettleInvoiceMsg); i {
×
1104
                        case 0:
×
1105
                                return &v.state
×
1106
                        case 1:
×
1107
                                return &v.sizeCache
×
1108
                        case 2:
×
1109
                                return &v.unknownFields
×
1110
                        default:
×
1111
                                return nil
×
1112
                        }
1113
                }
1114
                file_invoicesrpc_invoices_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
×
1115
                        switch v := v.(*SettleInvoiceResp); i {
×
1116
                        case 0:
×
1117
                                return &v.state
×
1118
                        case 1:
×
1119
                                return &v.sizeCache
×
1120
                        case 2:
×
1121
                                return &v.unknownFields
×
1122
                        default:
×
1123
                                return nil
×
1124
                        }
1125
                }
1126
                file_invoicesrpc_invoices_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
×
1127
                        switch v := v.(*SubscribeSingleInvoiceRequest); i {
×
1128
                        case 0:
×
1129
                                return &v.state
×
1130
                        case 1:
×
1131
                                return &v.sizeCache
×
1132
                        case 2:
×
1133
                                return &v.unknownFields
×
1134
                        default:
×
1135
                                return nil
×
1136
                        }
1137
                }
1138
                file_invoicesrpc_invoices_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
×
1139
                        switch v := v.(*LookupInvoiceMsg); i {
×
1140
                        case 0:
×
1141
                                return &v.state
×
1142
                        case 1:
×
1143
                                return &v.sizeCache
×
1144
                        case 2:
×
1145
                                return &v.unknownFields
×
1146
                        default:
×
1147
                                return nil
×
1148
                        }
1149
                }
1150
                file_invoicesrpc_invoices_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
×
1151
                        switch v := v.(*CircuitKey); i {
×
1152
                        case 0:
×
1153
                                return &v.state
×
1154
                        case 1:
×
1155
                                return &v.sizeCache
×
1156
                        case 2:
×
1157
                                return &v.unknownFields
×
1158
                        default:
×
1159
                                return nil
×
1160
                        }
1161
                }
1162
                file_invoicesrpc_invoices_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
×
1163
                        switch v := v.(*HtlcModifyRequest); i {
×
1164
                        case 0:
×
1165
                                return &v.state
×
1166
                        case 1:
×
1167
                                return &v.sizeCache
×
1168
                        case 2:
×
1169
                                return &v.unknownFields
×
1170
                        default:
×
1171
                                return nil
×
1172
                        }
1173
                }
1174
                file_invoicesrpc_invoices_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
×
1175
                        switch v := v.(*HtlcModifyResponse); i {
×
1176
                        case 0:
×
1177
                                return &v.state
×
1178
                        case 1:
×
1179
                                return &v.sizeCache
×
1180
                        case 2:
×
1181
                                return &v.unknownFields
×
1182
                        default:
×
1183
                                return nil
×
1184
                        }
1185
                }
1186
        }
1187
        file_invoicesrpc_invoices_proto_msgTypes[7].OneofWrappers = []interface{}{
5✔
1188
                (*LookupInvoiceMsg_PaymentHash)(nil),
5✔
1189
                (*LookupInvoiceMsg_PaymentAddr)(nil),
5✔
1190
                (*LookupInvoiceMsg_SetId)(nil),
5✔
1191
        }
5✔
1192
        file_invoicesrpc_invoices_proto_msgTypes[10].OneofWrappers = []interface{}{}
5✔
1193
        type x struct{}
5✔
1194
        out := protoimpl.TypeBuilder{
5✔
1195
                File: protoimpl.DescBuilder{
5✔
1196
                        GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
5✔
1197
                        RawDescriptor: file_invoicesrpc_invoices_proto_rawDesc,
5✔
1198
                        NumEnums:      1,
5✔
1199
                        NumMessages:   12,
5✔
1200
                        NumExtensions: 0,
5✔
1201
                        NumServices:   1,
5✔
1202
                },
5✔
1203
                GoTypes:           file_invoicesrpc_invoices_proto_goTypes,
5✔
1204
                DependencyIndexes: file_invoicesrpc_invoices_proto_depIdxs,
5✔
1205
                EnumInfos:         file_invoicesrpc_invoices_proto_enumTypes,
5✔
1206
                MessageInfos:      file_invoicesrpc_invoices_proto_msgTypes,
5✔
1207
        }.Build()
5✔
1208
        File_invoicesrpc_invoices_proto = out.File
5✔
1209
        file_invoicesrpc_invoices_proto_rawDesc = nil
5✔
1210
        file_invoicesrpc_invoices_proto_goTypes = nil
5✔
1211
        file_invoicesrpc_invoices_proto_depIdxs = nil
5✔
1212
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc