mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
doc: update references to kernel/chainparams.cpp
This commit is contained in:
parent
5165984afc
commit
07fcc0a82c
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
'''
|
'''
|
||||||
Script to generate list of seed nodes for chainparams.cpp.
|
Script to generate list of seed nodes for kernel/chainparams.cpp.
|
||||||
|
|
||||||
This script expects two text files in the directory that is passed as an
|
This script expects two text files in the directory that is passed as an
|
||||||
argument:
|
argument:
|
||||||
|
|
|
@ -29,7 +29,7 @@ Release Process
|
||||||
#### Before branch-off
|
#### Before branch-off
|
||||||
|
|
||||||
* Update hardcoded [seeds](/contrib/seeds/README.md), see [this pull request](https://github.com/bitcoin/bitcoin/pull/7415) for an example.
|
* Update hardcoded [seeds](/contrib/seeds/README.md), see [this pull request](https://github.com/bitcoin/bitcoin/pull/7415) for an example.
|
||||||
* Update the following variables in [`src/chainparams.cpp`](/src/chainparams.cpp) for mainnet, testnet, and signet:
|
* Update the following variables in [`src/kernel/chainparams.cpp`](/src/kernel/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
|
- `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).
|
[this](#how-to-calculate-assumed-blockchain-and-chain-state-size) for information on how to calculate them).
|
||||||
- The following updates should be reviewed with `reindex-chainstate` and `assumevalid=0` to catch any defect
|
- The following updates should be reviewed with `reindex-chainstate` and `assumevalid=0` to catch any defect
|
||||||
|
|
|
@ -127,7 +127,7 @@ BOOST_AUTO_TEST_CASE(test_assumeutxo)
|
||||||
const auto params = CreateChainParams(*m_node.args, CBaseChainParams::REGTEST);
|
const auto params = CreateChainParams(*m_node.args, CBaseChainParams::REGTEST);
|
||||||
|
|
||||||
// These heights don't have assumeutxo configurations associated, per the contents
|
// These heights don't have assumeutxo configurations associated, per the contents
|
||||||
// of chainparams.cpp.
|
// of kernel/chainparams.cpp.
|
||||||
std::vector<int> bad_heights{0, 100, 111, 115, 209, 211};
|
std::vector<int> bad_heights{0, 100, 111, 115, 209, 211};
|
||||||
|
|
||||||
for (auto empty : bad_heights) {
|
for (auto empty : bad_heights) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue