Skip to content

refactor(dash-spv)!: generate the checkpoints from the network - #375

Merged
xdustinface merged 3 commits into
devfrom
refactor/checkpoints
Oct 22, 2026
Merged

xdustinface merged 3 commits into
devfrom
refactor/checkpoints

refactor(dash-spv): store the checkpoints as JSON, encode them in bui…

da2f182
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 21, 2026 in 1s

78.91% (-0.25%) compared to 9dea26e

View this Pull Request on Codecov

78.91% (-0.25%) compared to 9dea26e

Details

Codecov Report

❌ Patch coverage is 68.94977% with 68 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.91%. Comparing base (9dea26e) to head (da2f182).
⚠️ Report is 3 commits behind head on dev.

Files with missing lines Patch % Lines
dash-spv/src/bin/generate_checkpoints.rs 0.00% 61 Missing ⚠️
dash-spv/src/client/lifecycle.rs 60.00% 4 Missing ⚠️
dash-spv/src/chain/checkpoints.rs 99.10% 1 Missing ⚠️
dash-spv/src/sync/block_headers/manager.rs 92.30% 1 Missing ⚠️
dash-spv/src/sync/block_headers/pipeline.rs 95.65% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #375      +/-   ##
==========================================
- Coverage   79.16%   78.91%   -0.25%     
==========================================
  Files         304      304              
  Lines       81380    80933     -447     
==========================================
- Hits        64425    63872     -553     
- Misses      16955    17061     +106     
Files with missing lines Coverage Δ
dash-spv/src/types.rs 88.78% <ø> (ø)
dash-spv/src/chain/checkpoints.rs 99.23% <99.10%> (+1.01%) ⬆️
dash-spv/src/sync/block_headers/manager.rs 93.66% <92.30%> (+0.17%) ⬆️
dash-spv/src/sync/block_headers/pipeline.rs 97.11% <95.65%> (-0.03%) ⬇️
dash-spv/src/client/lifecycle.rs 90.90% <60.00%> (-1.18%) ⬇️
dash-spv/src/bin/generate_checkpoints.rs 0.00% <0.00%> (ø)

... and 31 files with indirect coverage changes