Skip to content

feat(dash-spv): block locator + staged fork detection#803

Draft
xdustinface wants to merge 1 commit into
devfrom
feat/fork-detection
Draft

feat(dash-spv): block locator + staged fork detection#803
xdustinface wants to merge 1 commit into
devfrom
feat/fork-detection

feat(dash-spv): block locator + staged fork detection

99e8f20
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 4, 2026 in 0s

72.89% (+0.21%) compared to a132945

View this Pull Request on Codecov

72.89% (+0.21%) compared to a132945

Details

Codecov Report

❌ Patch coverage is 96.51972% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.89%. Comparing base (a132945) to head (99e8f20).

Files with missing lines Patch % Lines
dash-spv/src/sync/block_headers/manager.rs 92.99% 22 Missing ⚠️
dash-spv/src/chain/difficulty.rs 97.31% 4 Missing ⚠️
dash-spv/src/sync/block_headers/fork_buffer.rs 99.42% 2 Missing ⚠️
dash-spv/src/sync/block_headers/pipeline.rs 94.44% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #803      +/-   ##
==========================================
+ Coverage   72.67%   72.89%   +0.21%     
==========================================
  Files         322      323       +1     
  Lines       71363    72034     +671     
==========================================
+ Hits        51866    52507     +641     
- Misses      19497    19527      +30     
Files with missing lines Coverage Δ
dash-spv/src/chain/chain_work.rs 84.92% <100.00%> (+6.45%) ⬆️
dash-spv/src/client/lifecycle.rs 78.23% <100.00%> (+0.11%) ⬆️
dash-spv/src/error.rs 33.33% <ø> (ø)
dash-spv/src/network/mod.rs 98.03% <100.00%> (-0.06%) ⬇️
dash-spv/src/sync/block_headers/segment_state.rs 97.43% <100.00%> (+0.06%) ⬆️
dash-spv/src/sync/block_headers/sync_manager.rs 84.61% <ø> (ø)
dash/src/pow.rs 93.67% <100.00%> (ø)
dash-spv/src/sync/block_headers/fork_buffer.rs 99.42% <99.42%> (ø)
dash-spv/src/sync/block_headers/pipeline.rs 94.19% <94.44%> (-0.03%) ⬇️
dash-spv/src/chain/difficulty.rs 97.31% <97.31%> (ø)
... and 1 more

... and 19 files with indirect coverage changes