Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc_rpc_getavalanchepeerinfo.py
Show All 15 Lines | |||||
from test_framework.wallet_util import bytes_to_wif | from test_framework.wallet_util import bytes_to_wif | ||||
class GetAvalanchePeerInfoTest(BitcoinTestFramework): | class GetAvalanchePeerInfoTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.extra_args = [['-enableavalanche=1', | self.extra_args = [['-enableavalanche=1', | ||||
'-avaproofstakeutxodustthreshold=1000000', | |||||
'-avaproofstakeutxoconfirmations=1', | '-avaproofstakeutxoconfirmations=1', | ||||
'-avacooldown=0']] | '-avacooldown=0']] | ||||
def run_test(self): | def run_test(self): | ||||
node = self.nodes[0] | node = self.nodes[0] | ||||
peercount = 5 | peercount = 5 | ||||
nodecount = 10 | nodecount = 10 | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |