diff --git a/chaincfg/params.go b/chaincfg/params.go index 451683de..fba88cc1 100644 --- a/chaincfg/params.go +++ b/chaincfg/params.go @@ -85,6 +85,11 @@ const ( // purposes. DeploymentTestDummy = iota + // DeploymentCSV defines the rule change deployment ID for the CSV + // soft-fork package. The CSV package includes the depolyment of BIPS + // 68, 112, and 113. + DeploymentCSV + // NOTE: DefinedDeployments must always come last since it is used to // determine how many defined deployments there currently are. @@ -270,6 +275,11 @@ var MainNetParams = Params{ StartTime: 1199145601, // January 1, 2008 UTC ExpireTime: 1230767999, // December 31, 2008 UTC }, + DeploymentCSV: { + BitNumber: 0, + StartTime: 1462060800, // May 1st, 2016 + ExpireTime: 1493596800, // May 1st, 2017 + }, }, // Mempool parameters @@ -330,6 +340,11 @@ var RegressionNetParams = Params{ StartTime: 0, // Always available for vote ExpireTime: math.MaxInt64, // Never expires }, + DeploymentCSV: { + BitNumber: 0, + StartTime: 0, // Always available for vote + ExpireTime: math.MaxInt64, // Never expires + }, }, // Mempool parameters @@ -407,6 +422,11 @@ var TestNet3Params = Params{ StartTime: 1199145601, // January 1, 2008 UTC ExpireTime: 1230767999, // December 31, 2008 UTC }, + DeploymentCSV: { + BitNumber: 0, + StartTime: 1456790400, // March 1st, 2016 + ExpireTime: 1493596800, // May 1st, 2017 + }, }, // Mempool parameters @@ -471,6 +491,11 @@ var SimNetParams = Params{ StartTime: 0, // Always available for vote ExpireTime: math.MaxInt64, // Never expires }, + DeploymentCSV: { + BitNumber: 0, + StartTime: 0, // Always available for vote + ExpireTime: math.MaxInt64, // Never expires + }, }, // Mempool parameters