Skip to content

Detect DCP0005 activation. - #2650

Open
jholdstock wants to merge 2 commits into
decred:masterfrom
jholdstock:dcp005
Open

Detect DCP0005 activation. #2650
jholdstock wants to merge 2 commits into
decred:masterfrom
jholdstock:dcp005

Conversation

@jholdstock

Copy link
Copy Markdown
Member

Using a hard-coded value for the activation height of DCP0005 means the correct merkle root func can be executed first time rather than brute forcing through an error to find the correct one.

As suggested by @davecgh in this comment

Also taking the opportunity to clean up some ancient references to testnet2.

testnet2 has been defunct since 2018.
Using a hard-coded value for the activation height of DCP0005 means the
correct merkle root func can be executed first time rather than brute
forcing through an error to find the correct one.
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.

2 participants