gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: Renaming's first st


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: Renaming's first steps.
Date: Fri, 03 Feb 2017 18:27:08 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new a60c5e9  Renaming's first steps.
a60c5e9 is described below

commit a60c5e9c97ea72428d4f61af3ea8caf1d74f2dcb
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Feb 3 18:26:47 2017 +0100

    Renaming's first steps.
---
 src/include/taler_error_codes.h | 13 ++++++-------
 src/include/taler_signatures.h  |  8 ++++----
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 5bd9bde..b0e3373 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -1139,23 +1139,22 @@ enum TALER_ErrorCode
 
   /**
    * 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.
    */
-  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
-   * 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
-   * contract from database.  Likely to be an internal error.
+   * The proposal being looked up is not found on this merchant.
    */
-  TALER_EC_MAP_OUT_CONTRACT_UNKNOWN = 2503,
+  TALER_EC_PROPOSAL_LOOKUP_NOT_FOUND = 2503,
 
   /* ********** /test API error codes ************* */
 
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 00e5c6e..d7b2e91 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -1031,11 +1031,11 @@ struct TALER_WireDepositDataPS
 /**
  * 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 #TALER_SIGNATURE_MERCHANT_CONTRACT.
+   * Purpose header for the signature over the proposal data
+   * with purpose #TALER_SIGNATURE_MERCHANT_CONTRACT.
    */
   struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
 
@@ -1043,7 +1043,7 @@ struct TALER_ContractPS
    * Hash of the JSON contract in UTF-8 including 0-termination,
    * using JSON_COMPACT | JSON_SORT_KEYS
    */
-  struct GNUNET_HashCode h_contract;
+  struct GNUNET_HashCode h_proposal_data;
 };
 
 /**

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]