This adds a script to contrib/devtools that queries the main and test networks with dcrctl and jq to determine their current best known chain work values and then creates a git commit on a new branch that updates the chaincfg/mainnetparams.go and chaincfg/testnetparams.go files accordingly. The commit description includes the relevant details and instructions for others to verify the results.
This requires #3416 and is rebased on #3418.
This adds a script to
contrib/devtools
that queries the main and test networks withdcrctl
andjq
to determine their current best known chain work values and then creates agit
commit on a new branch that updates thechaincfg/mainnetparams.go
andchaincfg/testnetparams.go
files accordingly. The commit description includes the relevant details and instructions for others to verify the results.