Add RandomX activation height parameter
This commit is contained in:
parent
525f5e8aad
commit
5d6c7e2279
2 changed files with 5 additions and 0 deletions
|
|
@ -183,6 +183,7 @@ public:
|
||||||
consensus.asertActivationHeight = 6500;
|
consensus.asertActivationHeight = 6500;
|
||||||
consensus.asertHalfLife = 2 * 24 * 60 * 60;
|
consensus.asertHalfLife = 2 * 24 * 60 * 60;
|
||||||
consensus.fastRiseActivationHeight = 7000;
|
consensus.fastRiseActivationHeight = 7000;
|
||||||
|
consensus.randomXActivationHeight = std::numeric_limits<int>::max();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -225,6 +226,7 @@ public:
|
||||||
consensus.asertActivationHeight = 6500;
|
consensus.asertActivationHeight = 6500;
|
||||||
consensus.asertHalfLife = 2 * 24 * 60 * 60;
|
consensus.asertHalfLife = 2 * 24 * 60 * 60;
|
||||||
consensus.fastRiseActivationHeight = 7000;
|
consensus.fastRiseActivationHeight = 7000;
|
||||||
|
consensus.randomXActivationHeight = std::numeric_limits<int>::max();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -371,6 +373,7 @@ public:
|
||||||
consensus.fPowAllowMinDifficultyBlocks = false;
|
consensus.fPowAllowMinDifficultyBlocks = false;
|
||||||
consensus.fEasyPow = false;
|
consensus.fEasyPow = false;
|
||||||
consensus.fPowNoRetargeting = false;
|
consensus.fPowNoRetargeting = false;
|
||||||
|
consensus.randomXActivationHeight = std::numeric_limits<int>::max();
|
||||||
consensus.nRuleChangeActivationThreshold = 1815; // 90% of 2016
|
consensus.nRuleChangeActivationThreshold = 1815; // 90% of 2016
|
||||||
consensus.nMinerConfirmationWindow = 2016; // legacy Bitcoin confirmation window
|
consensus.nMinerConfirmationWindow = 2016; // legacy Bitcoin confirmation window
|
||||||
consensus.fRbfEnabled = false;
|
consensus.fRbfEnabled = false;
|
||||||
|
|
@ -460,6 +463,7 @@ public:
|
||||||
consensus.asertActivationHeight = 6500;
|
consensus.asertActivationHeight = 6500;
|
||||||
consensus.asertHalfLife = 2 * 24 * 60 * 60;
|
consensus.asertHalfLife = 2 * 24 * 60 * 60;
|
||||||
consensus.fastRiseActivationHeight = 7000;
|
consensus.fastRiseActivationHeight = 7000;
|
||||||
|
consensus.randomXActivationHeight = 1;
|
||||||
|
|
||||||
|
|
||||||
consensus.BIP65Height = 1351;
|
consensus.BIP65Height = 1351;
|
||||||
|
|
|
||||||
|
|
@ -124,6 +124,7 @@ struct Params {
|
||||||
int asertActivationHeight;
|
int asertActivationHeight;
|
||||||
int64_t asertHalfLife;
|
int64_t asertHalfLife;
|
||||||
int fastRiseActivationHeight;
|
int fastRiseActivationHeight;
|
||||||
|
int randomXActivationHeight;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue