aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAva Chow <github@achow101.com>2024-08-14 13:42:32 -0400
committerAva Chow <github@achow101.com>2024-08-16 11:20:46 -0400
commit6a5bdae3225117651708aa430e04b6da58387cf2 (patch)
treef63ba8817d3691ac0f6668171526d33d61cd629e /src
parent0a379a129b4a14fc6d286511f7509880d82f4ee5 (diff)
params: Update assumed blockchain and chainstate sizes
Diffstat (limited to 'src')
-rw-r--r--src/kernel/chainparams.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp
index 4fd2d5e2d0..17304ec283 100644
--- a/src/kernel/chainparams.cpp
+++ b/src/kernel/chainparams.cpp
@@ -129,8 +129,8 @@ public:
pchMessageStart[3] = 0xd9;
nDefaultPort = 8333;
nPruneAfterHeight = 100000;
- m_assumed_blockchain_size = 600;
- m_assumed_chain_state_size = 10;
+ m_assumed_blockchain_size = 620;
+ m_assumed_chain_state_size = 14;
genesis = CreateGenesisBlock(1231006505, 2083236893, 0x1d00ffff, 1, 50 * COIN);
consensus.hashGenesisBlock = genesis.GetHash();
@@ -249,8 +249,8 @@ public:
pchMessageStart[3] = 0x07;
nDefaultPort = 18333;
nPruneAfterHeight = 1000;
- m_assumed_blockchain_size = 42;
- m_assumed_chain_state_size = 3;
+ m_assumed_blockchain_size = 93;
+ m_assumed_chain_state_size = 19;
genesis = CreateGenesisBlock(1296688602, 414098458, 0x1d00ffff, 1, 50 * COIN);
consensus.hashGenesisBlock = genesis.GetHash();
@@ -348,7 +348,7 @@ public:
pchMessageStart[3] = 0x28;
nDefaultPort = 48333;
nPruneAfterHeight = 1000;
- m_assumed_blockchain_size = 0;
+ m_assumed_blockchain_size = 1;
m_assumed_chain_state_size = 0;
const char* testnet4_genesis_msg = "03/May/2024 000000000000000000001ebd58c244970b3aa9d783bb001011fbe8ea8e98e00e";
@@ -422,7 +422,7 @@ public:
consensus.nMinimumChainWork = uint256{"00000000000000000000000000000000000000000000000000000206e86f08e8"};
consensus.defaultAssumeValid = uint256{"0000000870f15246ba23c16e370a7ffb1fc8a3dcf8cb4492882ed4b0e3d4cd26"}; // 180000
- m_assumed_blockchain_size = 1;
+ m_assumed_blockchain_size = 2;
m_assumed_chain_state_size = 0;
chainTxData = ChainTxData{
// Data from RPC: getchaintxstats 4096 0000000870f15246ba23c16e370a7ffb1fc8a3dcf8cb4492882ed4b0e3d4cd26