fix: adjust nWindowSize and nThresholdStart and nThresholdMin (#4786)

This commit is contained in:
PastaPastaPasta 2022-04-20 13:12:58 -05:00 committed by GitHub
parent f2704eae34
commit 608a099c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -468,9 +468,9 @@ public:
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].bit = 7;
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nStartTime = 1649980800; // Friday, April 15, 2022 0:00:00
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nTimeout = 999999999999ULL;
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nWindowSize = 4032;
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nThresholdStart = 3226; // 80% of 4032
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nThresholdMin = 2420; // 60% of 4032
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nWindowSize = 100;
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nThresholdStart = 80; // 80% of 100
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nThresholdMin = 60; // 60% of 100
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0024].nFalloffCoeff = 5; // this corresponds to 10 periods
// The best chain should have at least this much work.