Renaming's first steps.

This commit is contained in:
Marcello Stanisci 2017-02-03 18:26:47 +01:00
parent d2302da332
commit a60c5e9c97
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 10 additions and 11 deletions

View File

@ -1139,23 +1139,22 @@ enum TALER_ErrorCode
/** /**
* The backend encountered an error while trying to store the * The backend encountered an error while trying to store the
* pair <contract, h_contract> into the database. * pair <proposal_data, h_transaction_id> into the database.
* The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR. * The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR.
*/ */
TALER_EC_MAP_IN_STORE_DB_ERROR = 2501, TALER_EC_PROPOSAL_STORE_DB_ERROR = 2501,
/** /**
* The backend encountered an error while trying to retrieve the * The backend encountered an error while trying to retrieve the
* contract from database. Likely to be an internal error. * proposal data from database. Likely to be an internal error.
*/ */
TALER_EC_MAP_OUT_GET_FROM_DB_ERROR = 2502, TALER_EC_PROPOSAL_LOOKUP_DB_ERROR = 2502,
/** /**
* The backend encountered an error while trying to retrieve the * The proposal being looked up is not found on this merchant.
* contract from database. Likely to be an internal error.
*/ */
TALER_EC_MAP_OUT_CONTRACT_UNKNOWN = 2503, TALER_EC_PROPOSAL_LOOKUP_NOT_FOUND = 2503,
/* ********** /test API error codes ************* */ /* ********** /test API error codes ************* */

View File

@ -1031,11 +1031,11 @@ struct TALER_WireDepositDataPS
/** /**
* The contract sent by the merchant to the wallet. * The contract sent by the merchant to the wallet.
*/ */
struct TALER_ContractPS struct TALER_ProposalDatatPS
{ {
/** /**
* Purpose header for the signature over the contract with * Purpose header for the signature over the proposal data
* purpose #TALER_SIGNATURE_MERCHANT_CONTRACT. * with purpose #TALER_SIGNATURE_MERCHANT_CONTRACT.
*/ */
struct GNUNET_CRYPTO_EccSignaturePurpose purpose; struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
@ -1043,7 +1043,7 @@ struct TALER_ContractPS
* Hash of the JSON contract in UTF-8 including 0-termination, * Hash of the JSON contract in UTF-8 including 0-termination,
* using JSON_COMPACT | JSON_SORT_KEYS * using JSON_COMPACT | JSON_SORT_KEYS
*/ */
struct GNUNET_HashCode h_contract; struct GNUNET_HashCode h_proposal_data;
}; };
/** /**