Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 313 Lines • ▼ Show 20 Lines | void SetupServerArgs() { | ||||
const auto defaultChainParams = CreateChainParams(CBaseChainParams::MAIN); | const auto defaultChainParams = CreateChainParams(CBaseChainParams::MAIN); | ||||
const auto testnetChainParams = | const auto testnetChainParams = | ||||
CreateChainParams(CBaseChainParams::TESTNET); | CreateChainParams(CBaseChainParams::TESTNET); | ||||
// Hidden Options | // Hidden Options | ||||
std::vector<std::string> hidden_args = { | std::vector<std::string> hidden_args = { | ||||
"-rpcssl", "-benchmark", "-h", "-help", "-socks", "-tor", "-debugnet", | "-rpcssl", "-benchmark", "-h", "-help", "-socks", "-tor", "-debugnet", | ||||
"-whitelistalwaysrelay", "-blockminsize", "-dbcrashratio", | "-whitelistalwaysrelay", "-blockminsize", "-dbcrashratio", | ||||
"-forcecompactdb", "-usehd", "-parkdeepreorg", | "-forcecompactdb", "-usehd", "-parkdeepreorg", "-automaticunparking", | ||||
"-replayprotectionactivationtime", | "-replayprotectionactivationtime", | ||||
// GUI args. These will be overwritten by SetupUIArgs for the GUI | // GUI args. These will be overwritten by SetupUIArgs for the GUI | ||||
"-allowselfsignedrootcertificates", "-choosedatadir", "-lang=<lang>", | "-allowselfsignedrootcertificates", "-choosedatadir", "-lang=<lang>", | ||||
"-min", "-resetguisettings", "-rootcertificates=<file>", "-splash", | "-min", "-resetguisettings", "-rootcertificates=<file>", "-splash", | ||||
"-uiplatform", | "-uiplatform", | ||||
// TODO remove after the May 2020 upgrade | // TODO remove after the May 2020 upgrade | ||||
"-phononactivationtime"}; | "-phononactivationtime"}; | ||||
▲ Show 20 Lines • Show All 2,149 Lines • Show Last 20 Lines |