Skip to content

Commit

Permalink
Fix deprecation policy comment.
Browse files Browse the repository at this point in the history
Thanks to @daira for spotting this and suggesting the correct policy.
  • Loading branch information
jasondavies committed Aug 15, 2017
1 parent 02dd675 commit d6252a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/deprecation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d6252a9

Please sign in to comment.