(self)
| 35 | self.skip_if_no_wallet() |
| 36 | |
| 37 | def setup_network(self): |
| 38 | # This test relies on the chain setup being: |
| 39 | # node0 <- node1 <- node2 |
| 40 | # Before leaving IBD, nodes prefer to download blocks from outbound |
| 41 | # peers, so ensure that we're mining on an outbound peer and testing |
| 42 | # block relay to inbound peers. |
| 43 | self.setup_nodes() |
| 44 | for i in range(self.num_nodes-1): |
| 45 | connect_nodes(self.nodes[i+1], i) |
| 46 | |
| 47 | def run_test(self): |
| 48 | # Start building a chain on node0. node2 shouldn't be able to sync until node1's |
nothing calls this directly
no test coverage detected