49 std::string strStatusBar;
52 const std::string uiAlertSeperator =
"\n";
57 strStatusBar =
"This is a pre-release test build - use at your own risk - do not use for staking or merchant applications!";
58 strGUI =
_(
"This is a pre-release test build - use at your own risk - do not use for staking or merchant applications!");
62 strStatusBar = strRPC = strGUI =
"testsafemode enabled";
67 strGUI += (strGUI.empty() ?
"" : uiAlertSeperator) +
strMiscWarning;
71 strStatusBar = strRPC =
"Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues.";
72 strGUI += (strGUI.empty() ?
"" : uiAlertSeperator) +
_(
"Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues.");
74 strStatusBar = strRPC =
"Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade.";
75 strGUI += (strGUI.empty() ?
"" : uiAlertSeperator) +
_(
"Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade.");
80 else if (strFor ==
"statusbar")
82 else if (strFor ==
"rpc")
84 assert(!
"GetWarnings() : invalid parameter");
bool GetBoolArg(const std::string &strArg, bool fDefault) const
Return boolean argument or default value.
#define CLIENT_VERSION_IS_RELEASE
std::string _(const char *psz)
Translation function: Call Translate signal on UI interface, which returns a Optional result.
void SetfLargeWorkInvalidChainFound(bool flag)
std::string strMiscWarning
void SetfLargeWorkForkFound(bool flag)
bool GetfLargeWorkForkFound()
RecursiveMutex cs_warnings
std::string GetWarnings(const std::string &strFor)
bool GetfLargeWorkInvalidChainFound()
void SetMiscWarning(const std::string &strWarning)
bool fLargeWorkInvalidChainFound