Initial sync block stuck. Block import logs (#318)

This commit is contained in:
rakita
2021-03-14 11:18:38 +01:00
parent 327c4bcb14
commit 3317797285
2 changed files with 22 additions and 3 deletions

View File

@@ -683,6 +683,11 @@ impl<K: Kind> VerificationQueue<K> {
}
}
/// Reset verification ready signal so that it allows other threads to send IoMessage to Client
pub fn reset_verification_ready_signal(&self) {
self.ready_signal.reset();
}
/// Returns true if there is nothing currently in the queue.
pub fn is_empty(&self) -> bool {
let v = &self.verification;