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

@@ -108,6 +108,10 @@ struct Params {
/** Proof of work parameters */
uint256 powLimit;
bool fPowAllowMinDifficultyBlocks;
/**
* Enfore BIP94 timewarp attack mitigation. On testnet4 this also enforces
* the block storm mitigation.
*/
bool enforce_BIP94;
bool fPowNoRetargeting;
int64_t nPowTargetSpacing;