43 std::string strStatusBar;
46 const std::string uiAlertSeperator =
"<hr />";
51 strStatusBar =
"This is a pre-release test build - use at your own risk - do not use for mining or merchant applications";
52 strGUI =
_(
"This is a pre-release test build - use at your own risk - do not use for mining or merchant applications");
56 strStatusBar = strRPC = strGUI =
"testsafemode enabled";
62 strGUI += (strGUI.empty() ?
"" : uiAlertSeperator) +
strMiscWarning;
67 strStatusBar = strRPC =
"Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues.";
68 strGUI += (strGUI.empty() ?
"" : uiAlertSeperator) +
_(
"Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues.");
72 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.";
73 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.");
78 else if (strFor ==
"statusbar")
80 else if (strFor ==
"rpc")
82 assert(!
"GetWarnings(): invalid parameter");
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.
bool fLargeWorkInvalidChainFound
CCriticalSection cs_warnings
void SetfLargeWorkInvalidChainFound(bool flag)
std::string strMiscWarning
bool GetfLargeWorkForkFound()
#define CLIENT_VERSION_IS_RELEASE
void SetMiscWarning(const std::string &strWarning)
void SetfLargeWorkForkFound(bool flag)
std::string _(const char *psz)
Translation function: Call Translate signal on UI interface, which returns a boost::optional result...
Wrapped boost mutex: supports recursive locking, but no waiting TODO: We should move away from using ...