pub fn check_all(&self, total_difficulty: Difficulty, height: u64) {
		let peers_map = self.peers.read().unwrap();
		for p in peers_map.values() {
			if p.is_connected() {
				let _ = p.send_ping(total_difficulty, height);
			}
		}
	}
/// Ping all our connected peers. Always automatically expects a pong back
/// or disconnects. This acts as a liveness test.
Ping all our connected peers. Always automatically expects a pong back
or disconnects. This acts as a liveness test.
Ping all our connected peers . Always automatically expects a pong back or disconnects . This acts as a liveness test .
pub fn check_all(&self, total_difficulty: Difficulty, height: u64) {
		let peers_map = self.peers.read().unwrap();
		for p in peers_map.values() {
			if p.is_connected() {
				let _ = p.send_ping(total_difficulty, height);
			}
		}
	}
pub fn check_all ( & self , total_difficulty : Difficulty , height : u64 ) { let peers_map = self . peers . read ( ) . unwrap ( ) ; for p in peers_map . values ( ) { if p . is_connected ( ) { let _ = p . send_ping ( total_difficulty , height ) ; } } }
Ping all our connected peers.
Ping all our connected peers .
&self
total_difficulty
Difficulty
height
u64