From b6a8a1b28d6277b83cdfd58dcfc4c47fbcd249ee Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Thu, 17 Aug 2017 00:51:07 -0700 Subject: [PATCH] Litecoin: Update chainparams and blockchain size --- src/chainparams.cpp | 20 ++++++++++---------- src/qt/intro.cpp | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index dcd33fbe4c..3a01491639 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -101,10 +101,10 @@ public: consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 1517356801; // January 31st, 2018 // The best chain should have at least this much work. - consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000006805c7318ce2736c0"); + consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000000ba50a60f8b56c7fe0"); // By default assume that the signatures in ancestors of this block are valid. - consensus.defaultAssumeValid = uint256S("0x1673fa904a93848eca83d5ca82c7af974511a7e640e22edc2976420744f2e56a"); //1155631 + consensus.defaultAssumeValid = uint256S("0x29c8c00e1a5f446a6364a29633d3f1ee16428d87c8d3851a1c570be8170b04c2"); //1259849 /** * The message start string is designed to be unlikely to occur in normal data. @@ -165,9 +165,9 @@ public: }; chainTxData = ChainTxData{ - // Data as of block b44bc5ae41d1be67227ba9ad875d7268aa86c965b1d64b47c35be6e8d5c352f4 (height 1155626). - 1487715936, // * UNIX timestamp of last known number of transactions - 9243806, // * total number of transactions between genesis and that timestamp + // Data as of block db42d00d824950a125f9b08b6b6c282c484781562fa8b3bd29d6ce4a2627c348 (height 1259851). + 1502955334, // * UNIX timestamp of last known number of transactions + 11428845, // * total number of transactions between genesis and that timestamp // (the tx=... number in the SetBestChain debug.log lines) 0.06 // * estimated number of transactions per second after that timestamp }; @@ -208,10 +208,10 @@ public: consensus.vDeployments[Consensus::DEPLOYMENT_SEGWIT].nTimeout = 1517356801; // January 31st, 2018 // The best chain should have at least this much work. - consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000000000054cb9e7a0"); + consensus.nMinimumChainWork = uint256S("0x0000000000000000000000000000000000000000000000000000364b0cbc3568"); // By default assume that the signatures in ancestors of this block are valid. - consensus.defaultAssumeValid = uint256S("0x43a16a626ef2ffdbe928f2bc26dcd5475c6a1a04f9542dfc6a0a88e5fcf9bd4c"); //8711 + consensus.defaultAssumeValid = uint256S("0xad8ff6c2f5580d2b50bd881e11312425ea84fa99f322bf132beb722f97971bba"); //153490 pchMessageStart[0] = 0xfd; pchMessageStart[1] = 0xd2; @@ -252,9 +252,9 @@ public: }; chainTxData = ChainTxData{ - // Data as of block f2dc531da6be01f53774f970aaaca200c7a8317ee9fd398ee733b40f14e265d1 (height 8702) - 1487715270, - 8731, + // Data as of block 3351b6229da00b47ad7a8d7e1323b0e2874744b5296e3d6448293463ab758624 (height 153489) + 1502953751, + 382986, 0.01 }; diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index 5bb4ad1980..edf9a1a1c9 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -22,7 +22,7 @@ static const uint64_t GB_BYTES = 1000000000LL; /* Minimum free space (in GB) needed for data directory */ -static const uint64_t BLOCK_CHAIN_SIZE = 8; +static const uint64_t BLOCK_CHAIN_SIZE = 9; /* Minimum free space (in GB) needed for data directory when pruned; Does not include prune target */ static const uint64_t CHAIN_STATE_SIZE = 3; /* Total required space (in GB) depending on user choice (prune, not prune) */