mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
test: Avoid rpc timeout in p2p_headers_sync_with_minchainwork
This commit is contained in:
parent
a8c1ea50c7
commit
fa952fad2f
@ -27,6 +27,7 @@ NODE2_BLOCKS_REQUIRED = 2047
|
||||
|
||||
class RejectLowDifficultyHeadersTest(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.rpc_timeout *= 4 # To avoid timeout when generating BLOCKS_TO_MINE
|
||||
self.setup_clean_chain = True
|
||||
self.num_nodes = 4
|
||||
# Node0 has no required chainwork; node1 requires 15 blocks on top of the genesis block; node2 requires 2047
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user