10 if (warning !=
"" && !
gArgs.
GetBoolArg(
"-disablesafemode", DEFAULT_DISABLE_SAFEMODE)) {
bool GetBoolArg(const std::string &strArg, bool fDefault) const
Return boolean argument or default value.
std::string GetWarnings(const std::string &strFor)
Format a string that describes several potential problems detected by the core.
Server is in safe mode, and command is not allowed in safe mode.
UniValue JSONRPCError(int code, const std::string &message)