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

spesmilo / electrum / 10399
63%

Build:
DEFAULT BRANCH: master
Ran 21 Jun 2020 09:41AM UTC
Jobs 3
Files 62
Run time 16s
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
10399

push

travis-ci

SomberNight
network: smarter switch_unwanted_fork_interface

Previously this function would not switch to a different chain if the
current chain contained the preferred block. This was not the intended
behaviour: if there is a *stronger* chain that *also* contains the
preferred block, we should jump to that.

Note that with this commit there will now always be a preferred block
(defaults to genesis). Previously, it might seem that often there was none,
but actually in practice if the user used the GUI context menu to switch
servers even once, there was one (usually genesis).

Hence, with the old code, if an attacker mined a single header which
then got reorged, auto_connect clients which were connected to the
attacker's server would never switch servers (jump chains) even
without the user explicitly configuring preference for the stale branch.

13485 of 23416 relevant lines covered (57.59%)

1.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10399.1 21 Jun 2020 09:41AM UTC 0
57.53
Travis Job 10399.1
2 10399.2 21 Jun 2020 09:41AM UTC 0
57.53
Travis Job 10399.2
3 10399.3 21 Jun 2020 09:41AM UTC 0
57.77
Travis Job 10399.3
Source Files on build 10399
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10399
  • 2eec7e16 on github
  • Prev Build on master (#10398)
  • Next Build on master (#10401)
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