Add Fast-Rise difficulty protection

This commit is contained in:
Capri 2026-09-09 20:38:21 +00:00
commit f8a8daaae5
Signed by: VextaProject
SSH key fingerprint: SHA256:739BZv8LvIDY2tR7lXLy/IQ6MaGTQtYcG9GNvCjmpVM
4 changed files with 245 additions and 1 deletions

View file

@ -182,6 +182,7 @@ public:
consensus.difficultyMaxActualTimespan = consensus.difficultyTargetTimespan * 116 / 100;
consensus.asertActivationHeight = 6500;
consensus.asertHalfLife = 2 * 24 * 60 * 60;
consensus.fastRiseActivationHeight = 7000;
@ -223,6 +224,7 @@ public:
consensus.difficultyMaxActualTimespan = consensus.difficultyTargetTimespan * 116 / 100;
consensus.asertActivationHeight = 6500;
consensus.asertHalfLife = 2 * 24 * 60 * 60;
consensus.fastRiseActivationHeight = 7000;
@ -457,6 +459,7 @@ public:
consensus.difficultyMaxActualTimespan = consensus.difficultyTargetTimespan * 116 / 100;
consensus.asertActivationHeight = 6500;
consensus.asertHalfLife = 2 * 24 * 60 * 60;
consensus.fastRiseActivationHeight = 7000;
consensus.BIP65Height = 1351;