(self, blockhash, *, timeout=60)
| 633 | self.wait_until(test_function, timeout=timeout) |
| 634 | |
| 635 | def wait_for_block(self, blockhash, *, timeout=60): |
| 636 | def test_function(): |
| 637 | return self.last_message.get("block") and self.last_message["block"].block.hash_int == blockhash |
| 638 | |
| 639 | self.wait_until(test_function, timeout=timeout) |
| 640 | |
| 641 | def wait_for_header(self, blockhash, *, timeout=60): |
| 642 | def test_function(): |