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

spesmilo / electrum / 6492984696373248 / 1
63%
master: 65%

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

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

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

23890 of 38131 relevant lines covered (62.65%)

0.63 hits per line

Source Files on job 6492984696373248.1
  • Tree
  • List 88
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6492984696373248
  • 663fcddc on github
  • Prev Job for on fix_qml_balance (#5603953779408896.1)
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