Skip to content

feat(dash-spv)!: validate header difficulty against Dark Gravity Wave - #1161

Merged
xdustinface merged 3 commits into
devfrom
feat/validate-header-difficulty
Oct 27, 2026
Merged

xdustinface merged 3 commits into
devfrom
feat/validate-header-difficulty

Merge remote-tracking branch 'origin/dev' into feat/validate-header-d…

232029f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 26, 2026 in 0s

78.89% (+0.00%) compared to 22f52ac

View this Pull Request on Codecov

78.89% (+0.00%) compared to 22f52ac

Details

Codecov Report

❌ Patch coverage is 96.81529% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.89%. Comparing base (22f52ac) to head (232029f).

Files with missing lines Patch % Lines
dash/src/pow.rs 96.55% 3 Missing ⚠️
dash-spv/src/bin/generate_checkpoints.rs 0.00% 1 Missing ⚠️
dash-spv/src/chain/checkpoints.rs 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##              dev    #1161    +/-   ##
========================================
  Coverage   78.88%   78.89%            
========================================
  Files         304      304            
  Lines       81331    81472   +141     
========================================
+ Hits        64155    64274   +119     
- Misses      17176    17198    +22     
Files with missing lines Coverage Δ
dash-spv/src/client/lifecycle.rs 90.94% <100.00%> (+0.03%) ⬆️
dash-spv/src/error.rs 33.33% <ø> (ø)
dash-spv/src/sync/block_headers/manager.rs 93.87% <100.00%> (+0.21%) ⬆️
dash-spv/src/validation/header.rs 98.05% <100.00%> (+0.87%) ⬆️
dash/src/consensus/params.rs 76.92% <ø> (ø)
dash-spv/src/bin/generate_checkpoints.rs 0.00% <0.00%> (ø)
dash-spv/src/chain/checkpoints.rs 99.24% <80.00%> (+0.01%) ⬆️
dash/src/pow.rs 80.62% <96.55%> (+4.69%) ⬆️

... and 5 files with indirect coverage changes