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

Neptune-Crypto / neptune-legacy / 16753606233

05 Aug 2025 02:48PM UTC coverage: 70.838% (-0.1%) from 70.951%
16753606233

push

github

aszepieniec
perf: Make redemption validation async

Specifically: if it takes more than 10 s (which it will), the task is killed by
the RPC server. So this commit modifies how validation is done.

The RPC server spawns a task for validation and returns a message to the RPC
client immediately. The spawned task will continue asynchronously, logging
progress information (or errors) to the node's log output. When the final report
is ready, it is written to a file called `redemption_report.md`.

Also: this commit simplifies the double-spending check. Instead of updating a
mutator set accumulator with every claim, we just check that all claims are
valid (and in particular, have removable removal records), and that no pair of
absolute index sets collide.

0 of 88 new or added lines in 3 files covered. (0.0%)

16 existing lines in 7 files now uncovered.

21145 of 29850 relevant lines covered (70.84%)

494208.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.43
/src/rpc_server.rs


Source Not Available

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