Skip to content

Commit

Permalink
Merge #591: Add testdummy deployment for versionbits to squash warnings
Browse files Browse the repository at this point in the history
88b3802 Add testdummy deployment for versionbits to squash warnings (Gregory Sanders)

Pull request description:

  liquidv1 has a testdummy deployment like other common chains, sync this up.

Tree-SHA512: a4dfccc284e11bc3a69463fc553138c1b8d560d2bf9539679c815acea7754aca4fbd78ec3d23dbccd825c59da7cce8044d42b1dfbc2bff78c332556afdbaa7f3
  • Loading branch information
stevenroose committed Apr 22, 2019
2 parents 59def74 + 88b3802 commit b89a64c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,9 @@ class CLiquidV1Params : public CChainParams {
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nStartTime = Consensus::BIP9Deployment::ALWAYS_ACTIVE;
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;

consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].bit = 28;
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 0;
consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = Consensus::BIP9Deployment::NO_TIMEOUT;

// Finally, create genesis block
genesis = CreateGenesisBlock(consensus, CScript(commit), CScript(OP_RETURN), 1296688602, 2, 0x207fffff, 1, 0);
Expand Down

0 comments on commit b89a64c

Please sign in to comment.