def send_ping(self, nonce):
    self.pingMap[nonce] = True
    self.conn.send_message(msg_ping(nonce))
def send_ping(self, nonce):
    self.pingMap[nonce] = True
    self.conn.send_message(msg_ping(nonce))