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

lightningnetwork / lnd / 14885280210

07 May 2025 01:59PM UTC coverage: 58.038% (-11.0%) from 68.992%
14885280210

Pull #9789

github

web-flow
Merge b72813120 into 67a40c90a
Pull Request #9789: multi: use updated TLV SizeFunc signature

3 of 6 new or added lines in 2 files covered. (50.0%)

29137 existing lines in 453 files now uncovered.

96491 of 166256 relevant lines covered (58.04%)

1.22 hits per line

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

80.86
/invoices/update.go
1
package invoices
2

3
import (
4
        "bytes"
5
        "encoding/hex"
6
        "errors"
7

8
        "github.com/btcsuite/btcd/chaincfg/chainhash"
9
        "github.com/lightningnetwork/lnd/amp"
10
        "github.com/lightningnetwork/lnd/lntypes"
11
        "github.com/lightningnetwork/lnd/lnwire"
12
        "github.com/lightningnetwork/lnd/record"
13
)
14

15
// invoiceUpdateCtx is an object that describes the context for the invoice
16
// update to be carried out.
17
type invoiceUpdateCtx struct {
18
        hash                 lntypes.Hash
19
        circuitKey           CircuitKey
20
        amtPaid              lnwire.MilliSatoshi
21
        expiry               uint32
22
        currentHeight        int32
23
        finalCltvRejectDelta int32
24

25
        // wireCustomRecords are the custom records that were included with the
26
        // HTLC wire message.
27
        wireCustomRecords lnwire.CustomRecords
28

29
        // customRecords is a map of custom records that were included with the
30
        // HTLC onion payload.
31
        customRecords record.CustomSet
32

33
        mpp          *record.MPP
34
        amp          *record.AMP
35
        metadata     []byte
36
        pathID       *chainhash.Hash
37
        totalAmtMsat lnwire.MilliSatoshi
38
}
39

40
// invoiceRef returns an identifier that can be used to lookup or update the
41
// invoice this HTLC is targeting.
42
func (i *invoiceUpdateCtx) invoiceRef() InvoiceRef {
2✔
43
        switch {
2✔
44
        case i.pathID != nil:
2✔
45
                return InvoiceRefByHashAndAddr(i.hash, *i.pathID)
2✔
46

47
        case i.amp != nil && i.mpp != nil:
2✔
48
                payAddr := i.mpp.PaymentAddr()
2✔
49
                return InvoiceRefByAddr(payAddr)
2✔
50

51
        case i.mpp != nil:
2✔
52
                payAddr := i.mpp.PaymentAddr()
2✔
53
                return InvoiceRefByHashAndAddr(i.hash, payAddr)
2✔
54

55
        default:
2✔
56
                return InvoiceRefByHash(i.hash)
2✔
57
        }
58
}
59

60
// setID returns an identifier that identifies other possible HTLCs that this
61
// particular one is related to. If nil is returned this means the HTLC is an
62
// MPP or legacy payment, otherwise the HTLC belongs AMP payment.
63
func (i invoiceUpdateCtx) setID() *[32]byte {
2✔
64
        if i.amp != nil {
4✔
65
                setID := i.amp.SetID()
2✔
66
                return &setID
2✔
67
        }
2✔
68
        return nil
2✔
69
}
70

71
// log logs a message specific to this update context.
72
func (i *invoiceUpdateCtx) log(s string) {
2✔
73
        // Don't use %x in the log statement below, because it doesn't
2✔
74
        // distinguish between nil and empty metadata.
2✔
75
        metadata := "<nil>"
2✔
76
        if i.metadata != nil {
2✔
77
                metadata = hex.EncodeToString(i.metadata)
×
78
        }
×
79

80
        log.Debugf("Invoice%v: %v, amt=%v, expiry=%v, circuit=%v, mpp=%v, "+
2✔
81
                "amp=%v, metadata=%v", i.invoiceRef(), s, i.amtPaid, i.expiry,
2✔
82
                i.circuitKey, i.mpp, i.amp, metadata)
2✔
83
}
84

85
// failRes is a helper function which creates a failure resolution with
86
// the information contained in the invoiceUpdateCtx and the fail resolution
87
// result provided.
88
func (i invoiceUpdateCtx) failRes(outcome FailResolutionResult) *HtlcFailResolution {
2✔
89
        return NewFailResolution(i.circuitKey, i.currentHeight, outcome)
2✔
90
}
2✔
91

92
// settleRes is a helper function which creates a settle resolution with
93
// the information contained in the invoiceUpdateCtx and the preimage and
94
// the settle resolution result provided.
95
func (i invoiceUpdateCtx) settleRes(preimage lntypes.Preimage,
96
        outcome SettleResolutionResult) *HtlcSettleResolution {
2✔
97

2✔
98
        return NewSettleResolution(
2✔
99
                preimage, i.circuitKey, i.currentHeight, outcome,
2✔
100
        )
2✔
101
}
2✔
102

103
// acceptRes is a helper function which creates an accept resolution with
104
// the information contained in the invoiceUpdateCtx and the accept resolution
105
// result provided.
106
func (i invoiceUpdateCtx) acceptRes(
107
        outcome acceptResolutionResult) *htlcAcceptResolution {
2✔
108

2✔
109
        return newAcceptResolution(i.circuitKey, outcome)
2✔
110
}
2✔
111

112
// resolveReplayedHtlc returns the HTLC resolution for a replayed HTLC. The
113
// returned boolean indicates whether the HTLC was replayed or not.
114
func resolveReplayedHtlc(ctx *invoiceUpdateCtx, inv *Invoice) (bool,
115
        HtlcResolution, error) {
2✔
116

2✔
117
        // Don't update the invoice when this is a replayed htlc.
2✔
118
        htlc, replayedHTLC := inv.Htlcs[ctx.circuitKey]
2✔
119
        if !replayedHTLC {
4✔
120
                return false, nil, nil
2✔
121
        }
2✔
122

123
        switch htlc.State {
2✔
124
        case HtlcStateCanceled:
2✔
125
                return true, ctx.failRes(ResultReplayToCanceled), nil
2✔
126

127
        case HtlcStateAccepted:
2✔
128
                return true, ctx.acceptRes(resultReplayToAccepted), nil
2✔
129

130
        case HtlcStateSettled:
2✔
131
                pre := inv.Terms.PaymentPreimage
2✔
132

2✔
133
                // Terms.PaymentPreimage will be nil for AMP invoices.
2✔
134
                // Set it to the HTLCs AMP Preimage instead.
2✔
135
                if pre == nil {
2✔
136
                        pre = htlc.AMP.Preimage
×
137
                }
×
138

139
                return true, ctx.settleRes(
2✔
140
                        *pre,
2✔
141
                        ResultReplayToSettled,
2✔
142
                ), nil
2✔
143

144
        default:
×
145
                return true, nil, errors.New("unknown htlc state")
×
146
        }
147
}
148

149
// updateInvoice is a callback for DB.UpdateInvoice that contains the invoice
150
// settlement logic. It returns a HTLC resolution that indicates what the
151
// outcome of the update was.
152
//
153
// NOTE: Make sure replayed HTLCs are always considered before calling this
154
// function.
155
func updateInvoice(ctx *invoiceUpdateCtx, inv *Invoice) (
156
        *InvoiceUpdateDesc, HtlcResolution, error) {
2✔
157

2✔
158
        // If no MPP payload was provided, then we expect this to be a keysend,
2✔
159
        // or a payment to an invoice created before we started to require the
2✔
160
        // MPP payload.
2✔
161
        if ctx.mpp == nil && ctx.pathID == nil {
4✔
162
                return updateLegacy(ctx, inv)
2✔
163
        }
2✔
164

165
        return updateMpp(ctx, inv)
2✔
166
}
167

168
// updateMpp is a callback for DB.UpdateInvoice that contains the invoice
169
// settlement logic for mpp payments.
170
func updateMpp(ctx *invoiceUpdateCtx, inv *Invoice) (*InvoiceUpdateDesc,
171
        HtlcResolution, error) {
2✔
172

2✔
173
        // Reject HTLCs to AMP invoices if they are missing an AMP payload, and
2✔
174
        // HTLCs to MPP invoices if they have an AMP payload.
2✔
175
        switch {
2✔
176
        case inv.Terms.Features.RequiresFeature(lnwire.AMPRequired) &&
177
                ctx.amp == nil:
×
178

×
179
                return nil, ctx.failRes(ResultHtlcInvoiceTypeMismatch), nil
×
180

181
        case !inv.Terms.Features.RequiresFeature(lnwire.AMPRequired) &&
182
                ctx.amp != nil:
×
183

×
184
                return nil, ctx.failRes(ResultHtlcInvoiceTypeMismatch), nil
×
185
        }
186

187
        setID := ctx.setID()
2✔
188

2✔
189
        var (
2✔
190
                totalAmt    = ctx.totalAmtMsat
2✔
191
                paymentAddr []byte
2✔
192
        )
2✔
193
        // If an MPP record is present, then the payment address and total
2✔
194
        // payment amount is extracted from it. Otherwise, the pathID is used
2✔
195
        // to extract the payment address.
2✔
196
        if ctx.mpp != nil {
4✔
197
                totalAmt = ctx.mpp.TotalMsat()
2✔
198
                payAddr := ctx.mpp.PaymentAddr()
2✔
199
                paymentAddr = payAddr[:]
2✔
200
        } else {
4✔
201
                paymentAddr = ctx.pathID[:]
2✔
202
        }
2✔
203

204
        // For storage, we don't really care where the custom records came from.
205
        // So we merge them together and store them in the same field.
206
        customRecords := lnwire.CustomRecords(
2✔
207
                ctx.customRecords,
2✔
208
        ).MergedCopy(ctx.wireCustomRecords)
2✔
209

2✔
210
        // Start building the accept descriptor.
2✔
211
        acceptDesc := &HtlcAcceptDesc{
2✔
212
                Amt:           ctx.amtPaid,
2✔
213
                Expiry:        ctx.expiry,
2✔
214
                AcceptHeight:  ctx.currentHeight,
2✔
215
                MppTotalAmt:   totalAmt,
2✔
216
                CustomRecords: record.CustomSet(customRecords),
2✔
217
        }
2✔
218

2✔
219
        if ctx.amp != nil {
4✔
220
                acceptDesc.AMP = &InvoiceHtlcAMPData{
2✔
221
                        Record:   *ctx.amp,
2✔
222
                        Hash:     ctx.hash,
2✔
223
                        Preimage: nil,
2✔
224
                }
2✔
225
        }
2✔
226

227
        // Only accept payments to open invoices. This behaviour differs from
228
        // non-mpp payments that are accepted even after the invoice is settled.
229
        // Because non-mpp payments don't have a payment address, this is needed
230
        // to thwart probing.
231
        if inv.State != ContractOpen {
2✔
232
                return nil, ctx.failRes(ResultInvoiceNotOpen), nil
×
233
        }
×
234

235
        // Check the payment address that authorizes the payment.
236
        if !bytes.Equal(paymentAddr, inv.Terms.PaymentAddr[:]) {
4✔
237
                return nil, ctx.failRes(ResultAddressMismatch), nil
2✔
238
        }
2✔
239

240
        // Don't accept zero-valued sets.
241
        if totalAmt == 0 {
2✔
242
                return nil, ctx.failRes(ResultHtlcSetTotalTooLow), nil
×
243
        }
×
244

245
        // Check that the total amt of the htlc set is high enough. In case this
246
        // is a zero-valued invoice, it will always be enough.
247
        if totalAmt < inv.Terms.Value {
2✔
248
                return nil, ctx.failRes(ResultHtlcSetTotalTooLow), nil
×
249
        }
×
250

251
        htlcSet := inv.HTLCSet(setID, HtlcStateAccepted)
2✔
252

2✔
253
        // Check whether total amt matches other HTLCs in the set.
2✔
254
        var newSetTotal lnwire.MilliSatoshi
2✔
255
        for _, htlc := range htlcSet {
4✔
256
                if totalAmt != htlc.MppTotalAmt {
2✔
257
                        return nil, ctx.failRes(ResultHtlcSetTotalMismatch), nil
×
258
                }
×
259

260
                newSetTotal += htlc.Amt
2✔
261
        }
262

263
        // Add amount of new htlc.
264
        newSetTotal += ctx.amtPaid
2✔
265

2✔
266
        // The invoice is still open. Check the expiry.
2✔
267
        if ctx.expiry < uint32(ctx.currentHeight+ctx.finalCltvRejectDelta) {
2✔
268
                return nil, ctx.failRes(ResultExpiryTooSoon), nil
×
269
        }
×
270

271
        if ctx.expiry < uint32(ctx.currentHeight+inv.Terms.FinalCltvDelta) {
2✔
272
                return nil, ctx.failRes(ResultExpiryTooSoon), nil
×
273
        }
×
274

275
        if setID != nil && *setID == BlankPayAddr {
2✔
276
                return nil, ctx.failRes(ResultAmpError), nil
×
277
        }
×
278

279
        // Record HTLC in the invoice database.
280
        newHtlcs := map[CircuitKey]*HtlcAcceptDesc{
2✔
281
                ctx.circuitKey: acceptDesc,
2✔
282
        }
2✔
283

2✔
284
        update := InvoiceUpdateDesc{
2✔
285
                UpdateType: AddHTLCsUpdate,
2✔
286
                AddHtlcs:   newHtlcs,
2✔
287
        }
2✔
288

2✔
289
        // If the invoice cannot be settled yet, only record the htlc.
2✔
290
        setComplete := newSetTotal >= totalAmt
2✔
291
        if !setComplete {
4✔
292
                return &update, ctx.acceptRes(resultPartialAccepted), nil
2✔
293
        }
2✔
294

295
        // Check to see if we can settle or this is a hold invoice, and
296
        // we need to wait for the preimage.
297
        if inv.HodlInvoice {
4✔
298
                update.State = &InvoiceStateUpdateDesc{
2✔
299
                        NewState: ContractAccepted,
2✔
300
                }
2✔
301
                return &update, ctx.acceptRes(resultAccepted), nil
2✔
302
        }
2✔
303

304
        var (
2✔
305
                htlcPreimages map[CircuitKey]lntypes.Preimage
2✔
306
                htlcPreimage  lntypes.Preimage
2✔
307
        )
2✔
308
        if ctx.amp != nil {
4✔
309
                var failRes *HtlcFailResolution
2✔
310
                htlcPreimages, failRes = reconstructAMPPreimages(ctx, htlcSet)
2✔
311
                if failRes != nil {
2✔
UNCOV
312
                        update.UpdateType = CancelInvoiceUpdate
×
UNCOV
313
                        update.State = &InvoiceStateUpdateDesc{
×
UNCOV
314
                                NewState: ContractCanceled,
×
UNCOV
315
                                SetID:    setID,
×
UNCOV
316
                        }
×
UNCOV
317
                        return &update, failRes, nil
×
UNCOV
318
                }
×
319

320
                // The preimage for _this_ HTLC will be the one with context's
321
                // circuit key.
322
                htlcPreimage = htlcPreimages[ctx.circuitKey]
2✔
323
        } else {
2✔
324
                htlcPreimage = *inv.Terms.PaymentPreimage
2✔
325
        }
2✔
326

327
        update.State = &InvoiceStateUpdateDesc{
2✔
328
                NewState:      ContractSettled,
2✔
329
                Preimage:      inv.Terms.PaymentPreimage,
2✔
330
                HTLCPreimages: htlcPreimages,
2✔
331
                SetID:         setID,
2✔
332
        }
2✔
333

2✔
334
        return &update, ctx.settleRes(htlcPreimage, ResultSettled), nil
2✔
335
}
336

337
// HTLCSet is a map of CircuitKey to InvoiceHTLC.
338
type HTLCSet = map[CircuitKey]*InvoiceHTLC
339

340
// HTLCPreimages is a map of CircuitKey to preimage.
341
type HTLCPreimages = map[CircuitKey]lntypes.Preimage
342

343
// reconstructAMPPreimages reconstructs the root seed for an AMP HTLC set and
344
// verifies that all derived child hashes match the payment hashes of the HTLCs
345
// in the set. This method is meant to be called after receiving the full amount
346
// committed to via mpp_total_msat. This method will return a fail resolution if
347
// any of the child hashes fail to match their corresponding HTLCs.
348
func reconstructAMPPreimages(ctx *invoiceUpdateCtx,
349
        htlcSet HTLCSet) (HTLCPreimages, *HtlcFailResolution) {
2✔
350

2✔
351
        // Create a slice containing all the child descriptors to be used for
2✔
352
        // reconstruction. This should include all HTLCs currently in the HTLC
2✔
353
        // set, plus the incoming HTLC.
2✔
354
        childDescs := make([]amp.ChildDesc, 0, 1+len(htlcSet))
2✔
355

2✔
356
        // Add the new HTLC's child descriptor at index 0.
2✔
357
        childDescs = append(childDescs, amp.ChildDesc{
2✔
358
                Share: ctx.amp.RootShare(),
2✔
359
                Index: ctx.amp.ChildIndex(),
2✔
360
        })
2✔
361

2✔
362
        // Next, construct an index mapping the position in childDescs to a
2✔
363
        // circuit key for all preexisting HTLCs.
2✔
364
        indexToCircuitKey := make(map[int]CircuitKey)
2✔
365

2✔
366
        // Add the child descriptor for each HTLC in the HTLC set, recording
2✔
367
        // it's position within the slice.
2✔
368
        var htlcSetIndex int
2✔
369
        for circuitKey, htlc := range htlcSet {
4✔
370
                childDescs = append(childDescs, amp.ChildDesc{
2✔
371
                        Share: htlc.AMP.Record.RootShare(),
2✔
372
                        Index: htlc.AMP.Record.ChildIndex(),
2✔
373
                })
2✔
374
                indexToCircuitKey[htlcSetIndex] = circuitKey
2✔
375
                htlcSetIndex++
2✔
376
        }
2✔
377

378
        // Using the child descriptors, reconstruct the root seed and derive the
379
        // child hash/preimage pairs for each of the HTLCs.
380
        children := amp.ReconstructChildren(childDescs...)
2✔
381

2✔
382
        // Validate that the derived child preimages match the hash of each
2✔
383
        // HTLC's respective hash.
2✔
384
        if ctx.hash != children[0].Hash {
2✔
UNCOV
385
                return nil, ctx.failRes(ResultAmpReconstruction)
×
UNCOV
386
        }
×
387
        for idx, child := range children[1:] {
4✔
388
                circuitKey := indexToCircuitKey[idx]
2✔
389
                htlc := htlcSet[circuitKey]
2✔
390
                if htlc.AMP.Hash != child.Hash {
2✔
391
                        return nil, ctx.failRes(ResultAmpReconstruction)
×
392
                }
×
393
        }
394

395
        // Finally, construct the map of learned preimages indexed by circuit
396
        // key, so that they can be persisted along with each HTLC when updating
397
        // the invoice.
398
        htlcPreimages := make(map[CircuitKey]lntypes.Preimage)
2✔
399
        htlcPreimages[ctx.circuitKey] = children[0].Preimage
2✔
400
        for idx, child := range children[1:] {
4✔
401
                circuitKey := indexToCircuitKey[idx]
2✔
402
                htlcPreimages[circuitKey] = child.Preimage
2✔
403
        }
2✔
404

405
        return htlcPreimages, nil
2✔
406
}
407

408
// updateLegacy is a callback for DB.UpdateInvoice that contains the invoice
409
// settlement logic for legacy payments.
410
//
411
// NOTE: This function is only kept in place in order to be able to handle key
412
// send payments and any invoices we created in the past that are valid and
413
// still had the optional mpp bit set.
414
func updateLegacy(ctx *invoiceUpdateCtx,
415
        inv *Invoice) (*InvoiceUpdateDesc, HtlcResolution, error) {
2✔
416

2✔
417
        // If the invoice is already canceled, there is no further
2✔
418
        // checking to do.
2✔
419
        if inv.State == ContractCanceled {
2✔
UNCOV
420
                return nil, ctx.failRes(ResultInvoiceAlreadyCanceled), nil
×
UNCOV
421
        }
×
422

423
        // If an invoice amount is specified, check that enough is paid. Also
424
        // check this for duplicate payments if the invoice is already settled
425
        // or accepted. In case this is a zero-valued invoice, it will always be
426
        // enough.
427
        if ctx.amtPaid < inv.Terms.Value {
4✔
428
                return nil, ctx.failRes(ResultAmountTooLow), nil
2✔
429
        }
2✔
430

431
        // If the invoice had the required feature bit set at this point, then
432
        // if we're in this method it means that the remote party didn't supply
433
        // the expected payload. However if this is a keysend payment, then
434
        // we'll permit it to pass.
435
        _, isKeySend := ctx.customRecords[record.KeySendType]
2✔
436
        invoiceFeatures := inv.Terms.Features
2✔
437
        paymentAddrRequired := invoiceFeatures.RequiresFeature(
2✔
438
                lnwire.PaymentAddrRequired,
2✔
439
        )
2✔
440
        if !isKeySend && paymentAddrRequired {
2✔
UNCOV
441
                log.Warnf("Payment to pay_hash=%v doesn't include MPP "+
×
UNCOV
442
                        "payload, rejecting", ctx.hash)
×
UNCOV
443
                return nil, ctx.failRes(ResultAddressMismatch), nil
×
UNCOV
444
        }
×
445

446
        // Don't allow settling the invoice with an old style
447
        // htlc if we are already in the process of gathering an
448
        // mpp set.
449
        for _, htlc := range inv.HTLCSet(nil, HtlcStateAccepted) {
2✔
UNCOV
450
                if htlc.MppTotalAmt > 0 {
×
451
                        return nil, ctx.failRes(ResultMppInProgress), nil
×
452
                }
×
453
        }
454

455
        // The invoice is still open. Check the expiry.
456
        if ctx.expiry < uint32(ctx.currentHeight+ctx.finalCltvRejectDelta) {
2✔
UNCOV
457
                return nil, ctx.failRes(ResultExpiryTooSoon), nil
×
UNCOV
458
        }
×
459

460
        if ctx.expiry < uint32(ctx.currentHeight+inv.Terms.FinalCltvDelta) {
2✔
UNCOV
461
                return nil, ctx.failRes(ResultExpiryTooSoon), nil
×
UNCOV
462
        }
×
463

464
        // For storage, we don't really care where the custom records came from.
465
        // So we merge them together and store them in the same field.
466
        customRecords := lnwire.CustomRecords(
2✔
467
                ctx.customRecords,
2✔
468
        ).MergedCopy(ctx.wireCustomRecords)
2✔
469

2✔
470
        // Record HTLC in the invoice database.
2✔
471
        newHtlcs := map[CircuitKey]*HtlcAcceptDesc{
2✔
472
                ctx.circuitKey: {
2✔
473
                        Amt:           ctx.amtPaid,
2✔
474
                        Expiry:        ctx.expiry,
2✔
475
                        AcceptHeight:  ctx.currentHeight,
2✔
476
                        CustomRecords: record.CustomSet(customRecords),
2✔
477
                },
2✔
478
        }
2✔
479

2✔
480
        update := InvoiceUpdateDesc{
2✔
481
                AddHtlcs:   newHtlcs,
2✔
482
                UpdateType: AddHTLCsUpdate,
2✔
483
        }
2✔
484

2✔
485
        // Don't update invoice state if we are accepting a duplicate payment.
2✔
486
        // We do accept or settle the HTLC.
2✔
487
        switch inv.State {
2✔
488
        case ContractAccepted:
×
489
                return &update, ctx.acceptRes(resultDuplicateToAccepted), nil
×
490

UNCOV
491
        case ContractSettled:
×
UNCOV
492
                return &update, ctx.settleRes(
×
UNCOV
493
                        *inv.Terms.PaymentPreimage, ResultDuplicateToSettled,
×
UNCOV
494
                ), nil
×
495
        }
496

497
        // Check to see if we can settle or this is an hold invoice and we need
498
        // to wait for the preimage.
499
        if inv.HodlInvoice {
2✔
UNCOV
500
                update.State = &InvoiceStateUpdateDesc{
×
UNCOV
501
                        NewState: ContractAccepted,
×
UNCOV
502
                }
×
UNCOV
503

×
UNCOV
504
                return &update, ctx.acceptRes(resultAccepted), nil
×
UNCOV
505
        }
×
506

507
        update.State = &InvoiceStateUpdateDesc{
2✔
508
                NewState: ContractSettled,
2✔
509
                Preimage: inv.Terms.PaymentPreimage,
2✔
510
        }
2✔
511

2✔
512
        return &update, ctx.settleRes(
2✔
513
                *inv.Terms.PaymentPreimage, ResultSettled,
2✔
514
        ), nil
2✔
515
}
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