Browse Source

Fix deprecation policy comment.

Thanks to @daira for spotting this and suggesting the correct policy.
pull/4/head
Jason Davies 7 years ago
parent
commit
d6252a9473
  1. 4
      src/deprecation.h

4
src/deprecation.h

@ -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);

Loading…
Cancel
Save