Skip to content

refactor(dash-spv): network manager refactor and sync pipelines optimized - #902

Open
ZocoLini wants to merge 31 commits into
devfrom
refactor/network-mod
Open

ZocoLini wants to merge 31 commits into
devfrom
refactor/network-mod

Merge branch 'dev' into refactor/network-mod

a0e6436
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 10, 2026 in 1s

77.35% (+0.01%) compared to e4208c9

View this Pull Request on Codecov

77.35% (+0.01%) compared to e4208c9

Details

Codecov Report

❌ Patch coverage is 94.54128% with 119 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.35%. Comparing base (e4208c9) to head (a0e6436).

Files with missing lines Patch % Lines
dash-spv/src/network/peer.rs 87.19% 52 Missing ⚠️
dash-spv/src/network/discovery.rs 51.02% 24 Missing ⚠️
dash/src/network/message.rs 83.33% 12 Missing ⚠️
dash-spv/src/sync/block_headers/manager.rs 94.41% 10 Missing ⚠️
dash-spv/src/sync/mempool/manager.rs 99.27% 4 Missing ⚠️
dash-spv/src/main.rs 0.00% 3 Missing ⚠️
dash-spv/src/sync/blocks/pipeline.rs 93.93% 2 Missing ⚠️
dash-spv/src/sync/filters/pipeline.rs 98.00% 2 Missing ⚠️
dash-spv-ffi/src/client.rs 75.00% 1 Missing ⚠️
dash-spv/src/client/lifecycle.rs 92.85% 1 Missing ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #902      +/-   ##
==========================================
+ Coverage   77.34%   77.35%   +0.01%     
==========================================
  Files         329      319      -10     
  Lines       83857    81775    -2082     
==========================================
- Hits        64855    63261    -1594     
+ Misses      19002    18514     -488     
Files with missing lines Coverage Δ
dash-spv-ffi/src/callbacks.rs 86.61% <100.00%> (ø)
dash-spv/src/client/core.rs 63.04% <100.00%> (+0.82%) ⬆️
dash-spv/src/client/event_handler.rs 93.89% <100.00%> (-0.12%) ⬇️
dash-spv/src/client/events.rs 100.00% <100.00%> (ø)
dash-spv/src/lib.rs 46.66% <ø> (ø)
dash-spv/src/network/manager.rs 92.61% <ø> (+13.00%) ⬆️
dash-spv/src/storage/mod.rs 85.10% <ø> (ø)
dash-spv/src/sync/block_headers/segment_state.rs 98.18% <100.00%> (+0.82%) ⬆️
dash-spv/src/sync/block_headers/sync_manager.rs 85.36% <100.00%> (-2.14%) ⬇️
dash-spv/src/sync/blocks/manager.rs 97.16% <100.00%> (+0.38%) ⬆️
... and 30 more

... and 15 files with indirect coverage changes