def wait_for_verack(self, timeout=60):
    test_function = (lambda : self.message_count['verack'])
    wait_until(test_function, timeout=timeout, lock=mininode_lock)
def wait_for_verack(self, timeout=60):
    test_function = (lambda : self.message_count['verack'])
    wait_until(test_function, timeout=timeout, lock=mininode_lock)