Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib: Add script to bump min known chain work. #3419

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Aug 9, 2024

This requires #3416 and is rebased on #3418.

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.

@davecgh davecgh added this to the 2.1.0 milestone Aug 9, 2024
@davecgh davecgh force-pushed the contrib_devtools_bump_minknownchainwork branch from 2528955 to bbe4b8d Compare August 9, 2024 08:05
@davecgh davecgh force-pushed the contrib_devtools_bump_minknownchainwork branch from bbe4b8d to 69e6188 Compare August 12, 2024 17:06
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.
@davecgh davecgh force-pushed the contrib_devtools_bump_minknownchainwork branch from 69e6188 to 3790777 Compare August 12, 2024 17:32
@davecgh davecgh merged commit 3790777 into decred:master Aug 12, 2024
2 checks passed
@davecgh davecgh deleted the contrib_devtools_bump_minknownchainwork branch August 12, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants