Change auto-senescence cycle to 16 weeks

Closes #2686
This commit is contained in:
Jack Grigg 2017-11-15 00:37:02 +00:00
parent cbd823ae59
commit 66a9fd8b72
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
2 changed files with 3 additions and 2 deletions

View File

@ -50,6 +50,7 @@ Jack Grigg (36):
Fix NPE in rpc_wallet_tests
make-release.py: Versioning changes for 1.0.13-rc1.
make-release.py: Updated manpages for 1.0.13-rc1.
Change auto-senescence cycle to 16 weeks
Jason Davies (1):
Replace "bitcoin" with "Zcash".

View File

@ -6,10 +6,10 @@
#define ZCASH_DEPRECATION_H
// Deprecation policy:
// * Shut down 18 weeks' worth of blocks after the estimated release block height.
// * 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 = 219700;
static const int WEEKS_UNTIL_DEPRECATION = 18;
static const int WEEKS_UNTIL_DEPRECATION = 16;
static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 24);
// Number of blocks before deprecation to warn users