def setup_network(self): self.add_nodes(self.num_nodes) for i in range(self.num_nodes - 1): self.start_node(i, phase_to_wait=None) connect_sample_nodes(self.nodes[:-1], self.log, latency_max=1) for i in range(self.num_nodes - 1): self.nodes[i].wait_for_recovery(["NormalSyncPhase"], 10)
def setup_network(self): self.add_nodes(self.num_nodes) for i in range(self.num_nodes - 1): self.start_node(i) connect_sample_nodes(self.nodes[:-1], self.log, latency_max=1)
def setup_network(self): self.add_nodes(self.num_nodes, is_consortium=True) for i in range(self.num_nodes): self.start_node(i, ["--tg_archive"], phase_to_wait=None) connect_sample_nodes(self.nodes, self.log, latency_max=1)