18 return Untranslated(
"Transaction already in block chain");
21 "Peer-to-peer functionality missing or disabled");
30 "PSBTs not compatible (different transactions)");
33 "Specified sighash value does not match existing value");
35 return Untranslated(
"Fee exceeds maximum configured by user (e.g. "
36 "-maxtxfee, maxfeerate)");
38 return Untranslated(
"Transaction rejected due to invalid package");
bilingual_str TransactionErrorString(const TransactionError error)
bilingual_str AmountHighWarn(const std::string &optname)
bilingual_str AmountErrMsg(const std::string &optname, const std::string &strValue)
bilingual_str ResolveErrMsg(const std::string &optname, const std::string &strBind)
bool error(const char *fmt, const Args &...args)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
bilingual_str _(const char *psz)
Translation function.
bilingual_str Untranslated(std::string original)
Mark a bilingual_str as untranslated.