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

lightningnetwork / lnd / 13024155476
59%
master: 65%

Build:
Build:
LAST BUILD BRANCH: bugfix/fix-peer-disconnect-log
DEFAULT BRANCH: master
Ran 29 Jan 2025 03:49AM UTC
Jobs 4
Files 979
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jan 2025 03:25AM UTC coverage: 58.822% (+0.05%) from 58.777%
13024155476

Pull #9457

github

starius
routerrpc: add option PreventSubsequentPayment

The option is added to TrackPaymentV2's request. If it is enabled set and if the
TrackPaymentV2 call is done before starting the payment, this fails a future
payment with this payment hash.

If TrackPaymentV2 is only expected after starting a payment, you can use this
flag to enforce the order of requests.

Changes in packages. In channeldb PaymentControl gets new method
FetchOrIndalidatePayment which is similar to FetchPayment, but marks the payment
invalid (FailureReasonTracked) in case it doesn't exist. Also added new
PaymentStatus: StatusTracked. It is used for payments with FailureReasonTracked.

In package routing ControlTower gets an additional argument in method
SubscribePayment: preventSubsequentPayment. If it is enabled and the payment
hasn't started yet, it will be blocked in the future. It uses channeldb's new
method FetchOrIndalidatePayment.
Pull Request #9457: routerrpc: add option PreventSubsequentPayment to TrackPaymentV2

70 of 92 new or added lines in 6 files covered. (76.09%)

35 existing lines in 11 files now uncovered.

136178 of 231508 relevant lines covered (58.82%)

19330.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
73.59
-0.17% channeldb/payments.go
5
17.83
-0.04% lnrpc/routerrpc/router.pb.go
14
77.19
0.07% channeldb/payment_control.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.73
-0.36% watchtower/wtclient/queue.go
2
67.71
0.0% lnwallet/sigpool.go
2
98.74
-1.26% fn/v2/list.go
2
13.18
0.0% watchtower/wtdb/migration8/range_index.go
2
77.94
0.36% lnrpc/websocket_proxy.go
3
96.12
-0.78% watchtower/wtdb/range_index.go
4
83.3
-0.19% contractcourt/channel_arbitrator.go
4
84.66
-0.34% invoices/invoiceregistry.go
4
80.35
-0.58% chainntnfs/bitcoindnotify/bitcoind.go
5
88.39
-0.42% chainntnfs/txnotifier.go
6
74.04
-0.03% funding/manager.go
Jobs
ID Job ID Ran Files Coverage
1 itest-bitcoind - 13024155476.1 29 Jan 2025 03:51AM UTC 827
48.35
GitHub Action Run
2 itest-btcd - 13024155476.2 29 Jan 2025 03:48AM UTC 827
48.32
GitHub Action Run
3 unit - 13024155476.3 29 Jan 2025 03:58AM UTC 857
57.66
GitHub Action Run
4 itest-neutrino - 13024155476.4 29 Jan 2025 03:51AM UTC 827
47.95
GitHub Action Run
Source Files on build 13024155476
  • Tree
  • List 979
  • Changed 263
  • Source Changed 0
  • Coverage Changed 57
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #9457
  • PR Base - master (#12984608230)
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