Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc_wallet_standardness.py
Show All 24 Lines | from test_framework.script import ( | ||||
hash160, | hash160, | ||||
) | ) | ||||
from test_framework.test_framework import BitcoinTestFramework | from test_framework.test_framework import BitcoinTestFramework | ||||
from test_framework.util import ( | from test_framework.util import ( | ||||
assert_raises_rpc_error, | assert_raises_rpc_error, | ||||
assert_equal, | assert_equal, | ||||
) | ) | ||||
SATOSHI = Decimal('0.00000001') | SATOSHI = Decimal('0.01') | ||||
class WalletStandardnessTest(BitcoinTestFramework): | class WalletStandardnessTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.extra_args = [['-acceptnonstdtxn=0'], ['-acceptnonstdtxn=1']] | self.extra_args = [['-acceptnonstdtxn=0'], ['-acceptnonstdtxn=1']] | ||||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |