Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,504 Lines • ▼ Show 20 Lines | 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__); | ||||
} | } | ||||
} | } | ||||
} | } | ||||
static std::string ResolveErrMsg(const char *const optname, | |||||
const std::string &strBind) { | |||||
return strprintf(_("Cannot resolve -%s address: '%s'").translated, optname, | |||||
strBind); | |||||
} | |||||
/** | /** | ||||
* Initialize global loggers. | * Initialize global loggers. | ||||
* | * | ||||
* Note that this is called very early in the process lifetime, so you should be | * Note that this is called very early in the process lifetime, so you should be | ||||
* careful about what global state you rely on here. | * careful about what global state you rely on here. | ||||
*/ | */ | ||||
void InitLogging() { | void InitLogging() { | ||||
LogInstance().m_print_to_file = !gArgs.IsArgNegated("-debuglogfile"); | LogInstance().m_print_to_file = !gArgs.IsArgNegated("-debuglogfile"); | ||||
▲ Show 20 Lines • Show All 1,274 Lines • Show Last 20 Lines |