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

lightningnetwork / lnd / 12313002221
67%

Build:
DEFAULT BRANCH: master
Ran 13 Dec 2024 09:50AM UTC
Jobs 1
Files 847
Run time 2min
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

13 Dec 2024 09:25AM UTC coverage: 57.486% (+8.6%) from 48.92%
12313002221

push

github

web-flow
Merge pull request #9343 from ellemouton/contextGuard

fn: expand the ContextGuard and add tests

101902 of 177264 relevant lines covered (57.49%)

24909.26 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.83
26.09% chanbackup/recover.go
1
73.33
-6.67% labels/labels.go
2
82.86
10.0% chanbackup/backupfile.go
2
81.48
6.4% funding/batch.go
2
96.0
17.0% watchtower/wtclient/candidate_iterator.go
2
80.0
-4.0% record/mpp.go
2
77.18
-1.34% channeldb/waitingproof.go
2
58.33
16.67% htlcswitch/failure_detail.go
2
77.11
10.54% htlcswitch/circuit_map.go
2
73.98
13.01% htlcswitch/circuit.go
2
80.15
33.09% channeldb/meta.go
2
84.32
14.55% channeldb/invoices.go
2
77.78
17.95% channeldb/witness_cache.go
2
86.26
4.27% invoices/invoice_expiry_watcher.go
2
81.48
-3.7% chanacceptor/chainedacceptor.go
2
66.67
4.44% brontide/listener.go
2
78.92
1.08% watchtower/lookout/justice_descriptor.go
2
50.0
-50.0% batch/interface.go
3
92.34
3.07% graph/db/graph_cache.go
3
93.87
3.77% chanfitness/chanevent.go
3
0.0
-15.79% lncfg/config.go
3
64.0
-12.0% lnwire/update_fail_htlc.go
3
62.5
-37.5% watchtower/wtdb/session_id.go
3
50.0
-50.0% lncfg/monitoring_off.go
3
45.45
-27.27% lncfg/rpcmiddleware.go
3
0.0
-42.86% monitoring/monitoring_off.go
3
84.21
-10.53% graph/errors.go
3
74.6
-4.76% channeldb/peers.go
3
75.15
1.63% channeldb/forwarding_package.go
3
87.18
-2.56% lnwire/short_channel_id.go
3
63.46
1.92% lnwire/update_fulfill_htlc.go
3
70.83
-4.17% lnwire/stfu.go
3
73.91
4.35% lnwire/update_add_htlc.go
3
63.33
-10.0% lnwire/update_fail_malformed_htlc.go
3
0.0
-100.0% chainreg/chainparams.go
3
83.78
8.11% lnwallet/chainfee/rates.go
3
31.25
0.0% intercepted_forward.go
3
76.36
10.91% lnwire/revoke_and_ack.go
3
86.15
-4.62% watchtower/wtdb/client_session.go
3
57.14
14.29% lntypes/txsize.go
3
79.63
-1.85% channeldb/reports.go
3
75.0
-25.0% routing/nodepair.go
3
88.89
0.0% keychain/ecdh.go
3
84.75
10.17% lnwire/commit_sig.go
4
83.15
12.86% chanbackup/single.go
4
21.43
-28.57% build/deployment.go
4
86.32
-4.21% subscribe/subscribe.go
4
0.0
-66.67% lncfg/interface.go
4
0.0
-40.0% lncfg/htlcswitch.go
4
73.53
19.1% channeldb/payments.go
4
72.34
-8.51% graph/db/models/node.go
4
90.84
8.43% internal/musig2v040/sign.go
4
34.69
-2.04% htlcswitch/hodl/flags.go
4
77.27
7.85% watchtower/wtserver/server.go
4
67.87
15.74% chainntnfs/interface.go
4
42.86
-57.14% keychain/derivation.go
4
29.03
-12.9% lncfg/cluster.go
4
61.9
-19.05% netann/node_signer.go
4
0.0
-40.0% lncfg/caches.go
4
0.0
-40.0% lncfg/chain.go
4
95.56
0.0% sweep/fee_function.go
4
51.28
11.54% invoices/resolution_result.go
4
88.01
8.2% invoices/update.go
4
88.15
11.85% aezeed/cipherseed.go
5
83.87
5.65% lnwallet/chanfunding/canned_assembler.go
5
0.0
-100.0% lnutils/errors.go
5
68.38
67.1% autopilot/graph.go
5
89.1
2.56% channeldb/forwarding_log.go
5
72.96
5.36% watchtower/wtclient/client.go
5
79.7
17.01% macaroons/store.go
5
76.19
-3.17% chainntnfs/best_block_view.go
5
75.97
6.86% channeldb/payment_control.go
5
85.45
7.27% htlcswitch/failure.go
5
68.75
-31.25% lnwire/pong.go
5
83.05
-8.47% routing/payment_session_source.go
6
50.0
-21.43% lncfg/wtclient.go
6
82.97
0.63% netann/chan_status_manager.go
6
0.0
-37.5% zpay32/hophint.go
6
73.92
16.78% contractcourt/nursery_store.go
6
13.21
-11.32% build/config_dev.go
6
0.0
-16.22% lncfg/pprof.go
6
78.99
10.14% input/size.go
6
68.0
-12.0% record/amp.go
6
0.0
-35.29% lncfg/routing.go
6
87.59
18.42% channeldb/mp_payment.go
6
87.57
-0.54% chainntnfs/mempool.go
6
0.0
-27.27% build/log_shutdown.go
6
0.0
-100.0% lncfg/protocol_legacy_on.go
7
86.85
2.08% routing/blinding.go
7
92.09
43.88% watchtower/wtpolicy/policy.go
7
29.17
-29.17% lncfg/sweeper.go
7
0.0
-58.33% lncfg/invoices.go
7
81.82
9.85% peer/ping_manager.go
7
0.0
-46.67% lncfg/remotesigner.go
7
73.33
2.42% macaroons/service.go
8
89.59
3.63% routing/pathfind.go
8
87.48
15.85% routing/result_interpretation.go
8
66.67
-11.11% channeldb/options.go
8
94.07
22.53% lnwire/message.go
8
79.49
-20.51% graph/stats.go
8
89.52
9.27% lnwallet/chanfunding/coin_select.go
8
88.46
13.46% watchtower/blob/type.go
9
0.0
-81.82% lncfg/gossip.go
9
80.3
1.72% routing/missioncontrol_store.go
9
14.63
-21.95% build/log.go
9
70.47
18.24% contractcourt/utxonursery.go
10
73.42
6.44% lnwallet/chancloser/chancloser.go
10
41.67
-41.67% macaroons/auth.go
10
0.0
-58.82% lnwallet/rpcwallet/healthcheck.go
10
68.47
-2.96% sweep/txgenerator.go
10
89.37
14.49% discovery/sync_manager.go
11
51.75
6.23% funding/commitment_type_negotiation.go
11
0.0
-100.0% sweeper_wallet.go
11
81.21
-3.03% routing/probability_apriori.go
11
77.37
2.06% routing/payment_session.go
11
77.78
35.35% discovery/ban.go
12
0.0
-15.19% autopilot/combinedattach.go
12
44.83
-41.38% graph/db/options.go
13
0.0
-50.0% cmd/lnd/main.go
13
69.57
9.57% zpay32/invoice.go
13
80.78
1.78% chanfitness/chaneventstore.go
13
40.0
14.0% lnwallet/errors.go
13
87.24
-2.04% routing/control_tower.go
13
53.17
-10.32% input/signdescriptor.go
13
72.16
13.57% watchtower/wtdb/client_db.go
14
90.34
2.42% sweep/tx_input_set.go
14
81.45
-11.29% contractcourt/anchor_resolver.go
15
79.38
14.69% internal/musig2v040/context.go
15
67.39
-19.57% watchtower/wtclient/stats.go
15
80.88
5.39% sweep/walletsweep.go
15
77.57
-14.02% witness_beacon.go
15
57.45
-31.91% lnwire/custom.go
15
65.58
24.68% routing/localchans/manager.go
16
56.76
-43.24% contractcourt/htlc_lease_resolver.go
16
64.62
-8.21% watchtower/lookout/lookout.go
16
74.26
-15.84% invoices/modification_interceptor.go
16
0.0
-44.44% lncfg/healthcheck.go
16
36.11
-44.44% build/config.go
17
0.0
-54.84% htlcswitch/linkfailure.go
17
56.2
20.92% tls_manager.go
17
63.64
-17.17% contractcourt/htlc_outgoing_contest_resolver.go
18
58.33
-30.0% contractcourt/breach_resolver.go
18
54.55
48.25% routing/probability_bimodal.go
19
79.63
-3.87% contractcourt/taproot_briefcase.go
19
32.08
-3.77% keychain/signer.go
19
0.0
-61.29% htlcswitch/hodl/config_dev.go
20
0.0
-86.96% routing/graph.go
20
0.0
-90.91% build/handlers.go
21
72.83
-19.57% input/taproot.go
21
61.21
0.36% watchtower/wtclient/manager.go
21
74.22
20.44% lncfg/address.go
22
74.25
-2.61% invoices/invoices.go
22
86.73
5.41% chainntnfs/txnotifier.go
24
81.3
34.61% lnwire/onion_error.go
24
21.74
-52.17% build/version.go
26
45.8
-7.63% lnwallet/interface.go
26
87.88
9.75% routing/payment_lifecycle.go
27
83.89
-0.53% routing/blindedpath/blinded_path.go
27
0.0
-77.14% chainreg/taproot_check.go
28
39.29
-33.33% htlcswitch/hop/error_encryptor.go
29
0.0
-13.12% autopilot/manager.go
31
0.0
-81.58% graph/graphsession/graph_session.go
31
12.5
-64.58% watchtower/conf.go
32
72.11
-1.7% chanacceptor/rpcacceptor.go
32
0.0
-94.12% netann/node_announcement.go
34
76.44
2.87% routing/missioncontrol_state.go
34
14.46
-36.14% lnwallet/btcwallet/blockchain.go
35
45.99
-7.3% brontide/conn.go
35
5.45
-63.64% build/logrotator.go
36
78.66
13.92% channeldb/db.go
37
73.08
-2.12% lnwallet/reservation.go
37
30.49
-45.12% channelnotifier/channelnotifier.go
37
0.0
-90.24% peernotifier/peernotifier.go
38
54.02
-21.84% input/musig2_session_manager.go
39
82.87
-2.66% lnwallet/commitment.go
40
69.49
-10.73% contractcourt/htlc_incoming_contest_resolver.go
40
81.62
8.1% discovery/syncer.go
41
63.54
-17.13% feature/manager.go
42
54.81
-0.74% macaroons/constraints.go
43
68.21
-14.29% keychain/btcwallet.go
45
59.0
5.02% htlcswitch/decayedlog.go
46
66.67
0.98% lnwallet/chanfunding/psbt_assembler.go
48
33.4
4.32% lnwallet/chainfee/estimator.go
48
72.86
-10.86% lnwallet/chanfunding/wallet_assembler.go
49
0.0
-56.32% build/handler_sets.go
50
70.65
2.39% htlcswitch/interceptable_switch.go
51
75.71
6.31% graph/db/graph.go
51
84.23
7.72% input/script_utils.go
51
74.43
4.17% chainntnfs/btcdnotify/btcd.go
52
80.14
6.65% invoices/invoiceregistry.go
52
0.0
-89.66% htlcswitch/sequencer.go
55
58.04
-3.13% walletunlocker/service.go
58
72.05
0.15% chainntnfs/bitcoindnotify/bitcoind.go
58
40.71
-20.71% build/sub_logger.go
59
6.58
-77.63% peer/musig_chan_closer.go
64
67.05
-18.18% contractcourt/commit_sweep_resolver.go
64
76.91
-5.36% contractcourt/htlc_success_resolver.go
65
61.09
-15.11% lnwallet/btcwallet/signer.go
70
0.0
-35.0% pilot.go
78
72.17
-8.35% routing/missioncontrol.go
84
68.27
-14.9% aliasmgr/aliasmgr.go
84
0.0
-67.74% signal/signal.go
85
0.0
-62.04% watchtower/standalone.go
87
38.25
-29.47% input/musig2.go
92
0.0
-88.46% channel_notifier.go
96
73.78
-4.12% sweep/fee_bumper.go
108
4.44
-20.85% lncfg/db.go
109
73.49
2.05% channeldb/channel.go
109
69.36
10.28% graph/builder.go
110
6.56
-90.16% log.go
133
50.59
-17.81% lnwallet/btcwallet/psbt.go
134
72.74
13.63% routing/router.go
147
44.81
-47.73% input/input.go
150
0.0
-81.52% discovery/chan_series.go
162
69.35
-3.5% contractcourt/breach_arbitrator.go
164
67.28
-19.47% contractcourt/htlc_timeout_resolver.go
165
0.0
-73.33% chanrestore.go
166
82.08
12.63% lnwallet/channel.go
180
75.21
-2.31% contractcourt/channel_arbitrator.go
189
38.01
-37.8% htlcswitch/hop/iterator.go
192
67.19
-9.42% lnwallet/wallet.go
207
68.09
-1.55% funding/manager.go
208
71.26
-1.88% discovery/gossiper.go
212
50.73
-19.73% contractcourt/briefcase.go
214
60.4
-11.04% lnwallet/btcwallet/btcwallet.go
215
31.51
-41.79% input/witnessgen.go
218
71.67
-3.78% htlcswitch/switch.go
219
5.59
-70.39% rpcperms/middleware_handler.go
221
55.89
-22.24% contractcourt/chain_watcher.go
251
0.0
-94.36% subrpcserver_config.go
258
0.0
-53.2% chainreg/chainregistry.go
278
39.37
-38.94% contractcourt/chain_arbitrator.go
286
68.04
0.61% htlcswitch/link.go
431
0.0
-58.32% lnd.go
454
42.34
-43.06% sweep/sweeper.go
481
20.7
-33.29% config.go
519
0.0
-82.91% rpcperms/interceptor.go
554
0.0
-59.19% config_builder.go
661
0.0
-72.48% lnwallet/rpcwallet/rpcwallet.go
1008
40.04
-35.55% peer/brontide.go
2192
0.29
-63.39% server.go
4094
6.58
-63.96% rpcserver.go
Jobs
ID Job ID Ran Files Coverage
1 unit - 12313002221.1 13 Dec 2024 09:50AM UTC 847
57.49
GitHub Action Run
Source Files on build 12313002221
  • Tree
  • List 847
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ff14847f on github
  • Prev Build on master (#12301186252)
  • Next Build on master (#12313602533)
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