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

Neptune-Crypto / neptune-core / 15727091478
75%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2025 08:37AM UTC
Jobs 1
Files 208
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

18 Jun 2025 07:52AM UTC coverage: 71.831% (+0.06%) from 71.774%
15727091478

push

github

web-flow
perf: Use archival mutator set to resync wallet (#616)

Instead of reading blocks from disk, monitored UTXOs with invalid
membership proofs can be restored from the archival mutator set that all
archival nodes maintain.

The benchmark added in this commit shows that using the archival mutator
set is ~1000 times (yes, one thousand times) faster than the previously
used method.

The previous method (restoring membership proofs from stored blocks)
*is* kept around, since we want light client to have the option of using
that technique, where blocks would not be read from disk but rather
fetched from the network.

**Restoring membership proofs from blocks**
wallet_state                          fastest       │ slowest       │ median        │ mean          │ samples │ iters
╰─ resync_membership_proofs                         │               │               │               │         │
   ╰─ sync_1000_msmps_over_10_blocks                │               │               │               │         │
      ╰─ resync_msmps_bench           13.49 ms      │ 708.7 ms      │ 14.28 ms      │ 83.91 ms      │ 10      │ 10

**Restoring membership proofs from archival mutator set**
wallet_state                         fastest       │ slowest       │ median        │ mean          │ samples │ iters
╰─ resync_membership_proofs                        │               │               │               │         │
   ╰─ sync_200_msmps_over_10_blocks                │               │               │               │         │
      ╰─ resync_msmps_bench          250 µs        │ 285.5 µs      │ 253.6 µs      │ 258.5 µs      │ 10      │ 10

This closes #614.

49 of 64 new or added lines in 1 file covered. (76.56%)

4 existing lines in 1 file now uncovered.

20171 of 28081 relevant lines covered (71.83%)

491505.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
15
81.44
-0.31% src/models/state/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
4
81.44
-0.31% src/models/state/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 15727091478.1 18 Jun 2025 08:37AM UTC 208
71.83
GitHub Action Run
Source Files on build 15727091478
  • Tree
  • List 208
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15727091478
  • c841cf51 on github
  • Prev Build on master (#15714233880)
  • Next Build on master (#15729154281)
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