Skip to content

refactor: move event callback dispatch into `DashSpvClient`

23accc0
Select commit
Loading
Failed to load commit list.
Open

refactor: move event callback dispatch from FFI into DashSpvClient #572

refactor: move event callback dispatch into `DashSpvClient`
23accc0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 23, 2026 in 0s

66.52% (+0.19%) compared to 19fb152

View this Pull Request on Codecov

66.52% (+0.19%) compared to 19fb152

Details

Codecov Report

❌ Patch coverage is 78.96254% with 73 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.52%. Comparing base (19fb152) to head (23accc0).

Files with missing lines Patch % Lines
dash-spv-ffi/src/bin/ffi_cli.rs 0.00% 39 Missing ⚠️
dash-spv/src/main.rs 0.00% 22 Missing ⚠️
dash-spv/src/client/event_handler.rs 95.71% 9 Missing ⚠️
dash-spv/src/client/sync_coordinator.rs 90.90% 3 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           v0.42-dev     #572      +/-   ##
=============================================
+ Coverage      66.32%   66.52%   +0.19%     
=============================================
  Files            311      312       +1     
  Lines          64976    65015      +39     
=============================================
+ Hits           43097    43250     +153     
+ Misses         21879    21765     -114     
Files with missing lines Coverage Δ
dash-spv-ffi/src/callbacks.rs 79.59% <100.00%> (+16.11%) ⬆️
dash-spv-ffi/src/client.rs 58.60% <100.00%> (-0.79%) ⬇️
dash-spv/src/client/core.rs 46.00% <100.00%> (+1.10%) ⬆️
dash-spv/src/client/events.rs 100.00% <100.00%> (ø)
dash-spv/src/client/lifecycle.rs 64.15% <100.00%> (+0.68%) ⬆️
dash-spv/src/client/mempool.rs 57.57% <ø> (ø)
dash-spv/src/client/mod.rs 98.64% <100.00%> (ø)
dash-spv/src/client/queries.rs 14.28% <ø> (ø)
dash-spv/src/client/transactions.rs 0.00% <ø> (ø)
dash-spv/src/client/sync_coordinator.rs 82.45% <90.90%> (+9.72%) ⬆️
... and 3 more

... and 5 files with indirect coverage changes