diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2024-08-16 09:07:16 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2024-08-20 10:07:30 +0200 |
commit | dd154b05689c60fad45df0df6d31cec12e09ab21 (patch) | |
tree | a4de91fe3adc8d796a977df902bb39de4bba7531 /test/functional/rpc_blockchain.py | |
parent | d79ea809d28197b1b4e3748aa1715272b53601d0 (diff) |
consensus: lower regtest nPowTargetTimespan to 144
This currently has no effect due to fPowNoRetargeting,
except for the getnetworkhashps when called with -1.
It will when the next commit enforces the timewarp attack mitigation on regtest.
Diffstat (limited to 'test/functional/rpc_blockchain.py')
-rwxr-xr-x | test/functional/rpc_blockchain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_blockchain.py b/test/functional/rpc_blockchain.py index e5aca7f138..98147237b1 100755 --- a/test/functional/rpc_blockchain.py +++ b/test/functional/rpc_blockchain.py @@ -58,7 +58,7 @@ TIME_RANGE_STEP = 600 # ten-minute steps TIME_RANGE_MTP = TIME_GENESIS_BLOCK + (HEIGHT - 6) * TIME_RANGE_STEP TIME_RANGE_TIP = TIME_GENESIS_BLOCK + (HEIGHT - 1) * TIME_RANGE_STEP TIME_RANGE_END = TIME_GENESIS_BLOCK + HEIGHT * TIME_RANGE_STEP -DIFFICULTY_ADJUSTMENT_INTERVAL = 2016 +DIFFICULTY_ADJUSTMENT_INTERVAL = 144 class BlockchainTest(BitcoinTestFramework): |