Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | void SetupServerArgs(NodeContext &node) { | ||||
const auto defaultChainParams = CreateChainParams(CBaseChainParams::MAIN); | const auto defaultChainParams = CreateChainParams(CBaseChainParams::MAIN); | ||||
const auto testnetChainParams = | const auto testnetChainParams = | ||||
CreateChainParams(CBaseChainParams::TESTNET); | CreateChainParams(CBaseChainParams::TESTNET); | ||||
const auto regtestChainParams = | const auto regtestChainParams = | ||||
CreateChainParams(CBaseChainParams::REGTEST); | CreateChainParams(CBaseChainParams::REGTEST); | ||||
// Hidden Options | // Hidden Options | ||||
std::vector<std::string> hidden_args = { | std::vector<std::string> hidden_args = { | ||||
// Don't apply addrman network group limit for outbound connections | |||||
sdulfari: In post review, I find this comment to have aged poorly (example: D11390) I don't think this… | |||||
"-bypassnetgrouplimit", | |||||
"-dbcrashratio", | "-dbcrashratio", | ||||
"-forcecompactdb", | "-forcecompactdb", | ||||
"-maxaddrtosend", | "-maxaddrtosend", | ||||
"-parkdeepreorg", | "-parkdeepreorg", | ||||
"-automaticunparking", | "-automaticunparking", | ||||
"-replayprotectionactivationtime", | "-replayprotectionactivationtime", | ||||
"-enableminerfund", | "-enableminerfund", | ||||
// GUI args. These will be overwritten by SetupUIArgs for the GUI | // GUI args. These will be overwritten by SetupUIArgs for the GUI | ||||
▲ Show 20 Lines • Show All 2,786 Lines • Show Last 20 Lines |
In post review, I find this comment to have aged poorly (example: D11390) I don't think this comment belongs here, but rather where the arg is used.