Set the deprecation height manually to roughly July 14th.

This commit is contained in:
Sean Bowe 2020-05-08 13:28:55 -06:00
parent 98345b2ead
commit 1e945ee82a
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
1 changed files with 3 additions and 2 deletions

View File

@ -9,8 +9,9 @@
// * 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 = 824273;
static const int WEEKS_UNTIL_DEPRECATION = 16;
static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 48);
// static const int WEEKS_UNTIL_DEPRECATION = 16;
// static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 48);
static const int DEPRECATION_HEIGHT = 901475;
// Number of blocks before deprecation to warn users
static const int DEPRECATION_WARN_LIMIT = 14 * 24 * 48; // 2 weeks