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

spesmilo / electrum / 6394929099833344
65%
master: 66%

Build:
Build:
LAST BUILD BRANCH: do_not_synchronize_on_event
DEFAULT BRANCH: master
Ran 20 Apr 2026 12:44PM UTC
Jobs 1
Files 86
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

20 Apr 2026 12:37PM UTC coverage: 64.862% (+0.02%) from 64.838%
6394929099833344

Pull #10586

CirrusCI

accumulator
qml: only use QEAmount container instead of javascript/qml (q(u))int(64)

Using javascript or QML `int` type is a long-standing issue, as there is not enough range to express millisats or even sats.
A short summary of the issues:
- integers in javascript context have a max range of +/- 2^54-1, which allows 21M BTC expressed in sats, but not in msats.
- QML `int` properties have a max range of +/- 2^31-1, which only allows 21 BTC expressed in sats, 21 mBTC expressed in msats
- `int` parameters declared in the `pyqtProperty` and `pyqtSlot` decorators have a max range of 2^31-1,
although this is somewhat alleviated in the QML->Python direction by using `q(u)int64`. Returning a `q(u)int64` does not
work around the `int` limitation

In most of the QML code, `QEAmount` is already used for storing and passing around BTC values.
The only exception is where amounts are compared (e.g. invoice amount < available balance etc),
so the `<`, `>`, `<=`, `>=` and `!=` operators, and where these operators are implied, like `Math.min()` and `Math.max()`

This commit delegates these operators to python scope.
Pull Request #10586: millisat precision

29 of 47 new or added lines in 6 files covered. (61.7%)

3 existing lines in 3 files now uncovered.

24440 of 37680 relevant lines covered (64.86%)

0.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
64.39
0.87% electrum/payment_identifier.py
2
53.05
0.0% electrum/lnurl.py
2
61.32
0.0% electrum/lnworker.py
2
70.56
-0.02% electrum/wallet.py
1
49.54
0.0% electrum/commands.py

Coverage Regressions

Lines Coverage ∆ File
1
79.17
1.07% electrum/invoices.py
1
64.39
0.87% electrum/payment_identifier.py
1
67.04
-0.07% electrum/util.py
Jobs
ID Job ID Ran Files Coverage
1 6394929099833344.1 20 Apr 2026 12:44PM UTC 86
64.86
Source Files on build 6394929099833344
  • Tree
  • List 86
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #63949290...
  • Pull Request #10586
  • PR Base - master (#52094900...)
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