diff --git a/doc/release-notes.md b/doc/release-notes.md --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -6,3 +6,4 @@ - The RPC `getrpcinfo` returns runtime details of the RPC server. At the moment it returns the active commands and the corresponding execution time. +- Bump automatic replay protection to Nov 2020 upgrade. diff --git a/src/chainparams.cpp b/src/chainparams.cpp --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -134,6 +134,9 @@ // May 15, 2020 12:00:00 UTC protocol upgrade consensus.phononActivationTime = 1589544000; + // Nov 15, 2020 12:00:00 UTC protocol upgrade + consensus.axionActivationTime = 1605441600; + /** * The message start string is designed to be unlikely to occur in * normal data. The characters are rarely used upper ASCII, not valid as @@ -318,6 +321,9 @@ // May 15, 2020 12:00:00 UTC protocol upgrade consensus.phononActivationTime = 1589544000; + // Nov 15, 2020 12:00:00 UTC protocol upgrade + consensus.axionActivationTime = 1605441600; + diskMagic[0] = 0x0b; diskMagic[1] = 0x11; diskMagic[2] = 0x09; @@ -453,6 +459,9 @@ // May 15, 2020 12:00:00 UTC protocol upgrade consensus.phononActivationTime = 1589544000; + // Nov 15, 2020 12:00:00 UTC protocol upgrade + consensus.axionActivationTime = 1605441600; + 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 @@ -80,6 +80,8 @@ int gravitonHeight; /** Unix time used for MTP activation of 15 May 2020 12:00:00 UTC upgrade */ int phononActivationTime; + /** Unix time used for MTP activation of 15 Nov 2020 12:00:00 UTC upgrade */ + int axionActivationTime; /** * Don't warn about unknown BIP 9 activations below this height. diff --git a/src/validation.cpp b/src/validation.cpp --- a/src/validation.cpp +++ b/src/validation.cpp @@ -460,7 +460,7 @@ static bool IsReplayProtectionEnabled(const Consensus::Params ¶ms, int64_t nMedianTimePast) { return nMedianTimePast >= gArgs.GetArg("-replayprotectionactivationtime", - params.phononActivationTime); + params.axionActivationTime); } static bool IsReplayProtectionEnabled(const Consensus::Params ¶ms,