Auto merge of #2570 - jasondavies:fix-deprecation-comment, r=str4d

Fix deprecation policy comment.

Thanks to @daira for spotting this and suggesting the correct policy.

Feel free to adjust wording, this is primarily to track the issue and suggest a potential fix.
This commit is contained in:
Homu 2017-09-04 14:35:39 -07:00
commit 053fafc21a
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@
#ifndef ZCASH_DEPRECATION_H
#define ZCASH_DEPRECATION_H
// Deprecation policy is 4th third-Tuesday after a release
// Deprecation policy:
// * Shut down 18 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 = 167200;
static const int WEEKS_UNTIL_DEPRECATION = 18;
static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 24);