diff --git a/doc/release-notes.md b/doc/release-notes.md --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -2,4 +2,5 @@ -This release includes the following features and fixes: \ No newline at end of file +This release includes the following features and fixes: + - Bump automatic replay protection to November 2019 upgrade diff --git a/src/chainparams.cpp b/src/chainparams.cpp --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -134,6 +134,9 @@ // Wed, 15 May 2019 12:00:00 UTC hard fork consensus.greatWallActivationTime = 1557921600; + // Nov 15, 2019 12:00:00 UTC protocol upgrade + consensus.gravitonActivationTime = 1573819200; + /** * The message start string is designed to be unlikely to occur in * normal data. The characters are rarely used upper ASCII, not valid as @@ -305,6 +308,9 @@ // Wed, 15 May 2019 12:00:00 UTC hard fork consensus.greatWallActivationTime = 1557921600; + // Nov 15, 2019 12:00:00 UTC protocol upgrade + consensus.gravitonActivationTime = 1573819200; + diskMagic[0] = 0x0b; diskMagic[1] = 0x11; diskMagic[2] = 0x09; @@ -425,6 +431,9 @@ // Wed, 15 May 2019 12:00:00 UTC hard fork consensus.greatWallActivationTime = 1557921600; + // Nov 15, 2019 12:00:00 UTC protocol upgrade + consensus.gravitonActivationTime = 1573819200; + diskMagic[0] = 0xfa; diskMagic[1] = 0xbf; diskMagic[2] = 0xb5; diff --git a/src/consensus/params.h b/src/consensus/params.h --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -58,6 +58,8 @@ int magneticAnomalyHeight; /** Unix time used for MTP activation of 15 May 2019 12:00:00 UTC upgrade */ int greatWallActivationTime; + /** Unix time used for MTP activation of Nov 15 2019 12:00:00 UTC upgrade */ + int gravitonActivationTime; /** * Minimum blocks including miner confirmation of the total of 2016 blocks * in a retargeting period, (nPowTargetTimespan / nPowTargetSpacing) which diff --git a/src/validation.cpp b/src/validation.cpp --- a/src/validation.cpp +++ b/src/validation.cpp @@ -319,7 +319,7 @@ return nMedianTimePast >= gArgs.GetArg( "-replayprotectionactivationtime", - config.GetChainParams().GetConsensus().greatWallActivationTime); + config.GetChainParams().GetConsensus().gravitonActivationTime); } static bool IsReplayProtectionEnabled(const Config &config,