mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 23:07:59 +01:00
test: Avoid rpc timeout in p2p_headers_sync_with_minchainwork
This commit is contained in:
parent
a8c1ea50c7
commit
fa952fad2f
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue