Rename trans engine never prefix to ten.

This commit is contained in:
Arthur Britto
2012-05-13 11:59:02 -07:00
parent bc8eff1bf5
commit 66a77d2937
4 changed files with 34 additions and 29 deletions

View File

@@ -11,14 +11,18 @@
// It can also, verify signatures, verify fees, and give rejection reasons
enum TransactionEngineResult
{ // <0 = Can never succeed, 0 = success, >0 = failed, but could succeed
terGEN_IN_USE = -6, // Generator already in use.
terCLAIMED = -5, // Can not claim a previously claimed account.
terFAILED = -4, // Something broke horribly
terUNKNOWN = -3, // The transactions requires logic not implemented yet
terINSUF_FEE_P = -2, // fee totally insufficient
terINVALID = -1, // The transaction is ill-formed
{
// tenCAN_NEVER_SUCCEED = <0
tenGEN_IN_USE = -100, // Generator already in use.
tenCLAIMED, // Can not claim a previously claimed account.
tenFAILED, // Something broke horribly
tenUNKNOWN, // The transactions requires logic not implemented yet
tenINSUF_FEE_P, // fee totally insufficient
tenINVALID, // The transaction is ill-formed
terSUCCESS = 0, // The transaction was applied
// terFAILED_BUT_COULD_SUCEED = >0
terALREADY, // The transaction was already in the ledger
terNO_ACCOUNT, // The source account does not exist
terNO_TARGET, // The destination does not exist