|
|
@ -76,6 +76,7 @@ Install deps on Linux: |
|
|
|
- Comment out the HUSHVER line and uncomment the line above it with a hardcoded version number |
|
|
|
- PROTIP: Man page creation must be done after updating the version number and recompiling and before Debian package creation |
|
|
|
- Update checkpoints in src/chainparams.cpp via util/checkpoints.pl |
|
|
|
- Run "./util/checkpoints.pl help" to get example usage |
|
|
|
- hushd must be running to run this script, since it uses hush-cli to get the data |
|
|
|
- Look for line which says "END HUSH mainnet checkpoint data" near line 560 in chainparams.cpp , that is where checkpoint data ends |
|
|
|
- Find the highest block height of checkpoint data, let's call it HEIGHT |
|
|
@ -95,6 +96,7 @@ Install deps on Linux: |
|
|
|
- They only provide limited security, because they talk about the past, not future block heights. |
|
|
|
- Try to generate checkpoints as close to the release as possible, so you can have a recent block height be protected. |
|
|
|
- For instance, don't update checkpoints and then do a release a month later. You can always update checkpoint data again or multiple times |
|
|
|
- DRAGONX now has checkpoints, you can generate them with: `./util/checkpoints.pl 1000 1 DRAGONX` |
|
|
|
- Update copyright years if applicable. Example: `./util/update-copyrights.h 2022 2023` |
|
|
|
- Update doc/relnotes/README.md |
|
|
|
- To get the stats of file changes: `git diff --stat master...dev` |
|
|
|