Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc-transaction-ordering.py
Show All 32 Lines | class TransactionOrderingTest(ComparisonTestFramework): | ||||
# the comparison. | # the comparison. | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.block_heights = {} | self.block_heights = {} | ||||
self.tip = None | self.tip = None | ||||
self.blocks = {} | self.blocks = {} | ||||
self.extra_args = [['-whitelist=127.0.0.1', | self.extra_args = [['-relaypriority=0', | ||||
'-relaypriority=0', | |||||
"-replayprotectionactivationtime={}".format(REPLAY_PROTECTION_START_TIME)]] | "-replayprotectionactivationtime={}".format(REPLAY_PROTECTION_START_TIME)]] | ||||
def run_test(self): | def run_test(self): | ||||
self.test = TestManager(self, self.options.tmpdir) | self.test = TestManager(self, self.options.tmpdir) | ||||
self.test.add_all_connections(self.nodes) | self.test.add_all_connections(self.nodes) | ||||
network_thread_start() | network_thread_start() | ||||
# Set the blocksize to 2MB as initial condition | # Set the blocksize to 2MB as initial condition | ||||
self.test.run() | self.test.run() | ||||
▲ Show 20 Lines • Show All 195 Lines • Show Last 20 Lines |