From ae17dc194f697c75783b757a05119059d5e6333b Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Thu, 8 Dec 2022 23:29:32 +0300 Subject: [PATCH] chore: update defaults for testnet fork at 794921 (#5097) * fix: set nMinimumChainWork and defaultAssumeValid to match post-fork 794950 * chore: add post-fork checkpoint at 794950 --- src/chainparams.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 838a8d5af7..64ab326b50 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -493,10 +493,10 @@ public: consensus.vDeployments[Consensus::DEPLOYMENT_V19].nFalloffCoeff = 5; // this corresponds to 10 periods // The best chain should have at least this much work. - consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000000002d68c333d26a1b3"); // 817000 + consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000000002d68be93ade9d82"); // 794950 // By default assume that the signatures in ancestors of this block are valid. - consensus.defaultAssumeValid = uint256S("0x000000b572cdcda2a0135e45c88d428c4fec859939f0023a39bb9a83e8b4f550"); // 817000 + consensus.defaultAssumeValid = uint256S("0x000001860e4c7248a9c5cc3bc7106041750560dc5cd9b3a2641b49494bcff5f2"); // 794950 pchMessageStart[0] = 0xce; pchMessageStart[1] = 0xe2; @@ -571,6 +571,7 @@ public: {200000, uint256S("0x000000001015eb5ef86a8fe2b3074d947bc972c5befe32b28dd5ce915dc0d029")}, {395750, uint256S("0x000008b78b6aef3fd05ab78db8b76c02163e885305545144420cb08704dce538")}, {470000, uint256S("0x0000009303aeadf8cf3812f5c869691dbd4cb118ad20e9bf553be434bafe6a52")}, + {794950, uint256S("0x000001860e4c7248a9c5cc3bc7106041750560dc5cd9b3a2641b49494bcff5f2")}, } };