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

spesmilo / electrum / 11709
63%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2021 04:42PM UTC
Jobs 3
Files 70
Run time 20s
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

pending completion
11709

push

travis-ci-com

SomberNight
wallet: make sure payment requests are persisted

Fixes: after adding a payment request, if the process was killed,
the payreq might get lost. In case of using the GUI, neither the
callee nor the caller called wallet.save_db().

Unclear where wallet.save_db() should be called...
Now each method tries to persist their changes by default,
but as an optimisation, the caller can pass write_to_disk=False
e.g. when calling multiple such methods and then call wallet.save_db() itself.

If we had partial writes, which would either rm the need for wallet.save_db()
or at least make it cheaper, this code might get simpler...

related: https://github.com/spesmilo/electrum/pull/6435
related: https://github.com/spesmilo/electrum/issues/4823

23 of 23 new or added lines in 3 files covered. (100.0%)

15655 of 26796 relevant lines covered (58.42%)

1.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11709.1 05 Jul 2021 04:42PM UTC 0
58.35
Travis Job 11709.1
2 11709.2 05 Jul 2021 04:42PM UTC 0
58.36
Travis Job 11709.2
3 11709.3 05 Jul 2021 04:42PM UTC 0
58.6
Travis Job 11709.3
Source Files on build 11709
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #11709
  • 6a049d99 on github
  • Prev Build on master (#11708)
  • Next Build on master (#11710)
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