Changeset View
Changeset View
Standalone View
Standalone View
test/functional/p2p_inv_download.py
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
# Python test constants | # Python test constants | ||||
NUM_INBOUND = 10 | NUM_INBOUND = 10 | ||||
class InventoryDownloadTest(BitcoinTestFramework): | class InventoryDownloadTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = False | self.setup_clean_chain = False | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.extra_args = [['-ecash'], []] | |||||
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 | ||||
self.log.info("Announce the invid from each incoming peer to node 0") | self.log.info("Announce the invid from each incoming peer to node 0") | ||||
▲ Show 20 Lines • Show All 256 Lines • Show Last 20 Lines |