Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,256 Lines • ▼ Show 20 Lines | void InitParameterInteraction() { | ||||
// them in the first place. | // them in the first place. | ||||
if (gArgs.GetBoolArg("-whitelistforcerelay", DEFAULT_WHITELISTFORCERELAY)) { | if (gArgs.GetBoolArg("-whitelistforcerelay", DEFAULT_WHITELISTFORCERELAY)) { | ||||
if (gArgs.SoftSetBoolArg("-whitelistrelay", true)) { | if (gArgs.SoftSetBoolArg("-whitelistrelay", true)) { | ||||
LogPrintf("%s: parameter interaction: -whitelistforcerelay=1 -> " | LogPrintf("%s: parameter interaction: -whitelistforcerelay=1 -> " | ||||
"setting -whitelistrelay=1\n", | "setting -whitelistrelay=1\n", | ||||
__func__); | __func__); | ||||
} | } | ||||
} | } | ||||
// Warn if network-specific options (-addnode, -connect, etc) are | |||||
// specified in default section of config file, but not overridden | |||||
// on the command line or in this network's section of the config file. | |||||
gArgs.WarnForSectionOnlyArgs(); | |||||
} | } | ||||
static std::string ResolveErrMsg(const char *const optname, | static std::string ResolveErrMsg(const char *const optname, | ||||
const std::string &strBind) { | const std::string &strBind) { | ||||
return strprintf(_("Cannot resolve -%s address: '%s'"), optname, strBind); | return strprintf(_("Cannot resolve -%s address: '%s'"), optname, strBind); | ||||
} | } | ||||
void InitLogging() { | void InitLogging() { | ||||
▲ Show 20 Lines • Show All 1,119 Lines • Show Last 20 Lines |