@@ -20,7 +20,7 @@ use crate::mempool_filter::MempoolFilter;
2020use crate :: network:: NetworkManager ;
2121use crate :: storage:: StorageManager ;
2222use crate :: sync:: filters:: FilterNotificationSender ;
23- use crate :: sync:: sequential:: SequentialSyncManager ;
23+ use crate :: sync:: sequential:: SyncManager ;
2424use crate :: types:: { ChainState , DetailedSyncProgress , MempoolState , SpvEvent , SpvStats } ;
2525use crate :: validation:: ValidationManager ;
2626use key_wallet_manager:: wallet_interface:: WalletInterface ;
@@ -127,12 +127,12 @@ pub struct DashSpvClient<W: WalletInterface, N: NetworkManager, S: StorageManage
127127 ///
128128 /// If concurrent access becomes necessary (e.g., for monitoring sync progress from
129129 /// multiple threads), consider:
130- /// - Using interior mutability patterns (Arc<Mutex<SequentialSyncManager >>)
130+ /// - Using interior mutability patterns (Arc<Mutex<SyncManager >>)
131131 /// - Extracting read-only state into a separate shared structure
132132 /// - Implementing a message-passing architecture for sync commands
133133 ///
134134 /// The current design prioritizes simplicity and correctness over concurrent access.
135- pub ( super ) sync_manager : SequentialSyncManager < S , N , W > ,
135+ pub ( super ) sync_manager : SyncManager < S , N , W > ,
136136 pub ( super ) validation : ValidationManager ,
137137 pub ( super ) chainlock_manager : Arc < ChainLockManager > ,
138138 pub ( super ) running : Arc < RwLock < bool > > ,
@@ -179,7 +179,7 @@ impl<
179179
180180 /// Get mutable reference to sync manager (for testing).
181181 #[ cfg( test) ]
182- pub fn sync_manager_mut ( & mut self ) -> & mut SequentialSyncManager < S , N , W > {
182+ pub fn sync_manager_mut ( & mut self ) -> & mut SyncManager < S , N , W > {
183183 & mut self . sync_manager
184184 }
185185
0 commit comments