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

spesmilo / electrum / 6492984696373248
63%
master: 63%

Build:
Build:
LAST BUILD BRANCH: levelDB
DEFAULT BRANCH: master
Ran 07 Jan 2026 05:31PM UTC
Jobs 1
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

07 Jan 2026 05:15PM UTC coverage: 62.652% (-0.003%) from 62.655%
6492984696373248

Pull #10396

CirrusCI

f321x
AddressSynchronizer: invalidate balance cache on spv

There was a race incorrectly counting transactions with one
confirmations to the unconfirmed balance instead of the confirmed
balance.
This happened because the balance cache of AddressSynchronizer got
invalidated after `on_event_blockchain_updated` and then again after
`receive_history_callback`->`add_transaction`, however when calling
`AddressSynchronizer.get_balance()` before the tx got spv verified the
height would still be counted as 0 (unconfirmed), populating the balance
cache again with the unconfirmed balance.
I noticed this only on QML due to timing differences to Qt.
Invalidating the cache in `AddressSynchronizer.add_verified_tx()` after
the tx got verified causes the balance to get recalculated and shown
correctly.
Pull Request #10396: AddressSynchronizer: invalidate balance cache on spv

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

1 existing line in 1 file now uncovered.

23890 of 38131 relevant lines covered (62.65%)

0.63 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
60.35
-0.05% electrum/lnpeer.py
Jobs
ID Job ID Ran Files Coverage
1 6492984696373248.1 07 Jan 2026 05:31PM UTC 88
62.65
Source Files on build 6492984696373248
  • Tree
  • List 88
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #64929846...
  • Pull Request #10396
  • PR Base - master (#56039537...)
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