Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc_p2p_getavaaddr.py
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | def on_avapoll(self, message): | ||||
super().on_avapoll(message) | super().on_avapoll(message) | ||||
class AvaAddrTest(BitcoinTestFramework): | class AvaAddrTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = False | self.setup_clean_chain = False | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.extra_args = [['-enableavalanche=1', | self.extra_args = [['-enableavalanche=1', | ||||
'-avaproofstakeutxodustthreshold=1000000', | |||||
'-enableavalanchepeerdiscovery=1', | '-enableavalanchepeerdiscovery=1', | ||||
'-enableavalancheproofreplacement=1', | '-enableavalancheproofreplacement=1', | ||||
'-avaproofstakeutxoconfirmations=1', | '-avaproofstakeutxoconfirmations=1', | ||||
'-avacooldown=0', '-whitelist=noban@127.0.0.1']] | '-avacooldown=0', '-whitelist=noban@127.0.0.1']] | ||||
def check_all_peers_received_getavaaddr_once(self, avapeers): | def check_all_peers_received_getavaaddr_once(self, avapeers): | ||||
def received_all_getavaaddr(avapeers): | def received_all_getavaaddr(avapeers): | ||||
with p2p_lock: | with p2p_lock: | ||||
▲ Show 20 Lines • Show All 377 Lines • Show Last 20 Lines |