Explain checkpoints a bit

This commit is contained in:
Duke Leto
2022-09-18 10:53:47 -04:00
parent 8e1ba0658d
commit 7036974042

View File

@@ -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. - 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" - 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 - 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 - Run ./contrib/devtools/gen-manpages.sh, commit + push results
- Update checkpoints in src/chainparams.cpp via contrib/checkpoints.pl - 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 - 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 man pages
- Update copyright years (if applicable) with contrib/devtools/replace.pl - Update copyright years (if applicable) with contrib/devtools/replace.pl
- Do a fresh clone and fresh sync with new checkpoints - Do a fresh clone and fresh sync with new checkpoints