fn start(&self) {
		// Update the sync state to the latest chain state.
		let info = self.client.info().expect("In-mem client does not fail");
		let header = self
			.client
			.header(&BlockId::Hash(info.chain.best_hash))
			.unwrap()
			.unwrap();
		self.net_proto_channel.send_from_client(ProtocolMsg::BlockImported(info.chain.best_hash, header));
	}
/// Called after blockchain has been populated to updated current state.
Called after blockchain has been populated to updated current state.
Called after blockchain has been populated to updated current state .
fn start(&self) {
		// Update the sync state to the latest chain state.
		let info = self.client.info().expect("In-mem client does not fail");
		let header = self
			.client
			.header(&BlockId::Hash(info.chain.best_hash))
			.unwrap()
			.unwrap();
		self.net_proto_channel.send_from_client(ProtocolMsg::BlockImported(info.chain.best_hash, header));
	}
fn start ( & self ) { // Update the sync state to the latest chain state. let info = self . client . info ( ) . expect ( " " ) ; let header = self . client . header ( & BlockId :: Hash ( info . chain . best_hash ) ) . unwrap ( ) . unwrap ( ) ; self . net_proto_channel . send_from_client ( ProtocolMsg :: BlockImported ( info . chain . best_hash , header ) ) ; }
Called after blockchain has been populated to updated current state.
Called after blockchain has been populated to updated current state .
&self
&self