You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/release-process.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,15 +31,17 @@ Release Process
31
31
* Update the following variables in [`src/chainparams.cpp`](/src/chainparams.cpp) for mainnet, testnet, and signet:
32
32
-`m_assumed_blockchain_size` and `m_assumed_chain_state_size` with the current size plus some overhead (see
33
33
[this](#how-to-calculate-assumed-blockchain-and-chain-state-size) for information on how to calculate them).
34
+
- The following updates should be reviewed with `reindex-chainstate` and `assumevalid=0` to catch any defect
35
+
that causes rejection of blocks in the past history.
34
36
-`chainTxData` with statistics about the transaction count and rate. Use the output of the `getchaintxstats` RPC with an
35
37
`nBlocks` of 4096 (28 days) and a `bestblockhash` of RPC `getbestblockhash`; see
36
38
[this pull request](https://github.com/bitcoin/bitcoin/pull/20263) for an example. Reviewers can verify the results by running
37
39
`getchaintxstats <window_block_count> <window_final_block_hash>` with the `window_block_count` and `window_final_block_hash` from your output.
38
-
-`nMinimumChainWork` and `defaultAssumeValid`(and the block height comment) with information from the `getblockheader` (and `getblockhash`) RPCs.
39
-
- The selected value must not be orphaned so it may be useful to set the value two blocks back from the tip.
40
-
-Testnet should be set some tens of thousands back from the tip due to reorgs there.
41
-
-This update should be reviewed with a reindex-chainstate with assumevalid=0 to catch any defect
42
-
that causes rejection of blocks in the past history.
40
+
-`defaultAssumeValid`with the output of RPC `getblockhash` using the `height` of `window_final_block_height` above
41
+
(and update the block height comment with that height), taking into account the following:
42
+
-On mainnet, the selected value must not be orphaned, so it may be useful to set the height two blocks back from the tip.
43
+
-Testnet should be set with a height some tens of thousands back from the tip, due to reorgs there.
44
+
-`nMinimumChainWork` with the "chainwork" value of RPC `getblockheader` using the same height as that selected for the previous step.
43
45
- Clear the release notes and move them to the wiki (see "Write the release notes" below).
44
46
- Translations on Transifex
45
47
- Create [a new resource](https://www.transifex.com/bitcoin/bitcoin/content/) named after the major version with the slug `[bitcoin.qt-translation-<RRR>x]`, where `RRR` is the major branch number padded with zeros. Use `src/qt/locale/bitcoin_en.xlf` to create it.
0 commit comments