[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: remove redundant fi
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: remove redundant fields from ContractPS (#4859) |
Date: |
Fri, 13 Jan 2017 16:47:16 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new d2302da remove redundant fields from ContractPS (#4859)
d2302da is described below
commit d2302da33223a265dddf50d24c69ba9d5a057827
Author: Florian Dold <address@hidden>
AuthorDate: Fri Jan 13 16:47:09 2017 +0100
remove redundant fields from ContractPS (#4859)
---
src/include/taler_signatures.h | 39 ---------------------------------------
1 file changed, 39 deletions(-)
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index a2ca555..00e5c6e 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -1030,13 +1030,6 @@ struct TALER_WireDepositDataPS
/**
* The contract sent by the merchant to the wallet.
- *
- * Some fields are lifted from the contract and signed over in addition to the
- * contract hash. This redundancy allows these pieces of information can be
- * verified without knowing the whole content of the contract.
- * The mechant backend's "/pay" handler, for example, can verify that a deposit
- * permission relates to a valid contract this way without having to have the
- * full contract.
*/
struct TALER_ContractPS
{
@@ -1047,42 +1040,10 @@ struct TALER_ContractPS
struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
/**
- * Merchant-generated transaction ID to detect duplicate
- * transactions, in big endian. The merchant must communicate a
- * merchant-unique ID to the customer for each transaction. Note
- * that different coins that are part of the same transaction can
- * use the same transaction ID. The transaction ID is useful for
- * later disputes, and the merchant's contract offer (@e h_contract)
- * with the customer should include the offer's term and transaction
- * ID signed with a key from the merchant. This field must match
- * the corresponding field in the JSON contract.
- */
- uint64_t transaction_id GNUNET_PACKED;
-
- /**
- * The total amount to be paid to the merchant. Note that if deposit
- * fees are higher than @e max_fee, the actual total must be higher
- * to cover the additional fees. This field must match the
- * corresponding field in the JSON contract.
- */
- struct TALER_AmountNBO total_amount;
-
- /**
- * The maximum fee the merchant is willing to cover. This field
- * must match the corresponding field in the JSON contract.
- */
- struct TALER_AmountNBO max_fee;
-
- /**
* Hash of the JSON contract in UTF-8 including 0-termination,
* using JSON_COMPACT | JSON_SORT_KEYS
*/
struct GNUNET_HashCode h_contract;
-
- /**
- * Key of the merchant who is signing this contract
- */
- struct TALER_MerchantPublicKeyP merchant_pub;
};
/**
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: remove redundant fields from ContractPS (#4859),
gnunet <=