You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dash-spv: storage corruption read by several sync paths never triggers a resync #1408
The client wipes and resyncs its storage when a sync manager returns SyncError::Storage(StorageError::Corruption(_)). Several readers swallow that error or turn it into another type first, so the corruption never reaches report_corruption and the client never recovers.
The masternode engine wraps it in FeedError::HeaderStorage.
The MnListDiff path gives the diff up, and the QRInfo path returns MasternodeSyncFailed(String).
The filters pipeline, ChainLock header matching and block re-apply only log it.
The filters pipeline is the worst case: with a corrupted header segment, the batch is retried on every tick and filter sync stalls for good.
These readers should return the corruption as SyncError::Storage, so the client wipes the storage and syncs again.
Activity