Skip to content

fix(dash-spv): requeue in-flight downloads when a single peer disconnects - #941

Merged
ZocoLini merged 2 commits into
devfrom
fix/requeue-inflight-on-peer-disconnect
Aug 11, 2026
Merged

fix(dash-spv): requeue in-flight downloads when a single peer disconnects#941
ZocoLini merged 2 commits into
devfrom
fix/requeue-inflight-on-peer-disconnect

test(dash-spv): cover requeue on single-peer disconnect

165e1c6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 10, 2026 in 1s

75.24% (+0.06%) compared to d91ad05

View this Pull Request on Codecov

75.24% (+0.06%) compared to d91ad05

Details

Codecov Report

❌ Patch coverage is 95.74468% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.24%. Comparing base (d91ad05) to head (165e1c6).

Files with missing lines Patch % Lines
dash-spv/src/sync/masternodes/sync_manager.rs 0.00% 3 Missing ⚠️
dash-spv/src/sync/blocks/manager.rs 95.12% 2 Missing ⚠️
dash-spv/src/sync/filter_headers/pipeline.rs 97.36% 1 Missing ⚠️
dash-spv/src/sync/masternodes/pipeline.rs 96.87% 1 Missing ⚠️
dash-spv/src/sync/sync_manager.rs 97.95% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #941      +/-   ##
==========================================
+ Coverage   75.17%   75.24%   +0.06%     
==========================================
  Files         328      328              
  Lines       78194    78370     +176     
==========================================
+ Hits        58783    58967     +184     
+ Misses      19411    19403       -8     
Files with missing lines Coverage Δ
dash-spv/src/sync/block_headers/sync_manager.rs 86.66% <100.00%> (+2.05%) ⬆️
dash-spv/src/sync/blocks/sync_manager.rs 83.78% <100.00%> (+1.43%) ⬆️
dash-spv/src/sync/download_coordinator.rs 100.00% <100.00%> (ø)
dash-spv/src/sync/filter_headers/sync_manager.rs 100.00% <100.00%> (ø)
dash-spv/src/sync/filters/sync_manager.rs 100.00% <100.00%> (ø)
dash-spv/src/sync/filter_headers/pipeline.rs 97.21% <97.36%> (+0.02%) ⬆️
dash-spv/src/sync/masternodes/pipeline.rs 97.89% <96.87%> (-0.16%) ⬇️
dash-spv/src/sync/sync_manager.rs 83.89% <97.95%> (+10.67%) ⬆️
dash-spv/src/sync/blocks/manager.rs 96.72% <95.12%> (-0.33%) ⬇️
dash-spv/src/sync/masternodes/sync_manager.rs 81.25% <0.00%> (-0.81%) ⬇️

... and 3 files with indirect coverage changes