Skip to content

Commit 415345d

Browse files
committed
Release process: use 4096 blocks and getbestblockhash for getchaintxstats
1 parent fe048f7 commit 415345d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/release-process.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ Release Process
3131
* Update the following variables in [`src/chainparams.cpp`](/src/chainparams.cpp) for mainnet, testnet, and signet:
3232
- `m_assumed_blockchain_size` and `m_assumed_chain_state_size` with the current size plus some overhead (see
3333
[this](#how-to-calculate-assumed-blockchain-and-chain-state-size) for information on how to calculate them).
34-
- `chainTxData` with statistics about the transaction count and rate. Use the output of the `getchaintxstats` RPC, see
34+
- `chainTxData` with statistics about the transaction count and rate. Use the output of the `getchaintxstats` RPC with an
35+
`nBlocks` of 4096 (28 days) and a `bestblockhash` of RPC `getbestblockhash`; see
3536
[this pull request](https://github.com/bitcoin/bitcoin/pull/20263) for an example. Reviewers can verify the results by running
3637
`getchaintxstats <window_block_count> <window_final_block_hash>` with the `window_block_count` and `window_final_block_hash` from your output.
3738
- `nMinimumChainWork` and `defaultAssumeValid` (and the block height comment) with information from the `getblockheader` (and `getblockhash`) RPCs.

0 commit comments

Comments
 (0)