aboutsummaryrefslogtreecommitdiff
path: root/doc/release-process.md
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2022-02-24 22:58:53 +0100
committerJon Atack <jon@atack.com>2022-04-19 20:22:40 +0200
commit415345d5475854ae34056594ac0bc464d739d3af (patch)
tree7fd2b20093fc7b5d92bfb82c24cdfe82a3e03be8 /doc/release-process.md
parentfe048f7f7cd15597f24ca219a0077c46d088ca30 (diff)
downloadbitcoin-415345d5475854ae34056594ac0bc464d739d3af.tar.xz
Release process: use 4096 blocks and getbestblockhash for getchaintxstats
Diffstat (limited to 'doc/release-process.md')
-rw-r--r--doc/release-process.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/release-process.md b/doc/release-process.md
index ddd1b9266b..680aee9e85 100644
--- a/doc/release-process.md
+++ b/doc/release-process.md
@@ -31,7 +31,8 @@ Release Process
* Update the following variables in [`src/chainparams.cpp`](/src/chainparams.cpp) for mainnet, testnet, and signet:
- `m_assumed_blockchain_size` and `m_assumed_chain_state_size` with the current size plus some overhead (see
[this](#how-to-calculate-assumed-blockchain-and-chain-state-size) for information on how to calculate them).
- - `chainTxData` with statistics about the transaction count and rate. Use the output of the `getchaintxstats` RPC, see
+ - `chainTxData` with statistics about the transaction count and rate. Use the output of the `getchaintxstats` RPC with an
+ `nBlocks` of 4096 (28 days) and a `bestblockhash` of RPC `getbestblockhash`; see
[this pull request](https://github.com/bitcoin/bitcoin/pull/20263) for an example. Reviewers can verify the results by running
`getchaintxstats <window_block_count> <window_final_block_hash>` with the `window_block_count` and `window_final_block_hash` from your output.
- `nMinimumChainWork` and `defaultAssumeValid` (and the block height comment) with information from the `getblockheader` (and `getblockhash`) RPCs.