Changeset View
Changeset View
Standalone View
Standalone View
qa/rpc-tests/abc-p2p-fullblocktest.py
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | def __init__(self): | ||||
self.block_heights = {} | self.block_heights = {} | ||||
self.coinbase_key = CECKey() | self.coinbase_key = CECKey() | ||||
self.coinbase_key.set_secretbytes(b"fatstacks") | self.coinbase_key.set_secretbytes(b"fatstacks") | ||||
self.coinbase_pubkey = self.coinbase_key.get_pubkey() | self.coinbase_pubkey = self.coinbase_key.get_pubkey() | ||||
self.tip = None | self.tip = None | ||||
self.blocks = {} | self.blocks = {} | ||||
def setup_network(self): | def setup_network(self): | ||||
self.extra_args = [['-debug', | self.extra_args = [['-norelaypriority', | ||||
'-norelaypriority', | |||||
'-whitelist=127.0.0.1', | '-whitelist=127.0.0.1', | ||||
'-limitancestorcount=9999', | '-limitancestorcount=9999', | ||||
'-limitancestorsize=9999', | '-limitancestorsize=9999', | ||||
'-limitdescendantcount=9999', | '-limitdescendantcount=9999', | ||||
'-limitdescendantsize=9999', | '-limitdescendantsize=9999', | ||||
'-maxmempool=999', | '-maxmempool=999', | ||||
"-excessiveblocksize=%d" | "-excessiveblocksize=%d" | ||||
% self.excessive_block_size]] | % self.excessive_block_size]] | ||||
▲ Show 20 Lines • Show All 425 Lines • Show Last 20 Lines |