Browse Source

Explain checkpoints a bit

abortrescan
Duke Leto 2 years ago
parent
commit
7036974042
  1. 4
      doc/release-process.md

4
doc/release-process.md

@ -61,10 +61,12 @@ Install deps on Linux:
- To make a pre-release "beta" you can modify `CLIENT_VERSION_BUILD` but that is rarely done in Hush world.
- A `CLIENT_VERSION_BUILD` of 50 means "actual non-beta release"
- Make sure to keep the values in configure.ac and src/clientversion.h the same. The variables are prefixed wth an underscore in configure.ac
- Update checkpoints
- Run ./contrib/devtools/gen-manpages.sh, commit + push results
- Update checkpoints in src/chainparams.cpp via contrib/checkpoints.pl
- checkpoints.pl will just generate the data you need, it must be manually copied into the correct place
- Checkpoint are a list of block heights and block hashes that tell a full node the correct block history of the blockchain
- Checkpoints make block verification a bit faster, because nodes can say "is this block a descendant of a checkpoint block" instead of doing full consensus checks, which take more time
- Checkpoints also provide a bit of security against some attacks that would create malicious chainforks
- Update man pages
- Update copyright years (if applicable) with contrib/devtools/replace.pl
- Do a fresh clone and fresh sync with new checkpoints

Loading…
Cancel
Save