async def update_peer_timestamp_on_message(self, peer: ws.WSChiaConnection):
    if (peer.is_outbound and (peer.peer_server_port is not None) and (peer.connection_type is NodeType.FULL_NODE) and (self.server._local_type is NodeType.FULL_NODE) and (self.address_manager is not None)):
        peer_info = peer.get_peer_info()
        if (peer_info is None):
            return None
        if (peer_info.host not in self.connection_time_pretest):
            self.connection_time_pretest[peer_info.host] = time.time()
        if ((time.time() - self.connection_time_pretest[peer_info.host]) > 600):
            self.connection_time_pretest[peer_info.host] = time.time()
            (await self.address_manager.connect(peer_info))
async def update_peer_timestamp_on_message(self, peer: ws.WSChiaConnection):
    if (peer.is_outbound and (peer.peer_server_port is not None) and (peer.connection_type is NodeType.FULL_NODE) and (self.server._local_type is NodeType.FULL_NODE) and (self.address_manager is not None)):
        peer_info = peer.get_peer_info()
        if (peer_info is None):
            return None
        if (peer_info.host not in self.connection_time_pretest):
            self.connection_time_pretest[peer_info.host] = time.time()
        if ((time.time() - self.connection_time_pretest[peer_info.host]) > 600):
            self.connection_time_pretest[peer_info.host] = time.time()
            (await self.address_manager.connect(peer_info))