Skip to content

Commit

Permalink
Update documentation related to changing the end-of-service halt.
Browse files Browse the repository at this point in the history
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
  • Loading branch information
nuttycom and daira committed Aug 22, 2024
1 parent 4d28840 commit 1d0955e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions doc/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ Examples:
Ordinarily, we choose a release height that is a couple hundred blocks in
the future in order to give time for CI to run.

If it is necessary that the version you are building reach its end-of-service
halt in less time than the ordinary 16 weeks, it may be necessary to modify
the value of the `RELEASE_TO_DEPRECATION_WEEKS` constant in `deprecation.h`
prior to running `make-release.py`.

### Create, Review, and Merge the release branch pull request

Review the automated changes in git:
Expand Down
5 changes: 3 additions & 2 deletions src/deprecation.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@

// Deprecation policy:
// Per https://zips.z.cash/zip-0200
// Shut down nodes running this version of code, 16 weeks' worth of blocks after the estimated
// release block height. A warning is shown during the 14 days' worth of blocks prior to shut down.
// Shut down nodes running this version of code, `RELEASE_TO_DEPRECATION_WEEKS` weeks' worth
// of blocks after the estimated release block height. A warning is shown during the 14 days'
// worth of blocks prior to shut down.
static const int APPROX_RELEASE_HEIGHT = 2619960;
static const int RELEASE_TO_DEPRECATION_WEEKS = 10;
static const int EXPECTED_BLOCKS_PER_HOUR = 3600 / Consensus::POST_BLOSSOM_POW_TARGET_SPACING;
Expand Down

0 comments on commit 1d0955e

Please sign in to comment.