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

Neptune-Crypto / neptune-core / 18707490271
75%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2025 07:44AM UTC
Jobs 1
Files 252
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

22 Oct 2025 06:31AM UTC coverage: 73.764% (-0.02%) from 73.781%
18707490271

push

github

Sword-Smith
network-security: Prevent infinite sync challenges

An attack I spotted through the logs of a node: peer connects, peer
sends a sync challenge which requires 20 blocks to be read from disk and
sent over the network, and then disconnects. Continues this forever.

To mitigate this attack, each sync challenge is now punished at 50
points reputation. So after 20 such sync challenges from the same IP
address, this IP address will be banned.

3 of 4 new or added lines in 2 files covered. (75.0%)

11 existing lines in 3 files now uncovered.

25259 of 34243 relevant lines covered (73.76%)

669670.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
56.75
-0.03% neptune-core/src/protocol/peer.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.68
-0.18% neptune-core/src/state/mempool.rs
1
87.18
0.0% neptune-core/src/state/mempool/upgrade_priority.rs
9
96.08
-2.94% neptune-core/src/protocol/consensus/type_scripts/time_lock.rs
Jobs
ID Job ID Ran Files Coverage
1 18707490271.1 22 Oct 2025 07:44AM UTC 252
73.76
GitHub Action Run
Source Files on build 18707490271
  • Tree
  • List 252
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18707490271
  • b2f10e37 on github
  • Prev Build on master (#18697919595)
  • Next Build on master (#18776722493)
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