feat: validate masternode list merkle root #799
+309
−69
Draft
Codecov / codecov/project
succeeded
Jun 2, 2026 in 1s
72.62% (-0.09%) compared to 458894f
View this Pull Request on Codecov
72.62% (-0.09%) compared to 458894f
Details
Codecov Report
❌ Patch coverage is 98.47716% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.62%. Comparing base (458894f) to head (9f435e9).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| dash/src/sml/masternode_list_engine/mod.rs | 97.59% | 2 Missing |
| dash/src/sml/masternode_list/merkle_roots.rs | 97.43% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## fix/sml-entry-hash-gethash #799 +/- ##
==============================================================
- Coverage 72.70% 72.62% -0.09%
==============================================================
Files 322 322
Lines 71402 71200 -202
==============================================================
- Hits 51913 51706 -207
- Misses 19489 19494 +5 | Files with missing lines | Coverage Δ | |
|---|---|---|
| dash/src/sml/error.rs | 0.00% <ø> (ø) |
|
| dash/src/sml/masternode_list/apply_diff.rs | 95.70% <100.00%> (+1.21%) |
⬆️ |
| dash/src/sml/masternode_list/from_diff.rs | 95.12% <100.00%> (+0.83%) |
⬆️ |
| dash/src/sml/masternode_list/merkle_roots.rs | 83.01% <97.43%> (+18.63%) |
⬆️ |
| dash/src/sml/masternode_list_engine/mod.rs | 83.18% <97.59%> (+0.80%) |
⬆️ |
Loading