def on_getdata(self, conn, message):
    for inv in message.inv:
        if (inv.hash in self.clsigs):
            self.send_message(self.clsigs[inv.hash])
        if (inv.hash in self.islocks):
            self.send_message(self.islocks[inv.hash])
def on_getdata(self, conn, message):
    for inv in message.inv:
        if (inv.hash in self.clsigs):
            self.send_message(self.clsigs[inv.hash])
        if (inv.hash in self.islocks):
            self.send_message(self.islocks[inv.hash])