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

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

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

01 Oct 2025 01:11PM UTC coverage: 73.626% (-0.2%) from 73.777%
18163284424.1

push

github

Sword-Smith
refactor(peer_loop): Reduce block batch size

Reduce the number of blocks returned and requested in a batch request,
from 250 blocks to 35 blocks.

In retrospect, 250 blocks is way too much as each block is at least 1MB,
meaning that the message size is above 250MB. Such big messages cannot
be sent or received within the `INDIVIDUAL_PEER_SYNCHRONIZATION_TIMEOUT`
interval, 120 seconds, on weak connections, as the required transfer
speed is above 2MB/s, not including the time it takes for the peer to
read all the blocks from disk. This new standard size of 35 blocks only
requires a transfer speed of 290kB/s, which is probably more reasonable.

This is just an iterative improvement for initial block download. Other
important steps are the upcoming parallel downloading of blocks from
multiple peers and potentially the switch to libp2p.

Addresses #634 and #585.

24946 of 33882 relevant lines covered (73.63%)

670976.67 hits per line

Source Files on job 18163284424.1
  • Tree
  • List 240
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18163284424
  • 7e7091ba on github
  • Prev Job for on master (#18163190702.1)
  • Next Job for on master (#18163259167.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