consensus: enable BIP94 on regtest

This commit is contained in:
Sjors Provoost committed 2024-08-20 13:25:00 +02:00
1 parent dd154b0568
commit e85f386c4b
4 files changed
+10 -2

No files matched your search

+1 -1
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)