Update chainparams for 24.0 release#25946
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Approach ACK 0d3f35de4211287efb8e547fd32f74ea5d41fcfe Compared chain params with my local chains: mainCompared DetailsNot sure where the difference of 1 to 496 for Rounding 5.28 up would lead to 6 for Compared DetailsCompared Detailstestnet3Compared m_assumed_blockchain_size and m_assumed_chain_state_size: ? DetailsWhy 42 for 2 for Compared DetailsCompared Details |
|
Don't forget that this update should be reviewed with |
There was a problem hiding this comment.
tACK 767d825
Verified data using existing nodes and ran a full sync with -assumevalid=0 -minimumchainwork=00000000000000000000000000000000000000003404ba0801921119f903495e on a recent version of master now (and without checkpoints, for good measure, see #25725). Update, note to self: don't forget to set -dbcache to some big number if you don't want to wait forever.
Also ran a full sync on signet and testnet.
| nDefaultPort = 8333; | ||
| nPruneAfterHeight = 100000; | ||
| m_assumed_blockchain_size = 460; | ||
| m_assumed_blockchain_size = 496; |
There was a problem hiding this comment.
Between three machine I get 449, 451 and 459 GB for the blocks dir, using du -h (blocks + chainstate dir). Multiplied by 1.1 that would make between 494 and 505 GB. So based on the methodology used in 23.0 your pick of 496 looks correct to me.
The instructions are outdated compared to what @laanwj did last time.
| /* nTxCount */ 712531200, | ||
| /* dTxRate */ 2.891036496010309, | ||
| // Data from RPC: getchaintxstats 4096 00000000000000000009c97098b5295f7e5f183ac811fb5d1534040adb93cabd | ||
| .nTime = 1661697692, |
There was a problem hiding this comment.
That's indeed a nicer way to format this.
| nDefaultPort = 18333; | ||
| nPruneAfterHeight = 1000; | ||
| m_assumed_blockchain_size = 40; | ||
| m_assumed_blockchain_size = 42; |
There was a problem hiding this comment.
On my node, it's only 32 GB. With 10% buffer, that's only 35.2, so this probably doesn't need to updated?
$ du -h --exclude=wallets --exclude=indexes testnet3/ 04:23:29 PM
188K testnet3/database
335M testnet3/blocks/index
30G testnet3/blocks
1.5G testnet3/chainstate
32G testnet3/
There was a problem hiding this comment.
I also get 29G for the blocks, plus 0.5 for blocks/index. That's on a freshly synced node. Perhaps a node that went through many reorgs uses a bit more.
Update chain parameters for upcoming major release.
See doc/release-process.md and #24418 for review instructions.
fixes #25921