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

lightningnetwork / lnd / 11708804368
59%
master: 65%

Build:
Build:
LAST BUILD BRANCH: bugfix/fix-peer-disconnect-log
DEFAULT BRANCH: master
Ran 06 Nov 2024 05:57PM UTC
Jobs 1
Files 833
Run time 3min
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

06 Nov 2024 05:29PM UTC coverage: 58.005% (-0.9%) from 58.869%
11708804368

Pull #9241

github

Crypt-iQ
discovery+graph: track job set dependencies in ValidationBarrier

Prior to this commit, it was rare, but possible that proper
validation order was not adhered to when using the ValidationBarrier.
This commit does two things that fix this:
- removes the concept of allow / deny. Having this in place was a
  minor optimization and removing it makes the solution simpler.
- changes the job dependency tracking to track sets of parent jobs
  rather than individual parent jobs.

As a note, the purpose of the ValidationBarrier is that it allows us
to launch gossip validation jobs in goroutines while still ensuring
that the validation order of these goroutines is adhered to when it
comes to validating ChannelAnnouncement _before_ ChannelUpdate and
_before_ NodeAnnouncement.
Pull Request #9241: [DRAFT] discovery+graph: track job set dependencies in vb

191 of 227 new or added lines in 4 files covered. (84.14%)

18870 existing lines in 236 files now uncovered.

99973 of 172352 relevant lines covered (58.01%)

25564.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
71.24
-7.93% discovery/gossiper.go
34
84.15
-11.38% graph/validation_barrier.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.73
1.81% watchtower/wtclient/queue.go
1
97.73
-2.27% chanbackup/recover.go
1
73.33
-6.67% labels/labels.go
2
82.86
-2.86% chanbackup/backupfile.go
2
95.68
-1.44% watchtower/wtpolicy/policy.go
2
81.48
-0.67% funding/batch.go
2
96.0
-2.0% watchtower/wtclient/candidate_iterator.go
2
93.19
-0.37% htlcswitch/mailbox.go
2
77.18
-1.34% channeldb/waitingproof.go
2
58.33
-8.33% htlcswitch/failure_detail.go
2
77.56
-0.3% htlcswitch/circuit_map.go
2
73.98
-1.63% htlcswitch/circuit.go
2
84.32
-0.13% channeldb/invoices.go
2
77.78
-1.71% channeldb/witness_cache.go
2
86.26
-0.95% invoices/invoice_expiry_watcher.go
2
81.48
-3.7% chanacceptor/chainedacceptor.go
2
66.67
-1.48% brontide/listener.go
2
97.48
-1.26% fn/list.go
2
78.92
-1.08% watchtower/lookout/justice_descriptor.go
2
50.0
-50.0% batch/interface.go
3
93.87
-1.42% chanfitness/chanevent.go
3
92.06
-0.36% routing/pathfind.go
3
0.0
-15.79% lncfg/config.go
3
64.0
-12.0% lnwire/update_fail_htlc.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
87.18
-7.69% lnwire/short_channel_id.go
3
63.46
-5.77% lnwire/update_fulfill_htlc.go
3
82.46
-5.26% routing/additional_edge.go
3
73.91
-4.35% lnwire/update_add_htlc.go
3
63.33
-10.0% lnwire/update_fail_malformed_htlc.go
3
13.18
0.0% watchtower/wtdb/migration8/range_index.go
3
0.0
-100.0% chainreg/chainparams.go
3
92.34
-1.15% channeldb/graph_cache.go
3
31.25
-9.38% intercepted_forward.go
3
76.36
-5.45% lnwire/revoke_and_ack.go
3
79.63
-1.85% channeldb/reports.go
3
87.57
-1.62% chainntnfs/mempool.go
3
88.89
-11.11% keychain/ecdh.go
3
86.06
-1.82% routing/probability_apriori.go
3
82.84
-0.68% channeldb/migration30/migration.go
3
84.75
-5.08% lnwire/commit_sig.go
4
83.15
-0.89% 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.52
-0.46% channeldb/payments.go
4
90.84
-0.96% internal/musig2v040/sign.go
4
34.69
-8.16% htlcswitch/hodl/flags.go
4
79.34
-1.65% watchtower/wtserver/server.go
4
67.55
-1.32% 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
88.01
-1.26% invoices/update.go
4
88.15
-1.48% aezeed/cipherseed.go
5
83.87
-4.03% lnwallet/chanfunding/canned_assembler.go
5
0.0
-100.0% lnutils/errors.go
5
68.22
-1.29% autopilot/graph.go
5
89.1
-3.21% channeldb/forwarding_log.go
5
73.03
-0.61% watchtower/wtclient/client.go
5
79.7
-1.49% macaroons/store.go
5
76.19
-7.94% chainntnfs/best_block_view.go
5
75.97
-1.14% channeldb/payment_control.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
-1.89% netann/chan_status_manager.go
6
62.5
-37.5% zpay32/hophint.go
6
73.82
-0.79% contractcourt/nursery_store.go
6
13.21
-11.32% build/config_dev.go
6
94.56
-2.51% lnwire/message.go
6
78.99
-4.35% input/size.go
6
86.96
-13.04% watchtower/wtclient/stats.go
6
0.0
-35.29% lncfg/routing.go
6
87.59
-2.26% channeldb/mp_payment.go
6
0.0
-27.27% build/log_shutdown.go
6
0.0
-100.0% lncfg/protocol_legacy_on.go
7
89.78
-3.11% routing/chainview/neutrino.go
7
29.17
-29.17% lncfg/sweeper.go
7
0.0
-58.33% lncfg/invoices.go
7
0.0
-46.67% lncfg/remotesigner.go
7
73.55
-1.01% chainntnfs/btcdnotify/btcd.go
7
73.33
-4.24% macaroons/service.go
8
86.06
-1.74% routing/result_interpretation.go
8
79.49
-20.51% graph/stats.go
8
89.52
-3.23% lnwallet/chanfunding/coin_select.go
8
84.15
-11.38% graph/validation_barrier.go
8
88.46
-7.69% watchtower/blob/type.go
9
0.0
-81.82% lncfg/gossip.go
9
79.95
-2.26% routing/missioncontrol_store.go
9
80.3
-6.82% peer/ping_manager.go
9
70.65
-1.0% contractcourt/utxonursery.go
10
73.37
-1.09% lnwallet/chancloser/chancloser.go
10
41.67
-41.67% macaroons/auth.go
10
0.0
-58.82% lnwallet/rpcwallet/healthcheck.go
10
68.47
-4.93% sweep/txgenerator.go
10
89.37
-2.42% discovery/sync_manager.go
11
27.59
-37.93% htlcswitch/linkfailure.go
11
51.75
-4.28% funding/commitment_type_negotiation.go
11
0.0
-100.0% sweeper_wallet.go
11
78.19
-4.53% routing/payment_session.go
11
77.78
-11.11% discovery/ban.go
12
0.0
-15.19% autopilot/combinedattach.go
12
87.58
-1.04% chainntnfs/txnotifier.go
13
0.0
-50.0% cmd/lnd/main.go
13
69.57
-11.3% zpay32/invoice.go
13
80.78
-4.63% chanfitness/chaneventstore.go
13
44.0
-13.0% lnwallet/errors.go
13
14.63
-31.71% build/log.go
13
87.24
-6.63% routing/control_tower.go
13
72.16
-0.71% watchtower/wtdb/client_db.go
14
90.34
-6.76% sweep/tx_input_set.go
14
81.45
-11.29% contractcourt/anchor_resolver.go
14
80.22
-5.22% invoices/invoices.go
15
80.1
-7.28% routing/blinding.go
15
81.8
-2.18% chainntnfs/neutrinonotify/neutrino.go
15
54.55
-45.45% contractcourt/htlc_lease_resolver.go
15
79.38
-4.69% internal/musig2v040/context.go
15
80.88
-7.35% sweep/walletsweep.go
15
77.57
-14.02% witness_beacon.go
15
57.45
-31.91% lnwire/custom.go
15
53.17
-11.9% input/signdescriptor.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
17
0.0
-45.95% lncfg/pprof.go
17
56.2
-4.14% tls_manager.go
17
62.14
-16.5% contractcourt/htlc_outgoing_contest_resolver.go
17
64.84
-9.34% routing/localchans/manager.go
17
35.14
-45.95% build/config.go
18
85.46
-3.15% routing/blindedpath/blinded_path.go
18
54.55
-6.29% routing/probability_bimodal.go
19
80.1
-4.56% contractcourt/taproot_briefcase.go
19
30.3
-57.58% build/version.go
19
32.08
-35.85% keychain/signer.go
19
72.87
-5.99% channeldb/migration30/revocation_log.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
20
84.03
-2.19% discovery/syncer.go
21
72.83
-22.83% input/taproot.go
21
58.33
-35.0% contractcourt/breach_resolver.go
21
81.74
-3.09% lnwire/onion_error.go
21
61.21
-3.74% watchtower/wtclient/manager.go
21
87.87
-2.93% routing/payment_lifecycle.go
21
74.22
-9.33% lncfg/address.go
22
78.38
-3.7% fn/option.go
22
0.0
-62.86% chainreg/taproot_check.go
24
43.59
-30.77% channeldb/options.go
26
45.8
-19.85% lnwallet/interface.go
28
39.29
-33.33% htlcswitch/hop/error_encryptor.go
29
74.62
-5.58% lnwallet/reservation.go
29
0.0
-13.12% autopilot/manager.go
31
12.5
-64.58% watchtower/conf.go
31
0.0
-81.58% channeldb/graphsession/graph_session.go
32
74.13
-11.19% chanacceptor/rpcacceptor.go
32
0.0
-94.12% netann/node_announcement.go
34
76.44
-19.54% routing/missioncontrol_state.go
35
45.99
-25.55% brontide/conn.go
35
5.45
-63.64% build/logrotator.go
37
30.49
-45.12% channelnotifier/channelnotifier.go
37
14.46
-44.58% lnwallet/btcwallet/blockchain.go
37
0.0
-90.24% peernotifier/peernotifier.go
38
54.02
-21.84% input/musig2_session_manager.go
38
64.94
-21.84% feature/manager.go
39
82.63
-5.02% lnwallet/commitment.go
40
68.99
-11.17% contractcourt/htlc_incoming_contest_resolver.go
40
0.0
-49.38% build/handler_sets.go
42
54.81
-31.11% macaroons/constraints.go
43
78.27
-4.27% channeldb/db.go
43
68.21
-15.36% keychain/btcwallet.go
45
59.0
-18.83% htlcswitch/decayedlog.go
45
34.06
-8.86% lnwallet/chainfee/estimator.go
46
66.67
-15.03% lnwallet/chanfunding/psbt_assembler.go
46
40.71
-32.86% build/sub_logger.go
48
72.86
-13.71% lnwallet/chanfunding/wallet_assembler.go
50
70.65
-10.87% htlcswitch/interceptable_switch.go
51
84.23
-2.77% input/script_utils.go
52
0.0
-89.66% htlcswitch/sequencer.go
53
75.53
-1.7% channeldb/graph.go
54
80.31
-4.66% invoices/invoiceregistry.go
55
72.1
-8.08% chainntnfs/bitcoindnotify/bitcoind.go
55
58.04
-12.28% walletunlocker/service.go
58
77.43
-12.01% contractcourt/htlc_success_resolver.go
59
6.58
-77.63% peer/musig_chan_closer.go
64
67.05
-18.18% contractcourt/commit_sweep_resolver.go
65
61.09
-20.9% lnwallet/btcwallet/signer.go
70
0.0
-35.0% pilot.go
74
72.96
-14.71% routing/missioncontrol.go
84
67.96
-20.39% aliasmgr/aliasmgr.go
84
0.0
-67.74% signal/signal.go
85
0.0
-62.04% watchtower/standalone.go
85
74.45
-3.33% channeldb/channel.go
87
38.25
-30.53% input/musig2.go
92
0.0
-88.46% channel_notifier.go
108
6.67
-90.0% log.go
108
4.44
-20.85% lncfg/db.go
109
69.78
-9.58% graph/builder.go
133
50.59
-31.59% lnwallet/btcwallet/psbt.go
134
75.44
-12.51% routing/router.go
147
46.6
-50.0% input/input.go
150
0.0
-81.52% discovery/chan_series.go
154
82.96
-2.49% lnwallet/channel.go
159
74.84
-17.4% sweep/fee_bumper.go
165
67.37
-21.8% contractcourt/htlc_timeout_resolver.go
165
0.0
-73.33% chanrestore.go
168
77.04
-9.01% contractcourt/channel_arbitrator.go
168
69.44
-12.58% contractcourt/breach_arbitrator.go
175
0.0
-36.16% chainreg/chainregistry.go
177
71.24
-7.93% discovery/gossiper.go
182
52.55
-18.18% contractcourt/briefcase.go
189
38.01
-40.82% htlcswitch/hop/iterator.go
192
67.19
-11.17% lnwallet/wallet.go
205
68.17
-5.89% funding/manager.go
209
33.7
-45.73% input/witnessgen.go
214
59.7
-18.79% lnwallet/btcwallet/btcwallet.go
219
5.59
-72.04% rpcperms/middleware_handler.go
219
56.06
-26.29% contractcourt/chain_watcher.go
220
71.88
-11.54% htlcswitch/switch.go
247
0.0
-94.27% subrpcserver_config.go
278
39.48
-40.06% contractcourt/chain_arbitrator.go
278
69.8
-10.85% htlcswitch/link.go
448
21.09
-32.46% config.go
448
43.79
-46.38% sweep/sweeper.go
460
0.0
-63.89% lnd.go
517
0.0
-82.59% rpcperms/interceptor.go
628
0.0
-67.75% config_builder.go
661
0.0
-72.48% lnwallet/rpcwallet/rpcwallet.go
1015
39.73
-37.95% peer/brontide.go
2174
0.29
-63.42% server.go
4050
6.63
-64.22% rpcserver.go
Jobs
ID Job ID Ran Files Coverage
1 unit - 11708804368.1 06 Nov 2024 05:57PM UTC 833
58.01
GitHub Action Run
Source Files on build 11708804368
  • Tree
  • List 833
  • Changed 220
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #9241
  • PR Base - master (#11691553317)
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