Skip to content

feat(dash-spv): force resync to re-anchor a running client at a lower checkpoint#856

Open
xdustinface wants to merge 6 commits into
devfrom
feat/spv-force-resync
Open

feat(dash-spv): force resync to re-anchor a running client at a lower checkpoint#856
xdustinface wants to merge 6 commits into
devfrom
feat/spv-force-resync

test(dash-spv): exercise re-anchoring above mainnet's HD sync floor

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

74.59% (+0.04%) compared to 19690d3

View this Pull Request on Codecov

74.59% (+0.04%) compared to 19690d3

Details

Codecov Report

❌ Patch coverage is 97.53086% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.59%. Comparing base (19690d3) to head (7282172).

Files with missing lines Patch % Lines
dash-spv/src/client/lifecycle.rs 94.94% 5 Missing ⚠️
dash-spv/src/client/event_handler.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #856      +/-   ##
==========================================
+ Coverage   74.54%   74.59%   +0.04%     
==========================================
  Files         327      327              
  Lines       75032    75243     +211     
==========================================
+ Hits        55936    56130     +194     
- Misses      19096    19113      +17     
Files with missing lines Coverage Δ
dash-spv/src/client/config.rs 95.04% <100.00%> (+0.54%) ⬆️
dash-spv/src/client/core.rs 64.58% <100.00%> (+2.36%) ⬆️
dash-spv/src/client/mod.rs 100.00% <100.00%> (ø)
dash-spv/src/client/sync_coordinator.rs 80.76% <100.00%> (+2.27%) ⬆️
dash-spv/src/network/manager.rs 72.19% <100.00%> (-0.59%) ⬇️
dash-spv/src/network/mod.rs 98.09% <ø> (ø)
dash-spv/src/sync/block_headers/manager.rs 90.80% <100.00%> (+0.62%) ⬆️
dash-spv/src/sync/sync_coordinator.rs 87.55% <100.00%> (+0.70%) ⬆️
dash-spv/src/client/event_handler.rs 93.62% <0.00%> (-0.27%) ⬇️
dash-spv/src/client/lifecycle.rs 92.48% <94.94%> (+0.21%) ⬆️

... and 23 files with indirect coverage changes