def wait_for_verack(self):

    def veracked():
        return all((node.verack_received for node in self.test_nodes))
    return wait_until(veracked, timeout=10)
def wait_for_verack(self):

    def veracked():
        return all((node.verack_received for node in self.test_nodes))
    return wait_until(veracked, timeout=10)