(self)
| 112 | self.skip_if_no_bitcoind_zmq() |
| 113 | |
| 114 | def run_test(self): |
| 115 | util.node_fastmerkle = self.nodes[0] |
| 116 | self.ctx = zmq.Context() |
| 117 | try: |
| 118 | self.test_basic() |
| 119 | self.test_sequence() |
| 120 | self.test_mempool_sync() |
| 121 | self.test_reorg() |
| 122 | self.test_multiple_interfaces() |
| 123 | self.test_ipv6() |
| 124 | finally: |
| 125 | # Destroy the ZMQ context. |
| 126 | self.log.debug("Destroying ZMQ context") |
| 127 | self.ctx.destroy(linger=None) |
| 128 | |
| 129 | # Restart node with the specified zmq notifications enabled, subscribe to |
| 130 | # all of them and return the corresponding ZMQSubscriber objects. |
nothing calls this directly
no test coverage detected