Skip to content

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

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

refactor(dash-spv): network manager refactor and sync pipelines optimized #902
ZocoLini wants to merge 2 commits into
devfrom
refactor/network-mod

refactor(dash-spv): rewrite the peer-to-peer network module

726da21
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 22, 2026 in 1s

73.80% (-0.75%) compared to 19690d3

View this Pull Request on Codecov

73.80% (-0.75%) compared to 19690d3

Details

Codecov Report

❌ Patch coverage is 94.11765% with 78 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.80%. Comparing base (19690d3) to head (726da21).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
dash-spv/src/network/peer.rs 84.67% 42 Missing ⚠️
dash/src/network/message.rs 83.33% 12 Missing ⚠️
dash-spv/src/network/discovery.rs 64.00% 9 Missing ⚠️
dash-spv/src/main.rs 0.00% 4 Missing ⚠️
dash-spv/src/sync/block_headers/manager.rs 97.72% 2 Missing ⚠️
dash-spv-ffi/src/client.rs 75.00% 1 Missing ⚠️
dash-spv/src/client/lifecycle.rs 92.85% 1 Missing ⚠️
dash-spv/src/client/queries.rs 0.00% 1 Missing ⚠️
dash-spv/src/network/mod.rs 95.45% 1 Missing ⚠️
dash-spv/src/sync/blocks/pipeline.rs 96.55% 1 Missing ⚠️
... and 4 more
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #902      +/-   ##
==========================================
- Coverage   74.54%   73.80%   -0.75%     
==========================================
  Files         327      318       -9     
  Lines       75032    72110    -2922     
==========================================
- Hits        55936    53222    -2714     
+ Misses      19096    18888     -208     
Files with missing lines Coverage Δ
dash-spv-ffi/src/callbacks.rs 83.21% <100.00%> (-0.37%) ⬇️
dash-spv/src/client/core.rs 63.04% <100.00%> (+0.82%) ⬆️
dash-spv/src/client/event_handler.rs 93.76% <100.00%> (-0.13%) ⬇️
dash-spv/src/client/events.rs 100.00% <100.00%> (ø)
dash-spv/src/client/mod.rs 100.00% <100.00%> (ø)
dash-spv/src/client/transactions.rs 100.00% <100.00%> (+10.00%) ⬆️
dash-spv/src/lib.rs 46.66% <ø> (ø)
dash-spv/src/network/manager.rs 78.02% <ø> (+5.23%) ⬆️
dash-spv/src/storage/mod.rs 86.15% <ø> (ø)
dash-spv/src/sync/block_headers/pipeline.rs 93.50% <100.00%> (-0.72%) ⬇️
... and 31 more

... and 18 files with indirect coverage changes