Skip to content

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

Open
xdustinface wants to merge 4 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 4 commits into
devfrom
feat/spv-force-resync

fix(dash-spv): mark client stopped when `force_resync` fails mid-tear…

894e0e5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 13, 2026 in 1s

73.68% (+0.10%) compared to e4f11a1

View this Pull Request on Codecov

73.68% (+0.10%) compared to e4f11a1

Details

Codecov Report

❌ Patch coverage is 97.42489% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.68%. Comparing base (e4f11a1) to head (894e0e5).
⚠️ Report is 13 commits behind head on dev.

Files with missing lines Patch % Lines
dash-spv/src/client/lifecycle.rs 94.68% 5 Missing ⚠️
dash-spv/src/client/event_handler.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #856      +/-   ##
==========================================
+ Coverage   73.58%   73.68%   +0.10%     
==========================================
  Files         324      324              
  Lines       73140    73397     +257     
==========================================
+ Hits        53820    54085     +265     
+ Misses      19320    19312       -8     
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 71.87% <100.00%> (-0.92%) ⬇️
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.33% <94.68%> (+0.10%) ⬆️

... and 14 files with indirect coverage changes