Changeset View
Changeset View
Standalone View
Standalone View
test/functional/abc-p2p-compactblocks.py
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | class FullBlockTest(ComparisonTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.block_heights = {} | self.block_heights = {} | ||||
self.tip = None | self.tip = None | ||||
self.blocks = {} | self.blocks = {} | ||||
self.excessive_block_size = 16 * ONE_MEGABYTE | self.excessive_block_size = 16 * ONE_MEGABYTE | ||||
self.extra_args = [['-norelaypriority', | self.extra_args = [['-norelaypriority', | ||||
'-whitelist=127.0.0.1', | |||||
'-limitancestorcount=999999', | '-limitancestorcount=999999', | ||||
'-limitancestorsize=999999', | '-limitancestorsize=999999', | ||||
'-limitdescendantcount=999999', | '-limitdescendantcount=999999', | ||||
'-limitdescendantsize=999999', | '-limitdescendantsize=999999', | ||||
'-maxmempool=99999', | '-maxmempool=99999', | ||||
"-excessiveblocksize=%d" % self.excessive_block_size]] | "-excessiveblocksize=%d" % self.excessive_block_size]] | ||||
def add_options(self, parser): | def add_options(self, parser): | ||||
▲ Show 20 Lines • Show All 297 Lines • Show Last 20 Lines |