Skip to content

Commit 02ad523

Browse files
PastaPastaPastaknst
authored andcommitted
Merge #6411: chore: update nMinimumChainWork, defaultAssumeValid, checkpointData, chainTxData for mainnet and testnet
31243ca chore: update nMinimumChainWork, defaultAssumeValid, checkpointData, chainTxData for mainnet and testnet (pasta) Pull request description: ## Issue being fixed or feature implemented Bump chainparams in prep for v22 ## What was done? ## How Has This Been Tested? ## Breaking Changes ## Checklist: _Go over all the following points, and put an `x` in all the boxes that apply._ - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK 31243ca Tree-SHA512: 6a01bbbaefb69437e053340b968e0ce68e2bd9e5e5fd2900864d88ffc21c5cd3f9c2a50d8f5b19f16515cd4c62a4a8fc2d981dd6d0456e86ef96f40e350e786a
1 parent 3bbcd3d commit 02ad523

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

src/chainparams.cpp

+14-12
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,10 @@ class CMainParams : public CChainParams {
219219
consensus.vDeployments[Consensus::DEPLOYMENT_WITHDRAWALS].useEHF = true;
220220

221221
// The best chain should have at least this much work.
222-
consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000000988117deadb0db9cd5b8"); // 2109672
222+
consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000009eb0f1d7fefc8750aebb"); // 2175051
223223

224224
// By default assume that the signatures in ancestors of this block are valid.
225-
consensus.defaultAssumeValid = uint256S("0x000000000000001889bd33ef019065e250d32bd46911f4003d3fdd8128b5358d"); // 2109672
225+
consensus.defaultAssumeValid = uint256S("0x000000000000001cf26547602d982dcaa909231bbcd1e70c0eb3c65de25473ba"); // 2175051
226226

227227
/**
228228
* The message start string is designed to be unlikely to occur in normal data.
@@ -332,19 +332,20 @@ class CMainParams : public CChainParams {
332332
{1969000, uint256S("0x000000000000000c8b7a3bdcd8b9f516462122314529c8342244c685a4c899bf")},
333333
{2029000, uint256S("0x0000000000000020d5e38b6aef5bc8e430029444d7977b46f710c7d281ef1281")},
334334
{2109672, uint256S("0x000000000000001889bd33ef019065e250d32bd46911f4003d3fdd8128b5358d")},
335+
{2175051, uint256S("0x000000000000001cf26547602d982dcaa909231bbcd1e70c0eb3c65de25473ba")},
335336
}
336337
};
337338

338339
m_assumeutxo_data = MapAssumeutxo{
339340
// TODO to be specified in a future patch.
340341
};
341342

342-
// getchaintxstats 17280 000000000000001889bd33ef019065e250d32bd46911f4003d3fdd8128b5358d
343+
// getchaintxstats 17280 000000000000001cf26547602d982dcaa909231bbcd1e70c0eb3c65de25473ba
343344
chainTxData = ChainTxData{
344-
1721769714, // * UNIX timestamp of last known number of transactions (Block 1969000)
345-
53767892, // * total number of transactions between genesis and that timestamp
345+
1732068694, // * UNIX timestamp of last known number of transactions (Block 1969000)
346+
55191134, // * total number of transactions between genesis and that timestamp
346347
// (the tx=... number in the ChainStateFlushed debug.log lines)
347-
0.1580795981751139, // * estimated number of transactions per second after that timestamp
348+
0.1528060985790164, // * estimated number of transactions per second after that timestamp
348349
};
349350
}
350351
};
@@ -416,10 +417,10 @@ class CTestNetParams : public CChainParams {
416417
consensus.vDeployments[Consensus::DEPLOYMENT_WITHDRAWALS].useEHF = true;
417418

418419
// The best chain should have at least this much work.
419-
consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000031779704a0f54b4"); // 1069875
420+
consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000000000000031ee38bc0876cef"); // 1143608
420421

421422
// By default assume that the signatures in ancestors of this block are valid.
422-
consensus.defaultAssumeValid = uint256S("0x00000034bfeb926662ba547c0b8dd4ba8cbb6e0c581f4e7d1bddce8f9ca3a608"); // 1069875
423+
consensus.defaultAssumeValid = uint256S("0x000000eef20eb0062abd4e799967e98bdebb165dd1c567ab4118c1c86c6e948f"); // 1143608
423424

424425
pchMessageStart[0] = 0xce;
425426
pchMessageStart[1] = 0xe2;
@@ -505,19 +506,20 @@ class CTestNetParams : public CChainParams {
505506
{905100, uint256S("0x0000020c5e0f86f385cbf8e90210de9a9fd63633f01433bf47a6b3227a2851fd")},
506507
{960000, uint256S("0x0000000386cf5061ea16404c66deb83eb67892fa4f79b9e58e5eaab097ec2bd6")},
507508
{1069875, uint256S("0x00000034bfeb926662ba547c0b8dd4ba8cbb6e0c581f4e7d1bddce8f9ca3a608")},
509+
{1143608, uint256S("0x000000eef20eb0062abd4e799967e98bdebb165dd1c567ab4118c1c86c6e948f")},
508510
}
509511
};
510512

511513
m_assumeutxo_data = MapAssumeutxo{
512514
// TODO to be specified in a future patch.
513515
};
514516

515-
// getchaintxstats 17280 00000034bfeb926662ba547c0b8dd4ba8cbb6e0c581f4e7d1bddce8f9ca3a608
517+
// getchaintxstats 17280 000000eef20eb0062abd4e799967e98bdebb165dd1c567ab4118c1c86c6e948f
516518
chainTxData = ChainTxData{
517-
1721770009, // * UNIX timestamp of last known number of transactions (Block 905100)
518-
6548039, // * total number of transactions between genesis and that timestamp
519+
1732068833, // * UNIX timestamp of last known number of transactions (Block 905100)
520+
6701197, // * total number of transactions between genesis and that timestamp
519521
// (the tx=... number in the ChainStateFlushed debug.log lines)
520-
0.0152605485140752, // * estimated number of transactions per second after that timestamp
522+
0.01528131540752872, // * estimated number of transactions per second after that timestamp
521523
};
522524
}
523525
};

0 commit comments

Comments
 (0)