fn check_orphans(&self) {
		// first check how many we have to retry, unfort. we can't extend the lock
		// in the loop as it needs to be freed before going in process_block
		let orphan_count;
		{
			let orphans = self.orphans.lock().unwrap();
			orphan_count = orphans.len();
		}
		debug!(LOGGER, "check_orphans: # orphans {}", orphan_count);

		// pop each orphan and retry, if still orphaned, will be pushed again
		for _ in 0..orphan_count {
			let popped;
			{
				let mut orphans = self.orphans.lock().unwrap();
				popped = orphans.pop_back();
			}
			if let Some((opts, orphan)) = popped {
				let _process_result = self.process_block(orphan, opts);
			}
		}
	}
/// Pop orphans out of the queue and check if we can now accept them.
Pop orphans out of the queue and check if we can now accept them.
Pop orphans out of the queue and check if we can now accept them .
fn check_orphans(&self) {
		// first check how many we have to retry, unfort. we can't extend the lock
		// in the loop as it needs to be freed before going in process_block
		let orphan_count;
		{
			let orphans = self.orphans.lock().unwrap();
			orphan_count = orphans.len();
		}
		debug!(LOGGER, "check_orphans: # orphans {}", orphan_count);
		// pop each orphan and retry, if still orphaned, will be pushed again
		for _ in 0..orphan_count {
			let popped;
			{
				let mut orphans = self.orphans.lock().unwrap();
				popped = orphans.pop_back();
			}
			if let Some((opts, orphan)) = popped {
				let _process_result = self.process_block(orphan, opts);
			}
		}
	}
fn check_orphans ( & self ) { // first check how many we have to retry, unfort. we can't extend the lock // in the loop as it needs to be freed before going in process_block let orphan_count ; { let orphans = self . orphans . lock ( ) . unwrap ( ) ; orphan_count = orphans . len ( ) ; } debug ! ( LOGGER " " orphan_count ) ; // pop each orphan and retry, if still orphaned, will be pushed again for _ in 0 .. orphan_count { let popped ; { let mut orphans = self . orphans . lock ( ) . unwrap ( ) ; popped = orphans . pop_back ( ) ; } if let Some ( ( opts , orphan ) ) = popped { let _process_result = self . process_block ( orphan , opts ) ; } } }
Pop orphans out of the queue and check if we can now accept them.
Pop orphans out of the queue and check if we can now accept them .
&self