[wallet] Add high transaction fee warnings

This commit is contained in:
MarcoFalke
2016-01-08 01:14:09 +01:00
parent 24f72e9f3f
commit faef293cf3
4 changed files with 24 additions and 8 deletions

View File

@@ -18,6 +18,11 @@ void InitWarning(const std::string& str)
uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_WARNING);
}
std::string AmountHighWarn(const std::string& optname)
{
return strprintf(_("%s is set very high!"), optname);
}
std::string AmountErrMsg(const char* const optname, const std::string& strValue)
{
return strprintf(_("Invalid amount for -%s=<amount>: '%s'"), optname, strValue);