mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
New tef for incorrect prior transaction.
This commit is contained in:
@@ -40,6 +40,7 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
|
|||||||
{ tefINTERNAL, "tefINTERNAL", "Internal error." },
|
{ tefINTERNAL, "tefINTERNAL", "Internal error." },
|
||||||
{ tefNO_AUTH_REQUIRED, "tefNO_AUTH_REQUIRED", "Auth is not required." },
|
{ tefNO_AUTH_REQUIRED, "tefNO_AUTH_REQUIRED", "Auth is not required." },
|
||||||
{ tefPAST_SEQ, "tefPAST_SEQ", "This sequence number has already past." },
|
{ tefPAST_SEQ, "tefPAST_SEQ", "This sequence number has already past." },
|
||||||
|
{ tefWRONG_PRIOR, "tefWRONG_PRIOR", "This previous transaction does not match." },
|
||||||
|
|
||||||
{ telLOCAL_ERROR, "telLOCAL_ERROR", "Local failure." },
|
{ telLOCAL_ERROR, "telLOCAL_ERROR", "Local failure." },
|
||||||
{ telBAD_DOMAIN, "telBAD_DOMAIN", "Domain too long." },
|
{ telBAD_DOMAIN, "telBAD_DOMAIN", "Domain too long." },
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ enum TER // aka TransactionEngineResult
|
|||||||
tefINTERNAL,
|
tefINTERNAL,
|
||||||
tefNO_AUTH_REQUIRED, // Can't set auth if auth is not required.
|
tefNO_AUTH_REQUIRED, // Can't set auth if auth is not required.
|
||||||
tefPAST_SEQ,
|
tefPAST_SEQ,
|
||||||
|
tefWRONG_PRIOR,
|
||||||
|
|
||||||
// -99 .. -1: R Retry (sequence too high, no funds for txn fee, originating account non-existent)
|
// -99 .. -1: R Retry (sequence too high, no funds for txn fee, originating account non-existent)
|
||||||
// Causes:
|
// Causes:
|
||||||
|
|||||||
Reference in New Issue
Block a user