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

spesmilo / electrum / 5034298207633408
61%
master: 63%

Build:
Build:
LAST BUILD BRANCH: fingerprint
DEFAULT BRANCH: master
Ran 21 Aug 2025 08:35AM UTC
Jobs 5
Files 88
Run time 1min
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

21 Aug 2025 08:26AM UTC coverage: 61.412% (-0.1%) from 61.516%
5034298207633408

Pull #10161

CirrusCI

ecdsa
txbatcher: be careful when removing local transactions

1. Do not remove local transaction in find_base_tx.

This logic was intended to cleanup claim transactions that are
never broadcast (for example, if the counterparty gets a refund)
(see 1bf1de36c)

However, this code is too unspecific and may result in fund loss,
because the transaction being removed may contain outgoing payments.
For example, if the electrum server is not responsive, the tx will
be seen as local and deleted. In that case, another payment will
be attempted, thus paying twice.

2. Do not remove tx after try_broadcasting returns False.

The server might be lying to us. We can only remove the local tx
if there is a base_tx, because the next tx we create will try to
spend the same output.
Pull Request #10161: txbatcher: be careful when removing local transactions

3 of 6 new or added lines in 1 file covered. (50.0%)

159 existing lines in 48 files now uncovered.

22769 of 37076 relevant lines covered (61.41%)

3.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
70.74
-2.22% electrum/txbatcher.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
45.76
-0.39% electrum/base_crash_reporter.py
1
22.03
-0.38% electrum/bip39_recovery.py
1
68.44
-0.14% electrum/blockchain.py
1
93.89
-0.36% electrum/coinchooser.py
1
80.24
-0.29% electrum/crypto.py
1
43.84
-0.09% electrum/daemon.py
1
51.89
-0.18% electrum/fee_policy.py
1
77.21
-0.36% electrum/invoices.py
1
82.92
-0.26% electrum/json_db.py
1
82.79
-0.23% electrum/lnaddr.py
1
93.07
-0.23% electrum/lnhtlc.py
1
95.34
0.01% electrum/lnonion.py
1
10.65
-0.03% electrum/lnsweep.py
1
84.41
-0.29% electrum/lntransport.py
1
37.5
-0.3% electrum/lnurl.py
1
46.98
-0.22% electrum/logging.py
1
14.44
-0.04% electrum/paymentrequest.py
1
0.0
0.0% electrum/utils/stacktracer.py
1
84.49
-0.06% electrum/wallet_db.py
2
95.32
-0.33% electrum/bitcoin.py
2
37.19
-0.63% electrum/contacts.py
2
57.63
-0.11% electrum/interface.py
2
33.06
-0.56% electrum/lnverifier.py
2
55.25
-0.2% electrum/payment_identifier.py
2
29.0
-0.29% electrum/synchronizer.py
2
41.61
-0.62% electrum/verifier.py
3
49.04
-0.12% electrum/commands.py
3
65.63
-0.2% electrum/lnchannel.py
3
28.14
-0.51% electrum/lnrater.py
3
33.86
-0.11% electrum/plugin.py
3
87.97
-0.14% electrum/transaction.py
4
55.56
-0.26% electrum/channel_db.py
4
47.56
-0.86% electrum/hw_wallet/plugin.py
4
86.4
-0.43% electrum/keystore.py
4
57.16
-0.14% electrum/lnpeer.py
4
79.57
-0.3% electrum/lnutil.py
4
38.33
-0.87% electrum/lnwatcher.py
4
51.86
0.14% electrum/lnworker.py
4
68.5
-0.51% electrum/wizard.py
5
0.0
0.0% electrum/hw_wallet/qt.py
5
67.74
-0.85% electrum/onion_message.py
6
87.21
-1.51% electrum/lnrouter.py
6
21.14
-0.13% electrum/network.py
7
22.09
-0.14% electrum/submarine_swaps.py
7
62.73
-0.42% electrum/util.py
9
70.74
-2.22% electrum/txbatcher.py
17
81.42
-2.17% electrum/address_synchronizer.py
17
67.83
-0.53% electrum/wallet.py
Jobs
ID Job ID Ran Files Coverage
1 5034298207633408.1 21 Aug 2025 08:35AM UTC 88
61.18
2 5034298207633408.2 21 Aug 2025 08:35AM UTC 88
61.33
3 5034298207633408.3 21 Aug 2025 08:36AM UTC 88
61.31
4 5034298207633408.4 21 Aug 2025 08:36AM UTC 88
61.34
5 5034298207633408.5 21 Aug 2025 08:53AM UTC 88
61.19
Source Files on build 5034298207633408
  • Tree
  • List 88
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #50342982...
  • Pull Request #10161
  • PR Base - master (#47578998...)
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