Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc_mining_basic.py
| Show All 16 Lines | |||||
| from test_framework.util import ( | from test_framework.util import ( | ||||
| assert_equal, | assert_equal, | ||||
| assert_greater_than_or_equal, | assert_greater_than_or_equal, | ||||
| ) | ) | ||||
| from decimal import Decimal | from decimal import Decimal | ||||
| AXION_ACTIVATION_TIME = 2000000600 | AXION_ACTIVATION_TIME = 2000000600 | ||||
| MINER_FUND_ADDR = 'bchreg:pqnqv9lt7e5vjyp0w88zf2af0l92l8rxdgd35g0pkl' | MINER_FUND_ADDR = 'abcreg:pqnqv9lt7e5vjyp0w88zf2af0l92l8rxdgyrm5ege8' | ||||
jasonbcox: As we discussed offline, this and similar codepaths related to mining will need to be backwards… | |||||
| class AbcMiningRPCTest(BitcoinTestFramework): | class AbcMiningRPCTest(BitcoinTestFramework): | ||||
| def set_test_params(self): | def set_test_params(self): | ||||
| self.num_nodes = 2 | self.num_nodes = 2 | ||||
| self.extra_args = [[ | self.extra_args = [[ | ||||
| '-enableminerfund', | '-enableminerfund', | ||||
| '-axionactivationtime={}'.format(AXION_ACTIVATION_TIME), | '-axionactivationtime={}'.format(AXION_ACTIVATION_TIME), | ||||
| ▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines | |||||
As we discussed offline, this and similar codepaths related to mining will need to be backwards-compatible with the bitcoincash: prefix.