From af78d31e710f61601dc2b21014cb4250ddea85ad Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 4 Mar 2024 10:40:26 +0000 Subject: [PATCH 1/3] kernel: update nMinimumChainWork & defaultAssumeValid for 27.x --- src/kernel/chainparams.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp index b0e657ba45f..ad0002c2782 100644 --- a/src/kernel/chainparams.cpp +++ b/src/kernel/chainparams.cpp @@ -104,8 +104,8 @@ public: consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].nTimeout = 1628640000; // August 11th, 2021 consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].min_activation_height = 709632; // Approximately November 12th, 2021 - consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000052b2559353df4117b7348b64"); - consensus.defaultAssumeValid = uint256S("0x00000000000000000001a0a448d6cf2546b06801389cc030b2b18c6491266815"); // 804000 + consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000063c4ebd298db40af57541800"); + consensus.defaultAssumeValid = uint256S("0x000000000000000000026811d149d4d261995ec5b3f64f439a0a10e1a464af9a"); // 824000 /** * The message start string is designed to be unlikely to occur in normal data. @@ -222,8 +222,8 @@ public: consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].nTimeout = 1628640000; // August 11th, 2021 consensus.vDeployments[Consensus::DEPLOYMENT_TAPROOT].min_activation_height = 0; // No activation delay - consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000b6a51f415a67c0da307"); - consensus.defaultAssumeValid = uint256S("0x0000000000000093bcb68c03a9a168ae252572d348a2eaeba2cdf9231d73206f"); // 2500000 + consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000c59b14e264ba6c15db9"); + consensus.defaultAssumeValid = uint256S("0x000000000001323071f38f21ea5aae529ece491eadaccce506a59bcc2d968917"); // 2550000 pchMessageStart[0] = 0x0b; pchMessageStart[1] = 0x11; @@ -302,8 +302,8 @@ public: vSeeds.emplace_back("178.128.221.177"); vSeeds.emplace_back("v7ajjeirttkbnt32wpy3c6w3emwnfr3fkla7hpxcfokr3ysd3kqtzmqd.onion:38333"); - consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000000001ad46be4862"); - consensus.defaultAssumeValid = uint256S("0x0000013d778ba3f914530f11f6b69869c9fab54acff85acd7b8201d111f19b7f"); // 150000 + consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000000000000206e86f08e8"); + consensus.defaultAssumeValid = uint256S("0x0000000870f15246ba23c16e370a7ffb1fc8a3dcf8cb4492882ed4b0e3d4cd26"); // 180000 m_assumed_blockchain_size = 1; m_assumed_chain_state_size = 0; chainTxData = ChainTxData{ From 1611aa1789dc1dcb445bc1654ac4bec841345a20 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 4 Mar 2024 10:49:11 +0000 Subject: [PATCH 2/3] kernel: update chainTxData for 27.x --- src/kernel/chainparams.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp index ad0002c2782..d3a54dff654 100644 --- a/src/kernel/chainparams.cpp +++ b/src/kernel/chainparams.cpp @@ -177,10 +177,10 @@ public: }; chainTxData = ChainTxData{ - // Data from RPC: getchaintxstats 4096 00000000000000000001a0a448d6cf2546b06801389cc030b2b18c6491266815 - .nTime = 1692502494, - .nTxCount = 881818374, - .dTxRate = 5.521964628130412, + // Data from RPC: getchaintxstats 4096 000000000000000000026811d149d4d261995ec5b3f64f439a0a10e1a464af9a + .nTime = 1704194835, + .nTxCount = 946728933, + .dTxRate = 6.569290261471664, }; } }; @@ -276,10 +276,10 @@ public: }; chainTxData = ChainTxData{ - // Data from RPC: getchaintxstats 4096 0000000000000093bcb68c03a9a168ae252572d348a2eaeba2cdf9231d73206f - .nTime = 1694733634, - .nTxCount = 66484552, - .dTxRate = 0.1804908356632494, + // Data from RPC: getchaintxstats 4096 000000000001323071f38f21ea5aae529ece491eadaccce506a59bcc2d968917 + .nTime = 1703579240, + .nTxCount = 67845391, + .dTxRate = 1.464436832560951, }; } }; @@ -307,10 +307,10 @@ public: m_assumed_blockchain_size = 1; m_assumed_chain_state_size = 0; chainTxData = ChainTxData{ - // Data from RPC: getchaintxstats 4096 0000013d778ba3f914530f11f6b69869c9fab54acff85acd7b8201d111f19b7f - .nTime = 1688366339, - .nTxCount = 2262750, - .dTxRate = 0.003414084572046456, + // Data from RPC: getchaintxstats 4096 0000000870f15246ba23c16e370a7ffb1fc8a3dcf8cb4492882ed4b0e3d4cd26 + .nTime = 1706331472, + .nTxCount = 2425380, + .dTxRate = 0.008277759863833788, }; } else { bin = *options.challenge; From d9f30b021af5c4d4bc7fa687cdcc236ca7bc5df2 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 4 Mar 2024 10:54:21 +0000 Subject: [PATCH 3/3] kernel: chainparams updates for 27.x --- src/kernel/chainparams.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp index d3a54dff654..264a2fd6813 100644 --- a/src/kernel/chainparams.cpp +++ b/src/kernel/chainparams.cpp @@ -118,8 +118,8 @@ public: pchMessageStart[3] = 0xd9; nDefaultPort = 8333; nPruneAfterHeight = 100000; - m_assumed_blockchain_size = 590; - m_assumed_chain_state_size = 9; + m_assumed_blockchain_size = 600; + m_assumed_chain_state_size = 10; genesis = CreateGenesisBlock(1231006505, 2083236893, 0x1d00ffff, 1, 50 * COIN); consensus.hashGenesisBlock = genesis.GetHash();