diff --git a/test/functional/invalidateblock.py b/test/functional/invalidateblock.py --- a/test/functional/invalidateblock.py +++ b/test/functional/invalidateblock.py @@ -10,11 +10,18 @@ from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * +# Defer magnetic anomaly until far in the future, so this test can operate +# normally +# TODO: T483 +MAGNETIC_ANOMALY_START_TIME = 2000000000 + class InvalidateTest(BitcoinTestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 3 + self.extra_args = [['-magneticanomalyactivationtime=%d' % MAGNETIC_ANOMALY_START_TIME], ['-magneticanomalyactivationtime=%d' % + MAGNETIC_ANOMALY_START_TIME], ['-magneticanomalyactivationtime=%d' % MAGNETIC_ANOMALY_START_TIME]] def setup_network(self): self.setup_nodes()