From 92246c3e8841978cb8f495c3e2da3deca19d7391 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 7 Feb 2017 15:09:10 +0100 Subject: remove transaction_id, only one payment per proposal allowed --- src/include/taler_signatures.h | 53 ------------------------------------------ 1 file changed, 53 deletions(-) (limited to 'src/include/taler_signatures.h') diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 3740eb205..ef241c8b8 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -295,18 +295,6 @@ struct TALER_DepositRequestPS */ struct GNUNET_TIME_AbsoluteNBO refund_deadline; - /** - * Merchant-generated transaction ID to detect duplicate - * transactions. 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_proposal_data) with the - * customer should include the offer's term and transaction ID - * signed with a key from the merchant. - */ - uint64_t transaction_id GNUNET_PACKED; - /** * Amount to be deposited, including deposit fee charged by the * exchange. This is the total amount that the coin's value at the exchange @@ -363,12 +351,6 @@ struct TALER_DepositConfirmationPS */ struct GNUNET_HashCode h_wire GNUNET_PACKED; - /** - * Merchant-generated transaction ID to detect duplicate - * transactions. - */ - uint64_t transaction_id GNUNET_PACKED; - /** * Time when this confirmation was generated. */ @@ -422,11 +404,6 @@ struct TALER_RefundRequestPS */ struct GNUNET_HashCode h_proposal_data GNUNET_PACKED; - /** - * Merchant-generated transaction ID of the orginal transaction. - */ - uint64_t transaction_id GNUNET_PACKED; - /** * The coin's public key. This is the value that must have been * signed (blindly) by the Exchange. @@ -481,11 +458,6 @@ struct TALER_RefundConfirmationPS */ struct GNUNET_HashCode h_proposal_data GNUNET_PACKED; - /** - * Merchant-generated transaction ID of the orginal transaction. - */ - uint64_t transaction_id GNUNET_PACKED; - /** * The coin's public key. This is the value that must have been * signed (blindly) by the Exchange. @@ -928,14 +900,6 @@ struct TALER_DepositTrackPS */ struct GNUNET_HashCode h_wire GNUNET_PACKED; - /** - * Merchant-generated transaction ID to detect duplicate - * transactions. Chosen by the merchant and used to group - * deposits when there are multiple payments the same proposal - * (typically from different customers). - */ - uint64_t transaction_id GNUNET_PACKED; - /** * The Merchant's public key. The deposit inquiry request is to be * signed by the corresponding private key (using EdDSA). @@ -968,11 +932,6 @@ struct TALER_WireDepositDetailP */ struct GNUNET_TIME_AbsoluteNBO execution_time; - /** - * Merchant's transaction ID in NBO. - */ - uint64_t transaction_id GNUNET_PACKED; - /** * Coin's public key. */ @@ -1098,18 +1057,6 @@ struct TALER_ConfirmWirePS */ struct TALER_CoinSpendPublicKeyP coin_pub; - /** - * 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_proposal_data) - * with the customer should include the offer's term and transaction - * ID signed with a key from the merchant. - */ - uint64_t transaction_id GNUNET_PACKED; - /** * When did the exchange execute this transfer? Note that the * timestamp may not be exactly the same on the wire, i.e. -- cgit v1.2.3