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

spesmilo / electrum / 5908696527536128 / 1
59%
master: 63%

Build:
Build:
LAST BUILD BRANCH: gossip_0126
DEFAULT BRANCH: master
Ran 26 May 2025 04:50PM UTC
Files 87
Run time 2s
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.458% (-0.004%) from 59.462%
5908696527536128.1

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

21641 of 36397 relevant lines covered (59.46%)

0.59 hits per line

Source Files on job 5908696527536128.1
  • Tree
  • List 87
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5908696527536128
  • 5b5155b3 on github
  • Prev Job for on 202505_adb_get_tx_height (#5955269106073600.2)
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