[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: make TALER_RefundConfirmationPS
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: make TALER_RefundConfirmationPS public |
Date: |
Tue, 29 Mar 2022 19:12:56 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new adc9dae4 make TALER_RefundConfirmationPS public
adc9dae4 is described below
commit adc9dae4cc3e6888877ff87f6c1d06a140fbe7b6
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Mar 29 14:12:45 2022 -0300
make TALER_RefundConfirmationPS public
---
src/include/taler_signatures.h | 41 +++++++++++++++++++++++++++++++++++++++++
src/util/exchange_signatures.c | 42 ------------------------------------------
2 files changed, 41 insertions(+), 42 deletions(-)
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 52c294ce..606b4f6a 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -442,6 +442,47 @@ struct TALER_PaymentResponsePS
struct TALER_PrivateContractHashP h_contract_terms;
};
+/**
+ * @brief Format used to generate the signature on a request to refund
+ * a coin into the account of the customer.
+ */
+struct TALER_RefundConfirmationPS
+{
+ /**
+ * Purpose must be #TALER_SIGNATURE_EXCHANGE_CONFIRM_REFUND.
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+
+ /**
+ * Hash over the proposal data to identify the contract
+ * which is being refunded.
+ */
+ struct TALER_PrivateContractHashP h_contract_terms GNUNET_PACKED;
+
+ /**
+ * The coin's public key. This is the value that must have been
+ * signed (blindly) by the Exchange.
+ */
+ struct TALER_CoinSpendPublicKeyP coin_pub;
+
+ /**
+ * The Merchant's public key. Allows the merchant to later refund
+ * the transaction or to inquire about the wire transfer identifier.
+ */
+ struct TALER_MerchantPublicKeyP merchant;
+
+ /**
+ * Merchant-generated transaction ID for the refund.
+ */
+ uint64_t rtransaction_id GNUNET_PACKED;
+
+ /**
+ * Amount to be refunded, including refund fee charged by the
+ * exchange to the customer.
+ */
+ struct TALER_AmountNBO refund_amount;
+};
+
GNUNET_NETWORK_STRUCT_END
diff --git a/src/util/exchange_signatures.c b/src/util/exchange_signatures.c
index 4890ca20..2e180b5e 100644
--- a/src/util/exchange_signatures.c
+++ b/src/util/exchange_signatures.c
@@ -172,48 +172,6 @@ TALER_exchange_online_deposit_confirmation_verify (
}
-/**
- * @brief Format used to generate the signature on a request to refund
- * a coin into the account of the customer.
- */
-struct TALER_RefundConfirmationPS
-{
- /**
- * Purpose must be #TALER_SIGNATURE_EXCHANGE_CONFIRM_REFUND.
- */
- struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
-
- /**
- * Hash over the proposal data to identify the contract
- * which is being refunded.
- */
- struct TALER_PrivateContractHashP h_contract_terms GNUNET_PACKED;
-
- /**
- * The coin's public key. This is the value that must have been
- * signed (blindly) by the Exchange.
- */
- struct TALER_CoinSpendPublicKeyP coin_pub;
-
- /**
- * The Merchant's public key. Allows the merchant to later refund
- * the transaction or to inquire about the wire transfer identifier.
- */
- struct TALER_MerchantPublicKeyP merchant;
-
- /**
- * Merchant-generated transaction ID for the refund.
- */
- uint64_t rtransaction_id GNUNET_PACKED;
-
- /**
- * Amount to be refunded, including refund fee charged by the
- * exchange to the customer.
- */
- struct TALER_AmountNBO refund_amount;
-};
-
-
enum TALER_ErrorCode
TALER_exchange_online_refund_confirmation_sign (
TALER_ExchangeSignCallback scb,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: make TALER_RefundConfirmationPS public,
gnunet <=