コード例 #1
0
 def run_test(self):
     self.test = TestManager(self, self.options.tmpdir)
     self.test.add_all_connections(self.nodes)
     # Start up network handling in another thread
     NetworkThread().start()
     self.test.run()
コード例 #2
0
 def run_test(self):
     self.test = TestManager(self, self.options.tmpdir)
     self.test.add_all_connections(self.nodes)
     network_thread_start()
     self.nodes[0].setmocktime(REPLAY_PROTECTION_START_TIME)
     self.test.run()
コード例 #3
0
ファイル: test_framework.py プロジェクト: xloem/bitcoin-sv
 def init_network(self):
     # Start creating test manager which help to manage test cases
     self.test = TestManager(self, self.options.tmpdir)
     self.test.destAddr = self.destAddr
     # (Re)start network
     self.restart_network()
コード例 #4
0
 def run_test(self):
     self.test = TestManager(self, self.options.tmpdir)
     self.test.add_all_connections(self.nodes)
     network_thread_start()
     self.test.run()
コード例 #5
0
 def run_test(self):
     self.test = TestManager(self, self.options.tmpdir)
     self.test.add_all_connections(self.nodes)
     network_thread_start()
     # Set the blocksize to 2MB as initial condition
     self.test.run()
コード例 #6
0
ファイル: p2p-fullblocktest.py プロジェクト: minblock/lua
 def run_test(self):
     test = TestManager(self, self.options.tmpdir)
     test.add_all_connections(self.nodes)
     NetworkThread().start()  # Start up network handling in another thread
     sync_masternodes(self.nodes)
     test.run()
コード例 #7
0
 def run_test(self):
     test = TestManager(self, self.options.tmpdir)
     # Don't call test.add_all_connections because there is only one node.
     NetworkThread().start()  # Start up network handling in another thread
     test.run()
コード例 #8
0
 def run_test(self):
     return  #TODO p2p stuff throwing format errors
     test = TestManager(self, self.options.tmpdir)
     test.add_all_connections(self.nodes)
     NetworkThread().start()  # Start up network handling in another thread
     test.run()