From a9da96f1e9b56f406cbbc5d28e73a3795e0220c1 Mon Sep 17 00:00:00 2001 From: tecnovert Date: Wed, 6 Sep 2023 23:13:39 +0200 Subject: [PATCH] validation: New checkpoints --- src/kernel/chainparams.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp index f04d23782b236..0977e83aafb3a 100644 --- a/src/kernel/chainparams.cpp +++ b/src/kernel/chainparams.cpp @@ -553,8 +553,8 @@ class CMainParams : public CChainParams { consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].min_activation_height = 709632; // Approximately November 12th, 2021 // The best chain should have at least this much work. - consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000145171faadac2f9b695"); - consensus.defaultAssumeValid = uint256S("0xf47bc3f695a6e16196babdc8a1e21974622c288bba808ce30efcaf86a28099bd"); // 1412800 + consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000162b955b3b6076befd8"); + consensus.defaultAssumeValid = uint256S("0x3e1f03d1f294a04ffc3aa8e8a2ed6bc150c66d7806c79c10808637a12ae74690"); // 1503450 consensus.nMinRCTOutputDepth = 12; @@ -665,6 +665,7 @@ class CMainParams : public CChainParams { { 1236270, uint256S("0xb35f0e0cde108c282380d6850bae83c1fd2e961781e2289e2b2cd3d17ff039ab")}, { 1303280, uint256S("0x6d3abd8a80371e78957cc30af3e84c45c44b2eb26175b50c5ba7ebc9e990189c")}, { 1412800, uint256S("0xf47bc3f695a6e16196babdc8a1e21974622c288bba808ce30efcaf86a28099bd")}, + { 1503450, uint256S("0x3e1f03d1f294a04ffc3aa8e8a2ed6bc150c66d7806c79c10808637a12ae74690")}, } }; @@ -673,9 +674,9 @@ class CMainParams : public CChainParams { }; chainTxData = ChainTxData{ - // Data from rpc: getchaintxstats 4096 f47bc3f695a6e16196babdc8a1e21974622c288bba808ce30efcaf86a28099bd - .nTime = 1682352576, - .nTxCount = 1798425, + // Data from rpc: getchaintxstats 4096 3e1f03d1f294a04ffc3aa8e8a2ed6bc150c66d7806c79c10808637a12ae74690 + .nTime = 1694033952, + .nTxCount = 1928428, .dTxRate = 0.01, }; } @@ -736,8 +737,8 @@ class CTestNetParams : public CChainParams { consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].min_activation_height = 0; // No activation delay // The best chain should have at least this much work. - consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000021cf0b6748b46006ae"); - consensus.defaultAssumeValid = uint256S("0x894e4e80612341dca2e90f259fe7b006c982175833c4229c3d1782b37176a727"); // 1339440 + consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000025b558c352188569b2"); + consensus.defaultAssumeValid = uint256S("0x8178aa5369953e3fd3c9f0e23db18c631909c7037eb9f5a151ef6b95b2396722"); // 1430095 consensus.nMinRCTOutputDepth = 12; @@ -825,6 +826,7 @@ class CTestNetParams : public CChainParams { {1162920, uint256S("0x01bbfe87e90af03e6daa171611fe342403a7ebb7f4703342f34fdeb613b3ecbc")}, {1230000, uint256S("0xab3724205826d2e38f0a12e1938d4825e3ba6f983ee74a08f2af33918bb53122")}, {1339440, uint256S("0x894e4e80612341dca2e90f259fe7b006c982175833c4229c3d1782b37176a727")}, + {1430095, uint256S("0x8178aa5369953e3fd3c9f0e23db18c631909c7037eb9f5a151ef6b95b2396722")}, } }; @@ -833,9 +835,9 @@ class CTestNetParams : public CChainParams { }; chainTxData = ChainTxData{ - // Data from rpc: getchaintxstats 4096 894e4e80612341dca2e90f259fe7b006c982175833c4229c3d1782b37176a727 - .nTime = 1682352976, - .nTxCount = 1405292, + // Data from rpc: getchaintxstats 4096 8178aa5369953e3fd3c9f0e23db18c631909c7037eb9f5a151ef6b95b2396722 + .nTime = 1694034032, + .nTxCount = 1495970, .dTxRate = 0.006 }; }