28 "Specified sighash value does not match value stored in PSBT");
38 case TransactionError::OK:
40 case TransactionError::MISSING_INPUTS:
42 case TransactionError::ALREADY_IN_CHAIN:
43 return Untranslated(
"Transaction already in block chain");
44 case TransactionError::MEMPOOL_REJECTED:
46 case TransactionError::MEMPOOL_ERROR:
48 case TransactionError::MAX_FEE_EXCEEDED:
49 return Untranslated(
"Fee exceeds maximum configured by user (e.g. "
50 "-maxtxfee, maxfeerate)");
51 case TransactionError::INVALID_PACKAGE:
52 return Untranslated(
"Transaction rejected due to invalid package");
59 const std::string &strBind) {
60 return strprintf(
_(
"Cannot resolve -%s address: '%s'"), optname, strBind);
64 const std::string &invalid_value) {
65 return strprintf(
_(
"Invalid port specified in %s: '%s'"), optname,
70 return strprintf(
_(
"%s is set very high!"), optname);
74 const std::string &strValue) {
75 return strprintf(
_(
"Invalid amount for -%s=<amount>: '%s'"), optname,
is a home for simple enum and struct type definitions that can be used internally by functions in the...
bilingual_str PSBTErrorString(PSBTError err)
bilingual_str AmountErrMsg(const std::string &optname, const std::string &strValue)
bilingual_str ResolveErrMsg(const std::string &optname, const std::string &strBind)
bilingual_str AmountHighWarn(const std::string &optname)
bilingual_str InvalidPortErrMsg(const std::string &optname, const std::string &invalid_value)
bilingual_str TransactionErrorString(const TransactionError error)
is a home for public enum and struct type definitions that are used by internally by node code,...
bilingual_str _(const char *psz)
Translation function.
bilingual_str Untranslated(std::string original)
Mark a bilingual_str as untranslated.