fn send_ping(&self, total_difficulty: Difficulty, height: u64) -> Result<(), Error> {
		self.send_request(
			Type::Ping,
			Type::Pong,
			&Ping { total_difficulty, height },
			None,
		)
	}
/// Sends a ping message to the remote peer. Will panic if handle has never
/// been called on this protocol.
Sends a ping message to the remote peer. Will panic if handle has never
been called on this protocol.
Sends a ping message to the remote peer . Will panic if handle has never been called on this protocol .
fn send_ping(&self, total_difficulty: Difficulty, height: u64) -> Result<(), Error> {
		self.send_request(
			Type::Ping,
			Type::Pong,
			&Ping { total_difficulty, height },
			None,
		)
	}
fn send_ping ( & self , total_difficulty : Difficulty , height : u64 ) -> Result < ( ) , Error > { self . send_request ( Type :: Ping , Type :: Pong , & Ping { total_difficulty , height } , None , ) }
Sends a ping message to the remote peer.
Sends a ping message to the remote peer .
&self
total_difficulty
Difficulty
height
u64