Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dash-spv/src/client/chainlock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl<

// Validate the InstantLock (structure + BLS signature)
// This is REQUIRED for security - never accept InstantLocks without signature verification
let validator = crate::validation::instantlock::InstantLockValidator::new();
let validator = crate::validation::InstantLockValidator::new();
if let Err(e) = validator.validate(&islock, masternode_engine) {
// Penalize the peer that relayed the invalid InstantLock
let reason = format!("Invalid InstantLock: {}", e);
Expand Down
Empty file removed dash-spv/src/validation/headers.rs
Empty file.
4 changes: 1 addition & 3 deletions dash-spv/src/validation/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//! Validation functionality for the Dash SPV client.

pub mod instantlock;
pub mod quorum;
mod instantlock;

pub use instantlock::InstantLockValidator;
pub use quorum::{QuorumInfo, QuorumManager, QuorumType};
327 changes: 0 additions & 327 deletions dash-spv/src/validation/quorum.rs

This file was deleted.