Skip to content

Commit 040abaf

Browse files
PastaPastaPastacodablock
authored andcommitted
[0.14] Bump chainparams (#2910)
* Bump nMinimumChainWork and defaultAssumeValid for mainnet Signed-off-by: Pasta <Pasta@dash.org> add back 0x Signed-off-by: Pasta <Pasta@dash.org> * Bump nMinimumChainWork and defaultAssumeValid for testnet Signed-off-by: Pasta <Pasta@dash.org> add back 0x 2nd time Signed-off-by: Pasta <Pasta@dash.org> * Add a checkpoint for 0.14 Signed-off-by: Pasta <Pasta@dash.org> * add testnet checkpoint 0.14 Signed-off-by: Pasta <Pasta@dash.org> * update mainnet ChainTxData Signed-off-by: Pasta <Pasta@dash.org> formatting fix mainnet chaintxdata Signed-off-by: Pasta <Pasta@dash.org> update mainnet ChainTxData to specific block Signed-off-by: Pasta <Pasta@dash.org> * update testnet chainTxData Signed-off-by: Pasta <Pasta@dash.org> update testnet ChainTxData to specific block Signed-off-by: Pasta <Pasta@dash.org>
1 parent 240238b commit 040abaf

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/chainparams.cpp

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@ class CMainParams : public CChainParams {
262262
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0003].nThreshold = 3226; // 80% of 4032
263263

264264
// The best chain should have at least this much work.
265-
consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000112df08fc9f0ca551d0d"); // 1033120
265+
consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000146103ebd818111fae85"); // 1067570
266266

267267
// By default assume that the signatures in ancestors of this block are valid.
268-
consensus.defaultAssumeValid = uint256S("0x0000000000000012d041eff8ea278d1dafe5df44f2cdd4afa17e262a0dd3ba45"); // 1033120
268+
consensus.defaultAssumeValid = uint256S("0x000000000000001e09926bcf5fa4513d23e870a34f74e38200db99eb3f5b7a70"); // 1067570
269269

270270
/**
271271
* The message start string is designed to be unlikely to occur in normal data.
@@ -354,11 +354,12 @@ class CMainParams : public CChainParams {
354354
( 750000, uint256S("0x00000000000000b4181bbbdddbae464ce11fede5d0292fb63fdede1e7c8ab21c"))
355355
( 888900, uint256S("0x0000000000000026c29d576073ab51ebd1d3c938de02e9a44c7ee9e16f82db28"))
356356
( 967800, uint256S("0x0000000000000024e26c7df7e46d673724d223cf4ca2b2adc21297cc095600f4"))
357+
( 1067570, uint256S("0x000000000000001e09926bcf5fa4513d23e870a34f74e38200db99eb3f5b7a70"))
357358
};
358359

359360
chainTxData = ChainTxData{
360-
1541738255, // * UNIX timestamp of last known number of transactions
361-
8822293, // * total number of transactions between genesis and that timestamp
361+
1557610432, // * UNIX timestamp of last known number of transactions (Block 1068571)
362+
14380723, // * total number of transactions between genesis and that timestamp
362363
// (the tx=... number in the SetBestChain debug.log lines)
363364
0.1 // * estimated number of transactions per second after that timestamp
364365
};
@@ -445,10 +446,10 @@ class CTestNetParams : public CChainParams {
445446
consensus.vDeployments[Consensus::DEPLOYMENT_DIP0008].nThreshold = 50; // 50% of 100
446447

447448
// The best chain should have at least this much work.
448-
consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000000000000003cd72a542"); // 4000
449+
consensus.nMinimumChainWork = uint256S("0x0000000000000000000000000000000000000000000000000062cd3e94ad2d62"); // 95930
449450

450451
// By default assume that the signatures in ancestors of this block are valid.
451-
consensus.defaultAssumeValid = uint256S("0x00000ce22113f3eb8636e225d6a1691e132fdd587aed993e1bc9b07a0235eea4"); // 4000
452+
consensus.defaultAssumeValid = uint256S("0x0000000005ae4db9746d6cad8e0ccebdef1e05afec9c40809f31457fdaf7d843"); // 95930
452453

453454
pchMessageStart[0] = 0xce;
454455
pchMessageStart[1] = 0xe2;
@@ -513,11 +514,12 @@ class CTestNetParams : public CChainParams {
513514
( 261, uint256S("0x00000c26026d0815a7e2ce4fa270775f61403c040647ff2c3091f99e894a4618"))
514515
( 1999, uint256S("0x00000052e538d27fa53693efe6fb6892a0c1d26c0235f599171c48a3cce553b1"))
515516
( 2999, uint256S("0x0000024bc3f4f4cb30d29827c13d921ad77d2c6072e586c7f60d83c2722cdcc5"))
517+
( 96090, uint256S("0x00000000033df4b94d17ab43e999caaf6c4735095cc77703685da81254d09bba"))
516518
};
517519

518520
chainTxData = ChainTxData{
519-
1544707462, // * UNIX timestamp of last known number of transactions
520-
4100, // * total number of transactions between genesis and that timestamp
521+
1557603759, // * UNIX timestamp of last known number of transactions (Block 96717)
522+
968552, // * total number of transactions between genesis and that timestamp
521523
// (the tx=... number in the SetBestChain debug.log lines)
522524
0.01 // * estimated number of transactions per second after that timestamp
523525
};

0 commit comments

Comments
 (0)