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
Enable ZIP 216 for blocks prior to NU5 activation #6000
Changes from all commits
6c51df3
458e773
1677ab6
cc78bf7
ec3d2e5
af2b3d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,7 +135,8 @@ class CMainParams : public CChainParams { | |
uint256S("00000000002038016f976744c369dce7419fca30e7171dfac703af5e5f7ad1d4"); | ||
consensus.vUpgrades[Consensus::UPGRADE_NU5].nProtocolVersion = 170100; | ||
consensus.vUpgrades[Consensus::UPGRADE_NU5].nActivationHeight = 1687104; | ||
|
||
consensus.vUpgrades[Consensus::UPGRADE_NU5].hashActivationBlock = | ||
uint256S("0000000000d723156d9b65ffcf4984da7a19675ed7e2f06d9e5d5188af087bf8"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I checked this hash. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I also checked this hash. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't check this hash. |
||
consensus.vUpgrades[Consensus::UPGRADE_ZFUTURE].nProtocolVersion = 0x7FFFFFFF; | ||
consensus.vUpgrades[Consensus::UPGRADE_ZFUTURE].nActivationHeight = | ||
Consensus::NetworkUpgrade::NO_ACTIVATION_HEIGHT; | ||
|
@@ -239,7 +240,7 @@ class CMainParams : public CChainParams { | |
} | ||
|
||
// The best chain should have at least this much work. | ||
consensus.nMinimumChainWork = uint256S("00000000000000000000000000000000000000000000000004a90edff47bbdc6"); | ||
consensus.nMinimumChainWork = uint256S("000000000000000000000000000000000000000000000000098e5c63248dcb28"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did not check this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I confirmed that this minimum chain work is greater than the chain work at the NU5 activation block, as required. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't check this either. |
||
|
||
/** | ||
* The message start string should be awesome! ⓩ❤ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying to keep this alphabetical 😅 I'll fix the ordering in my next PR that adds something here.