X-Git-Url: https://repo.jachan.dev/VerusCoin.git/blobdiff_plain/e209ba49511a5f892b620e17483191a5976de251..81389fc7b425949e553cf76b0f568b1011c43309:/src/deprecation.h diff --git a/src/deprecation.h b/src/deprecation.h index f109384a9..78ed8ebda 100644 --- a/src/deprecation.h +++ b/src/deprecation.h @@ -5,13 +5,15 @@ #ifndef ZCASH_DEPRECATION_H #define ZCASH_DEPRECATION_H -// Deprecation policy is 4th third-Tuesday after a release -static const int APPROX_RELEASE_HEIGHT = 115000; -static const int WEEKS_UNTIL_DEPRECATION = 18; +// Deprecation policy: +// * Shut down 16 weeks' worth of blocks after the estimated release block height. +// * A warning is shown during the 2 weeks' worth of blocks prior to shut down. +static const int APPROX_RELEASE_HEIGHT = 800000; +static const int WEEKS_UNTIL_DEPRECATION = 52; static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 24); // Number of blocks before deprecation to warn users -static const int DEPRECATION_WARN_LIMIT = 14 * 24 * 24; // 2 weeks +static const int DEPRECATION_WARN_LIMIT = 60 * 24 * 60; // 2 months /** * Checks whether the node is deprecated based on the current block height, and