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

Neptune-Crypto / neptune-core / 18163284424
75%

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

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

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.68
-0.18% neptune-core/src/state/mempool.rs
4
92.66
-0.3% neptune-core/src/util_types/mutator_set/removal_record/removal_record_list.rs
10
86.25
-2.7% neptune-core/src/application/loops/connect_to_peers.rs
27
67.44
3.34% neptune-core/src/protocol/peer/peer_info.rs
39
59.74
-3.35% neptune-core/src/application/loops/main_loop.rs
222
66.64
-0.08% neptune-core/src/application/loops/peer_loop.rs
Jobs
ID Job ID Ran Files Coverage
1 18163284424.1 01 Oct 2025 02:16PM UTC 240
73.63
GitHub Action Run
Source Files on build 18163284424
  • Tree
  • List 240
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18163284424
  • 7e7091ba on github
  • Prev Build on master (#18163190702)
  • Next Build on master (#18163259167)
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