Changeset View
Changeset View
Standalone View
Standalone View
test/functional/p2p_inv_download.py
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | def decorator(test): | ||||
return wrapper | return wrapper | ||||
return decorator | return decorator | ||||
class InventoryDownloadTest(BitcoinTestFramework): | class InventoryDownloadTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.extra_args = [['-enableavalanche=1', | self.extra_args = [['-enableavalanche=1', | ||||
'-avaproofstakeutxoconfirmations=0', | |||||
'-avacooldown=0']] * self.num_nodes | '-avacooldown=0']] * self.num_nodes | ||||
def test_data_requests(self, context): | def test_data_requests(self, context): | ||||
self.log.info( | self.log.info( | ||||
"Test that we request data from all our peers, eventually") | "Test that we request data from all our peers, eventually") | ||||
invid = 0xdeadbeef | invid = 0xdeadbeef | ||||
▲ Show 20 Lines • Show All 353 Lines • Show Last 20 Lines |