mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 18:45:55 +00:00
Conditional Suspended Payments (RIPD-1140):
A conditional suspended payment is a suspended payment where completion of the payment is contingent upon the fulfillment of a condition defined by the sender during creation of the suspended payment. This commit also introduces the "CryptoConditions" amendment which controls whether cryptoconditions will be supported in suspended payments. The existing "SusPay" amendment can be used to enable suspended payments without enabling the cryptoconditions code.
This commit is contained in:
@@ -63,6 +63,7 @@ bool transResultInfo (TER code, std::string& token, std::string& text)
|
||||
{ tecNEED_MASTER_KEY, { "tecNEED_MASTER_KEY", "The operation requires the use of the Master Key." } },
|
||||
{ tecDST_TAG_NEEDED, { "tecDST_TAG_NEEDED", "A destination tag is required." } },
|
||||
{ tecINTERNAL, { "tecINTERNAL", "An internal error has occurred during processing." } },
|
||||
{ tecCRYPTOCONDITION_ERROR, { "tecCRYPTOCONDITION_ERROR", "Malformed, invalid, or mismatched conditional or fulfillment." } },
|
||||
|
||||
{ tefALREADY, { "tefALREADY", "The exact transaction was already in this ledger." } },
|
||||
{ tefBAD_ADD_AUTH, { "tefBAD_ADD_AUTH", "Not authorized to add account." } },
|
||||
|
||||
Reference in New Issue
Block a user