consensus: enable BIP94 on regtest

This commit is contained in:
Sjors Provoost
2024-08-15 17:13:33 +02:00
parent dd154b0568
commit e85f386c4b
4 changed files with 10 additions and 2 deletions

View File

@@ -540,7 +540,7 @@ public:
consensus.nPowTargetTimespan = 24 * 60 * 60; // one day
consensus.nPowTargetSpacing = 10 * 60;
consensus.fPowAllowMinDifficultyBlocks = true;
consensus.enforce_BIP94 = false;
consensus.enforce_BIP94 = true;
consensus.fPowNoRetargeting = true;
consensus.nRuleChangeActivationThreshold = 108; // 75% for testchains
consensus.nMinerConfirmationWindow = 144; // Faster than normal for regtest (144 instead of 2016)