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

BitMEXResearch / forkmonitor / 631
87%

Build:
DEFAULT BRANCH: master
Ran 16 May 2020 11:15AM UTC
Jobs 1
Files 97
Run time 6s
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
631

push

travis-ci

Sjors
Use key?(:name) instead of [:name].present?

false.present? == false

This led to a bug in Bcash nodes.

For very old nodes that don't have a "initialblockdownload" field, there is a fallback mechanism that checks the "verificationprogress" field if that's missing.

This fallback was triggered by: blockchaininfo["initialblockdownload"].present?

Unfortutunately when  initialblockdownload is false, it would trigger the fallback, because of the above misunderstanding.

Normally that isn't a problem, but the verificationprogress is very sensitive. This is to prevent freshly added nodes from showing up as behind, and triggering alerts, instead of showing as syncing.

When there was a hard fork on bcash, the node would show a lack of progress. This is either due to an error in the progress meaurement, or  because it considers the longest header in existence, even if that's invalid. This caused the site to think the node was still syncing.

3423 of 3796 relevant lines covered (90.17%)

57.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 631.1 (2.7.1) 16 May 2020 01:59PM UTC 0
90.17
Travis Job 631.1
Source Files on build 631
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #631
  • 85da2d5b on github
  • Prev Build on master (#630)
  • Next Build on master (#632)
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