mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 17:35:51 +00:00
Remove obsolete TERs in prep for ledger wipe.
This commit is contained in:
@@ -1819,7 +1819,7 @@ TER RippleCalc::calcNodeAccountRev(const unsigned int uNode, PathState& psCur, c
|
|||||||
if (!saCurWantedAct)
|
if (!saCurWantedAct)
|
||||||
{
|
{
|
||||||
// Must have processed something.
|
// Must have processed something.
|
||||||
terResult = tepPATH_DRY;
|
terResult = tecPATH_DRY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -1852,7 +1852,7 @@ TER RippleCalc::calcNodeAccountRev(const unsigned int uNode, PathState& psCur, c
|
|||||||
if (!saPrvDeliverAct)
|
if (!saPrvDeliverAct)
|
||||||
{
|
{
|
||||||
// Must want something.
|
// Must want something.
|
||||||
terResult = tepPATH_DRY;
|
terResult = tecPATH_DRY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,8 +59,6 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman)
|
|||||||
{ temUNKNOWN, "temUNKNOWN", "The transactions requires logic not implemented yet." },
|
{ temUNKNOWN, "temUNKNOWN", "The transactions requires logic not implemented yet." },
|
||||||
|
|
||||||
{ tepPARTIAL, "tepPARTIAL", "Partial success." },
|
{ tepPARTIAL, "tepPARTIAL", "Partial success." },
|
||||||
{ tepINSUF_RESERVE_OFFER, "tepINSUF_RESERVE_OFFER", "Insufficent reserve to create offer." },
|
|
||||||
{ tepPATH_DRY, "tepPATH_DRY", "Path could not send partial amount. Obsolete." },
|
|
||||||
{ tepPATH_PARTIAL, "tepPATH_PARTIAL", "Path could not send full amount." },
|
{ tepPATH_PARTIAL, "tepPATH_PARTIAL", "Path could not send full amount." },
|
||||||
|
|
||||||
{ terRETRY, "terRETRY", "Retry transaction." },
|
{ terRETRY, "terRETRY", "Retry transaction." },
|
||||||
|
|||||||
@@ -102,9 +102,7 @@ enum TER // aka TransactionEngineResult
|
|||||||
//
|
//
|
||||||
// DO NOT CHANGE THESE NUMBERS: They appear in ledger meta data.
|
// DO NOT CHANGE THESE NUMBERS: They appear in ledger meta data.
|
||||||
tepPARTIAL = 100,
|
tepPARTIAL = 100,
|
||||||
tepPATH_DRY = 101, // Obsolete. May exist in ledger.
|
tepPATH_PARTIAL = 101,
|
||||||
tepPATH_PARTIAL = 102,
|
|
||||||
tepINSUF_RESERVE_OFFER = 103, // Obsolete. May exist in ledger.
|
|
||||||
|
|
||||||
// 120 .. C Claim fee only (CO) (no path)
|
// 120 .. C Claim fee only (CO) (no path)
|
||||||
// Causes:
|
// Causes:
|
||||||
|
|||||||
Reference in New Issue
Block a user