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

Neptune-Crypto / neptune-core / 17975943871 / 1
75%
master: 75%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2025 01:16PM UTC
Files 240
Run time 7s
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

24 Sep 2025 12:00PM UTC coverage: 73.634% (+0.02%) from 73.613%
17975943871.1

push

github

web-flow
fix: ensure block data written before db (#703)

fixes #471

The issue was that block records were being written to DB before written to
blkXX.dat files on disk, which resulted in mis-match when power is lost during a
call to ArchivalState::store_block().  Upon startup, a SIGBUS occurs when
reading the mmap'd data.

Fixes:

1. root cause: calls mmap.flush() after writing block to ensure it is written to
disk before writing matching record to DB.

2. avoid SIGBUS: verifies we do not attempt to read past end of file.
Returns error with diagnostic info if so, which gets logged.

Co-authored-by: danda <dan-da@users.noreply.github.com>

24853 of 33752 relevant lines covered (73.63%)

641084.7 hits per line

Source Files on job 17975943871.1
  • Tree
  • List 240
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17975943871
  • 85f62003 on github
  • Prev Job for on master (#17975592845.1)
  • Next Job for on master (#18009448670.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