Skip to content

Conversation

@codablock
Copy link

This PR backports BIP147 from Bitcoin and adds Dash specific BIP9 deployment code.

I was not sure about the parameters for the BIP9 soft fork logic, review and suggestions appreciated.
Bitcoin reused the SegWit soft fork to activate BIP147, so it was easier for them deploy this new enforcement. As we don't have SegWit deployment code, we have to introduce our own deployment.

If anything else comes up before the next release which also requires a soft fork, I'd suggest to rename the deployment to a more generic one and put it into it as well.

@UdjinM6 UdjinM6 added this to the 12.3 milestone Jan 31, 2018
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@UdjinM6 UdjinM6 merged commit 5046378 into dashpay:develop Jan 31, 2018
@codablock codablock deleted the pr_bip147_nulldummy branch January 31, 2018 11:07
@thephez thephez mentioned this pull request Feb 5, 2018
3 tasks

// Deployment of BIP147
consensus.vDeployments[Consensus::DEPLOYMENT_BIP147].bit = 2;
consensus.vDeployments[Consensus::DEPLOYMENT_BIP147].nStartTime = 1519952400; // Feb 30th, 2018
Copy link
Collaborator

@thephez thephez Feb 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feb 30th? ;-) Think this comment should be March 2

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feb 30 is perfectly fine, it's just going to be a veeeeery long winter ☃️

:D

// Deployment of BIP147
consensus.vDeployments[Consensus::DEPLOYMENT_BIP147].bit = 2;
consensus.vDeployments[Consensus::DEPLOYMENT_BIP147].nStartTime = 1519952400; // Feb 30th, 2018
consensus.vDeployments[Consensus::DEPLOYMENT_BIP147].nTimeout = 1551488400; // Feb 30th, 2019
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto here - Feb 30th -> Mar 2nd

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