def METHOD_NAME(self, inv):
    responses = []
    for i in inv:
        if (i.type == 1): # MSG_TX
            tx = self.get(i.hash)
            if tx is not None:
                responses.append(msg_tx(tx))
    return responses