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

spesmilo / electrum / 5908696527536128
59%
master: 63%

Build:
Build:
LAST BUILD BRANCH: 202601_qml_wallet_unlocked
DEFAULT BRANCH: master
Ran 26 May 2025 04:50PM UTC
Jobs 4
Files 87
Run time 10min
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

26 May 2025 04:43PM UTC coverage: 59.498% (+0.005%) from 59.493%
5908696527536128

Pull #9871

CirrusCI

SomberNight
adb.get_tx_height: return "LOCAL" height if missing full signed tx

get_tx_height previously did not consider whether the walletDB has the full tx for
the corresponding txid, and could consider a tx even "mined" and spv-ed, even if
we were missing the raw tx.
Now if the full tx is missing or the tx in the db is partial,
get_tx_height considers it to be LOCAL.

In particular the txbatcher, in `run_iteration`,
- first saves a tx as local *unsigned* (to reserve UTXOs),
- then signs it and tries to broadcast it.

The history tx will later transition to local and signed,
after we get back the broadcasted tx via the Synchronizer dance.
In the meantime there is a race where we have an unsigned tx in the history,
but the txid could already transition to mempool or even to mined,
before we download the full raw tx from the server.
During that time window, it makes the adb state more consistent
to just consider the history tx to be local, as done here.
Pull Request #9871: adb.get_tx_height: return "LOCAL" height if missing full signed tx

9 of 9 new or added lines in 2 files covered. (100.0%)

23 existing lines in 2 files now uncovered.

21659 of 36403 relevant lines covered (59.5%)

2.38 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
57.74
-0.05% electrum/lnpeer.py
22
72.14
0.0% electrum/txbatcher.py
Jobs
ID Job ID Ran Files Coverage
1 5908696527536128.1 26 May 2025 04:50PM UTC 87
59.46
2 5908696527536128.2 26 May 2025 04:52PM UTC 87
59.47
3 5908696527536128.3 26 May 2025 04:53PM UTC 87
59.46
4 5908696527536128.4 26 May 2025 04:53PM UTC 87
59.48
Source Files on build 5908696527536128
  • Tree
  • List 87
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #59086965...
  • Pull Request #9871
  • PR Base - master (#59552691...)
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