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

spesmilo / electrum / 4591543144677376
63%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2025 12:31PM UTC
Jobs 6
Files 78
Run time 46min
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

10 Jan 2025 12:24PM UTC coverage: 60.633% (-0.002%) from 60.635%
4591543144677376

push

CirrusCI

SomberNight
adb.add_transaction: try to ser-deser tx early

Previously calling add_transaction with a malformed Transaction obj could
result in an exception late in the flow, after the walletdb was already side-effected.
Rollback of such side-effects is not implemented :/
  but this small patch should at least cover and prevent some common cases.

```
File "/opt/electrum/electrum/address_synchronizer.py", line 358, in add_transaction
  self.db.add_transaction(tx_hash, tx)
File "/opt/electrum/electrum/json_db.py", line 42, in wrapper
  return func(self, *args, **kwargs)
File "/opt/electrum/electrum/wallet_db.py", line 1434, in add_transaction
  tx = tx_from_any(str(tx))
File "/opt/electrum/electrum/transaction.py", line 1339, in tx_from_any
  raise SerializationError(f"Failed to recognise tx encoding, or to parse transaction. "
```

2 of 2 new or added lines in 1 file covered. (100.0%)

7 existing lines in 4 files now uncovered.

20115 of 33175 relevant lines covered (60.63%)

3.63 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
62.97
-0.06% electrum/lnpeer.py
1
33.06
-0.28% electrum/lnverifier.py
1
19.63
-0.02% electrum/network.py
4
51.86
-0.11% electrum/lnworker.py
Jobs
ID Job ID Ran Files Coverage
1 4591543144677376.1 10 Jan 2025 12:31PM UTC 78
60.51
2 4591543144677376.2 10 Jan 2025 12:31PM UTC 78
60.48
3 4591543144677376.3 10 Jan 2025 12:32PM UTC 78
60.52
4 4591543144677376.4 10 Jan 2025 12:32PM UTC 78
60.49
5 4591543144677376.5 10 Jan 2025 12:32PM UTC 78
60.5
6 4591543144677376.6 10 Jan 2025 12:42PM UTC 78
60.52
Source Files on build 4591543144677376
  • Tree
  • List 78
  • Changed 4
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #45915431...
  • 838490fe on github
  • Prev Build on master (#59919062...)
  • Next Build on master (#57561126...)
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