Skip to content

fix(dash-spv): release clean storage segments below the committed height during long scans - #932

Closed
bfoss765 wants to merge 1 commit into
dashpay:devfrom
bfoss765:fix/spv-segment-eviction
Closed

fix(dash-spv): release clean storage segments below the committed height during long scans#932
bfoss765 wants to merge 1 commit into
dashpay:devfrom
bfoss765:fix/spv-segment-eviction

fix(dash-spv): release clean storage segments below the committed hei…

9acfee3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 7, 2026 in 0s

75.57% (+0.04%) compared to 6be2407

View this Pull Request on Codecov

75.57% (+0.04%) compared to 6be2407

Details

Codecov Report

❌ Patch coverage is 96.41026% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.57%. Comparing base (6be2407) to head (9acfee3).

Files with missing lines Patch % Lines
dash-spv/src/storage/mod.rs 0.00% 4 Missing ⚠️
dash-spv/src/storage/blocks.rs 96.00% 1 Missing ⚠️
dash-spv/src/storage/filters.rs 66.66% 1 Missing ⚠️
dash-spv/src/storage/segments.rs 99.35% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #932      +/-   ##
==========================================
+ Coverage   75.52%   75.57%   +0.04%     
==========================================
  Files         328      328              
  Lines       78017    78212     +195     
==========================================
+ Hits        58923    59108     +185     
- Misses      19094    19104      +10     
Files with missing lines Coverage Δ
dash-spv/src/sync/blocks/manager.rs 97.11% <100.00%> (+0.07%) ⬆️
dash-spv/src/sync/filters/manager.rs 97.96% <100.00%> (+<0.01%) ⬆️
dash-spv/src/storage/blocks.rs 98.83% <96.00%> (-1.17%) ⬇️
dash-spv/src/storage/filters.rs 98.38% <66.66%> (-1.62%) ⬇️
dash-spv/src/storage/segments.rs 96.72% <99.35%> (+0.70%) ⬆️
dash-spv/src/storage/mod.rs 85.10% <0.00%> (-1.05%) ⬇️

... and 4 files with indirect coverage changes