From f7e8d4123000b7fab9f643a54d4b7c5667a71896 Mon Sep 17 00:00:00 2001 From: hans-schmidt <43421934+hans-schmidt@users.noreply.github.com> Date: Tue, 16 Aug 2022 09:51:17 -0500 Subject: [PATCH] Update nMinimumChainWork, defaultAssumeValid, checkpointData, chainTxData (#1203) --- src/chainparams.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 4471ac420f..7a8929cecd 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -164,10 +164,10 @@ class CMainParams : public CChainParams { // The best chain should have at least this much work - consensus.nMinimumChainWork = uint256S("000000000000000000000000000000000000000000000020d4ac871fb7009b63"); // Block 1186833 + consensus.nMinimumChainWork = uint256S("0000000000000000000000000000000000000000000000355cd0ac1503c83052"); // Block 2383567 // By default assume that the signatures in ancestors of this block are valid. Block# 1040000 - consensus.defaultAssumeValid = uint256S("0x0000000000000d4840d4de1f7d943542c2aed532bd5d6527274fc0142fa1a410"); // Block 1186833 + consensus.defaultAssumeValid = uint256S("0x0000000000018d2fdcf4ac8eaac8db059584bd2840be5629562bb8599d39998c"); // Block 2383560 /** * The message start string is designed to be unlikely to occur in normal data. @@ -215,17 +215,20 @@ class CMainParams : public CChainParams { { 740000, uint256S("0x00000000000027d11bf1e7a3b57d3c89acc1722f39d6e08f23ac3a07e16e3172")}, { 909251, uint256S("0x000000000000694c9a363eff06518aa7399f00014ce667b9762f9a4e7a49f485")}, { 1040000, uint256S("0x000000000000138e2690b06b1ddd8cf158c3a5cf540ee5278debdcdffcf75839")}, - { 1186833, uint256S("0x0000000000000d4840d4de1f7d943542c2aed532bd5d6527274fc0142fa1a410")} + { 1186833, uint256S("0x0000000000000d4840d4de1f7d943542c2aed532bd5d6527274fc0142fa1a410")}, + { 2383550, uint256S("0x0000000000008927ed21a1e3bb87d3e1020646e8cc94354a1f8fc608395e15dc")} } }; + // 20969961 transactions as of block #2383625 at 2022-07-28 22:02:22 (UTC) + // previously set at 6709969 txns by time 1577939273 ==> chainTxData = ChainTxData{ // Update as we know more about the contents of the Raven chain // Stats as of 0x00000000000016ec03d8d93f9751323bcc42137b1b4df67e6a11c4394fd8e5ad window size 43200 - 1577939273, // * UNIX timestamp of last known number of transactions - 6709969, // * total number of transactions between genesis and that timestamp + 1659045742, // * UNIX timestamp of last known number of transactions + 20969961, // * total number of transactions between genesis and that timestamp // (the tx=... number in the SetBestChain debug.log lines) - 0.1 // * estimated number of transactions per second after that timestamp + 5.7 // * estimated number of transactions per second after that timestamp }; /** RVN Start **/