Skip to content

Commit 47d9c44

Browse files
authored
chore: remove duplicate quorum validation logic that already existed (#284)
* empty file removed * quorum module deleted since it is not being used
1 parent 1608e0f commit 47d9c44

File tree

4 files changed

+2
-331
lines changed

4 files changed

+2
-331
lines changed

dash-spv/src/client/chainlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl<
104104

105105
// Validate the InstantLock (structure + BLS signature)
106106
// This is REQUIRED for security - never accept InstantLocks without signature verification
107-
let validator = crate::validation::instantlock::InstantLockValidator::new();
107+
let validator = crate::validation::InstantLockValidator::new();
108108
if let Err(e) = validator.validate(&islock, masternode_engine) {
109109
// Penalize the peer that relayed the invalid InstantLock
110110
let reason = format!("Invalid InstantLock: {}", e);

dash-spv/src/validation/headers.rs

Whitespace-only changes.

dash-spv/src/validation/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Validation functionality for the Dash SPV client.
22
3-
pub mod instantlock;
4-
pub mod quorum;
3+
mod instantlock;
54

65
pub use instantlock::InstantLockValidator;
7-
pub use quorum::{QuorumInfo, QuorumManager, QuorumType};

dash-spv/src/validation/quorum.rs

Lines changed: 0 additions & 327 deletions
This file was deleted.

0 commit comments

Comments
 (0)