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

lightningnetwork / lnd / 13201744604
49%
master: 62%

Build:
Build:
LAST BUILD BRANCH: postgres-network-separation
DEFAULT BRANCH: master
Ran 07 Feb 2025 03:03PM UTC
Jobs 1
Files 856
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

07 Feb 2025 02:23PM UTC coverage: 57.696% (+8.4%) from 49.271%
13201744604

Pull #9447

github

yyforyongyu
sweep: rename methods for clarity

We now rename "third party" to "unknown" as the inputs can be spent via
an older sweeping tx, a third party (anchor), or a remote party (pin).
In fee bumper we don't have the info to distinguish the above cases, and
leave them to be further handled by the sweeper as it has more context.
Pull Request #9447: sweep: start tracking input spending status in the fee bumper

83 of 87 new or added lines in 2 files covered. (95.4%)

19423 existing lines in 248 files now uncovered.

103616 of 179590 relevant lines covered (57.7%)

24819.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
80.98
-7.36% sweep/fee_bumper.go

Coverage Regressions

Lines Coverage ∆ File
4055
6.58
-63.35% rpcserver.go
2249
0.28
-63.62% server.go
1027
37.47
-36.79% peer/brontide.go
661
0.0
-72.48% lnwallet/rpcwallet/rpcwallet.go
638
0.0
-65.84% config_builder.go
521
0.0
-83.23% rpcperms/interceptor.go
499
42.9
-45.86% sweep/sweeper.go
480
20.75
-33.17% config.go
431
0.0
-58.32% lnd.go
332
36.04
-43.22% contractcourt/chain_arbitrator.go
276
68.14
1.15% htlcswitch/link.go
273
0.0
-56.29% chainreg/chainregistry.go
251
0.0
-94.36% subrpcserver_config.go
238
56.74
-22.34% contractcourt/chain_watcher.go
219
5.59
-70.39% rpcperms/middleware_handler.go
215
31.51
-41.79% input/witnessgen.go
214
60.4
-11.56% lnwallet/btcwallet/btcwallet.go
212
50.92
-19.65% contractcourt/briefcase.go
207
68.11
-1.52% funding/manager.go
207
71.82
-2.82% htlcswitch/switch.go
202
74.05
-2.88% contractcourt/channel_arbitrator.go
198
70.9
-0.04% discovery/gossiper.go
192
67.19
-9.42% lnwallet/wallet.go
189
38.01
-37.8% htlcswitch/hop/iterator.go
173
0.0
-74.25% chanrestore.go
166
82.09
12.81% lnwallet/channel.go
153
69.35
-2.83% contractcourt/breach_arbitrator.go
150
0.0
-81.52% discovery/chan_series.go
144
45.78
-46.75% input/input.go
137
71.47
-16.99% contractcourt/htlc_timeout_resolver.go
133
72.92
13.91% routing/router.go
133
50.59
-16.63% lnwallet/btcwallet/psbt.go
120
80.98
-7.36% sweep/fee_bumper.go
114
73.41
1.77% channeldb/channel.go
112
6.45
-90.32% log.go
108
4.62
-20.81% lncfg/db.go
100
69.62
11.19% graph/builder.go
92
0.0
-88.46% channel_notifier.go
87
38.25
-29.47% input/musig2.go
85
0.0
-62.04% watchtower/standalone.go
84
68.27
-14.9% aliasmgr/aliasmgr.go
84
0.0
-67.74% signal/signal.go
76
72.17
-7.95% routing/missioncontrol.go
70
0.0
-35.0% pilot.go
63
61.09
-14.47% lnwallet/btcwallet/signer.go
60
79.68
-2.76% contractcourt/htlc_success_resolver.go
59
6.58
-77.63% peer/musig_chan_closer.go
58
40.71
-20.71% build/sub_logger.go
58
73.42
3.16% chainntnfs/btcdnotify/btcd.go
57
72.05
0.29% chainntnfs/bitcoindnotify/bitcoind.go
55
58.04
-3.13% walletunlocker/service.go
52
0.0
-89.66% htlcswitch/sequencer.go
51
75.57
7.44% graph/db/graph.go
51
84.23
7.72% input/script_utils.go
50
70.65
2.39% htlcswitch/interceptable_switch.go
49
66.98
-15.41% contractcourt/commit_sweep_resolver.go
49
14.46
-59.04% lnwallet/btcwallet/blockchain.go
49
0.0
-56.32% build/handler_sets.go
48
33.4
4.32% lnwallet/chainfee/estimator.go
48
72.86
-10.86% lnwallet/chanfunding/wallet_assembler.go
46
66.67
0.98% lnwallet/chanfunding/psbt_assembler.go
45
59.0
5.02% htlcswitch/decayedlog.go
43
71.97
-9.19% contractcourt/htlc_incoming_contest_resolver.go
43
68.21
-14.29% keychain/btcwallet.go
42
54.81
-0.74% macaroons/constraints.go
41
63.54
-17.13% feature/manager.go
39
82.66
8.18% invoices/invoiceregistry.go
39
82.87
-2.66% lnwallet/commitment.go
38
54.02
-21.84% input/musig2_session_manager.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
36
78.66
13.92% channeldb/db.go
36
81.83
7.94% discovery/syncer.go
35
45.99
-7.3% brontide/conn.go
35
5.45
-63.64% build/logrotator.go
34
76.44
2.87% routing/missioncontrol_state.go
32
72.11
-1.7% chanacceptor/rpcacceptor.go
32
23.73
-50.85% netann/node_announcement.go
31
0.0
-81.58% graph/graphsession/graph_session.go
31
12.5
-64.58% watchtower/conf.go
29
0.0
-13.12% autopilot/manager.go
28
39.29
-33.33% htlcswitch/hop/error_encryptor.go
27
65.21
18.73% lnwire/lnwire.go
27
83.89
-0.53% routing/blindedpath/blinded_path.go
27
0.0
-77.14% chainreg/taproot_check.go
26
45.8
-7.63% lnwallet/interface.go
25
54.93
-35.21% contractcourt/breach_resolver.go
25
62.99
-19.69% contractcourt/htlc_outgoing_contest_resolver.go
24
81.3
34.61% lnwire/onion_error.go
24
23.26
-55.81% build/version.go
24
88.07
9.88% routing/payment_lifecycle.go
24
86.38
5.05% chainntnfs/txnotifier.go
22
86.98
-1.4% sweep/tx_input_set.go
21
80.81
-2.91% chainio/dispatcher.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
20
0.0
-86.96% routing/graph.go
20
0.0
-90.91% build/handlers.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
18
77.49
1.48% invoices/invoices.go
18
58.04
51.75% routing/probability_bimodal.go
17
76.3
-12.59% contractcourt/anchor_resolver.go
17
56.2
20.92% tls_manager.go
16
64.62
-8.21% watchtower/lookout/lookout.go
16
73.47
-7.14% invoices/modification_interceptor.go
16
0.0
-44.44% lncfg/healthcheck.go
16
36.11
-44.44% build/config.go
15
0.0
-48.39% htlcswitch/linkfailure.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
13
64.86
-35.14% contractcourt/htlc_lease_resolver.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
12
0.0
-70.59% lncfg/gossip.go
12
0.0
-15.19% autopilot/combinedattach.go
12
73.15
6.3% lnwallet/chancloser/chancloser.go
12
44.83
-41.38% graph/db/options.go
11
82.23
5.92% chainntnfs/neutrinonotify/neutrino.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
10
41.67
-41.67% macaroons/auth.go
10
0.0
-58.82% lnwallet/rpcwallet/healthcheck.go
10
66.56
9.51% chainntnfs/interface.go
10
68.47
-2.96% sweep/txgenerator.go
9
14.63
-21.95% build/log.go
9
81.21
-2.48% discovery/validation_barrier.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
25.69% lnwire/message.go
8
79.49
-20.51% graph/stats.go
8
89.52
9.27% lnwallet/chanfunding/coin_select.go
8
87.92
13.04% discovery/sync_manager.go
8
88.46
13.46% watchtower/blob/type.go
7
86.85
2.08% routing/blinding.go
7
92.09
43.88% watchtower/wtpolicy/policy.go
7
80.3
2.22% routing/missioncontrol_store.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.33
2.42% macaroons/service.go
6
82.71
12.42% chanbackup/single.go
6
50.0
-21.43% lncfg/wtclient.go
6
82.97
2.21% netann/chan_status_manager.go
6
0.0
-37.5% zpay32/hophint.go
6
73.92
28.44% 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
80.3
44.7% peer/ping_manager.go
6
70.47
28.85% contractcourt/utxonursery.go
6
57.14
-42.86% lntypes/txsize.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
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
89.78
4.44% routing/chainview/neutrino.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
65.5
31.63% routing/localchans/manager.go
5
75.97
6.86% channeldb/payment_control.go
5
85.45
7.27% htlcswitch/failure.go
5
83.05
-8.47% routing/payment_session_source.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
79.37
-6.35% 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
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
4.44% sweep/fee_function.go
4
52.5
7.5% invoices/resolution_result.go
4
88.27
8.02% invoices/update.go
4
88.15
11.85% aezeed/cipherseed.go
3
89.59
2.97% graph/db/graph_cache.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
3.05% channeldb/forwarding_package.go
3
88.1
4.76% 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
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
2
78.03
9.09% chanbackup/backupfile.go
2
93.87
4.25% chanfitness/chanevent.go
2
81.48
6.4% funding/batch.go
2
73.53
19.33% channeldb/payments.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.56
11.75% htlcswitch/circuit_map.go
2
73.98
13.01% htlcswitch/circuit.go
2
84.62
-1.54% graph/notifications.go
2
95.61
50.39% watchtower/wtdb/range_index.go
2
85.71
-14.29% lnutils/log.go
2
80.15
33.09% channeldb/meta.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
1
97.83
26.09% chanbackup/recover.go
1
73.33
-6.67% labels/labels.go
Jobs
ID Job ID Ran Files Coverage
1 unit - 13201744604.1 07 Feb 2025 03:02PM UTC 856
57.7
GitHub Action Run
Source Files on build 13201744604
  • Tree
  • List 856
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #9447
  • PR Base - master (#13200749749)
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

© 2026 Coveralls, Inc