Skip to content

Commit c6b959e

Browse files
committed
Merge #8937: Define start and end time for segwit deployment
f9c23de Define start and end time for segwit deployment (Pieter Wuille)
2 parents c901113 + f9c23de commit c6b959e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/chainparams.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ class CMainParams : public CChainParams {
9191
consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nStartTime = 1462060800; // May 1st, 2016
9292
consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nTimeout = 1493596800; // May 1st, 2017
9393

94-
// Deployment of SegWit (BIP141 and BIP143)
94+
// Deployment of SegWit (BIP141, BIP143, and BIP147)
9595
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].bit = 1;
96-
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nStartTime = 0;
97-
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 0; // Never / undefined
96+
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nStartTime = 1479168000; // November 15th, 2016.
97+
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 1510704000; // November 15th, 2017.
9898

9999
/**
100100
* The message start string is designed to be unlikely to occur in normal data.
@@ -186,7 +186,7 @@ class CTestNetParams : public CChainParams {
186186
consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nStartTime = 1456790400; // March 1st, 2016
187187
consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nTimeout = 1493596800; // May 1st, 2017
188188

189-
// Deployment of SegWit (BIP141 and BIP143)
189+
// Deployment of SegWit (BIP141, BIP143, and BIP147)
190190
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].bit = 1;
191191
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nStartTime = 1462060800; // May 1st 2016
192192
consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 1493596800; // May 1st 2017

src/consensus/params.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ enum DeploymentPos
1616
{
1717
DEPLOYMENT_TESTDUMMY,
1818
DEPLOYMENT_CSV, // Deployment of BIP68, BIP112, and BIP113.
19-
DEPLOYMENT_SEGWIT, // Deployment of BIP141 and BIP143
19+
DEPLOYMENT_SEGWIT, // Deployment of BIP141, BIP143, and BIP147.
2020
// NOTE: Also add new deployments to VersionBitsDeploymentInfo in versionbits.cpp
2121
MAX_VERSION_BITS_DEPLOYMENTS
2222
};

0 commit comments

Comments
 (0)