See https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md#before-branch-off
chainparams: Bump assumed valid hash #18500
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2004-chainparamsBump changing 1 files +14 −14-
MarcoFalke commented at 6:37 PM on April 1, 2020: member
-
in src/chainparams.cpp:104 in 7777ce1752 outdated
99 | @@ -100,8 +100,8 @@ class CMainParams : public CChainParams { 100 | pchMessageStart[3] = 0xd9; 101 | nDefaultPort = 8333; 102 | nPruneAfterHeight = 100000; 103 | - m_assumed_blockchain_size = 280; 104 | - m_assumed_chain_state_size = 4; 105 | + m_assumed_blockchain_size = 320; 106 | + m_assumed_chain_state_size = 6;
sipa commented at 6:54 PM on April 1, 2020:My chainstate/ dir is 3.8 GB. Are you increasing this to give some room for expansion, or seeing different numbers than I do?
MarcoFalke commented at 8:47 PM on April 1, 2020:How do you check the size of the chainstate dir?
$ du -sh ~/Downloads/bm/chainstate/ 4.6G /home/marco/Downloads/bm/chainstate/
instagibbs commented at 8:48 PM on April 1, 2020:du -sh ~/.bitcoin/chainstate/ 3.8G /home/instagibbs/.bitcoin/chainstate/in src/chainparams.cpp:90 in 7777ce1752 outdated
83 | @@ -84,10 +84,10 @@ class CMainParams : public CChainParams { 84 | consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = 1230767999; // December 31, 2008 85 | 86 | // The best chain should have at least this much work. 87 | - consensus.nMinimumChainWork = uint256S("0x000000000000000000000000000000000000000008ea3cf107ae0dec57f03fe8"); 88 | + consensus.nMinimumChainWork = uint256S("0x00000000000000000000000000000000000000000e1ab5ec9348e9f4b8eb8154"); 89 | 90 | // By default assume that the signatures in ancestors of this block are valid. 91 | - consensus.defaultAssumeValid = uint256S("0x00000000000000000005f8920febd3925f8272a6a71237563d78c2edfdd09ddf"); // 597379 92 | + consensus.defaultAssumeValid = uint256S("0x0000000000000000000f2adce67e49b0b6bdeb9de8b7c3d7e93b21e7fc1e819d"); // 623950
instagibbs commented at 7:10 PM on April 1, 2020:ACK hash, height on personal node
DrahtBot added the label Validation on Apr 1, 2020MarcoFalke added this to the milestone 0.20.0 on Apr 1, 2020chainparams: Bump assumed valid hash 222253e37dMarcoFalke force-pushed on Apr 1, 2020fanquake approvedfanquake commented at 8:47 AM on April 2, 2020: memberACK 222253e37d9702181fe754d776177962d6794f30 - matches output on my node. Also have 3.8GB for the chainstate dir. If anyone wants to know what commands they should run / what to check; I have some docs on assumevalid updates.
elichai approvedelichai commented at 10:31 AM on April 2, 2020: contributorACK 222253e37d9702181fe754d776177962d6794f30 All the mainnet params match my local node. Have 3.7GB chainstate dir, and 287GB blocks dir.
MarcoFalke commented at 12:10 PM on April 2, 2020: memberOpen-Close to re-run ci. See #15847 (comment)
Previous runs:
MarcoFalke closed this on Apr 2, 2020MarcoFalke reopened this on Apr 2, 2020theStack approvedtheStack commented at 12:33 PM on April 2, 2020: memberACK https://github.com/bitcoin/bitcoin/pull/18500/commits/222253e37d9702181fe754d776177962d6794f30 Verified the parameters on my node with:
$ bitcoin-cli getblockstats 623950 $ bitcoin-cli getblock 0000000000000000000f2adce67e49b0b6bdeb9de8b7c3d7e93b21e7fc1e819d $ bitcoin-cli getchaintxstats 4096 0000000000000000000f2adce67e49b0b6bdeb9de8b7c3d7e93b21e7fc1e819dThe same procedure also for the testnet. Mainnet chainstate dir has 3.8GB size, blocks dir has 287GB. Testnet chainstate dir has 16KB size, blocks dir has 26GB.
instagibbs approvedinstagibbs commented at 1:10 PM on April 2, 2020: memberACK https://github.com/bitcoin/bitcoin/pull/18500/commits/222253e37d9702181fe754d776177962d6794f30 all mainnet params, did not check testnet
laanwj merged this on Apr 2, 2020laanwj closed this on Apr 2, 2020MarcoFalke deleted the branch on Apr 2, 2020DrahtBot locked this on Feb 15, 2022
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC
More mirrored repositories can be found on mirror.b10c.me