gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated (e5b65aa4 -> eadee56d)


From: gnunet
Subject: [taler-exchange] branch master updated (e5b65aa4 -> eadee56d)
Date: Wed, 30 Mar 2022 12:02:38 +0200

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

grothoff pushed a change to branch master
in repository exchange.

    from e5b65aa4 fix: wtid request param size
     new 6040c9ff make struct private again
     new eadee56d -remove row check, not stable enough to assert on

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/auditor/test-auditor.sh    |  6 ------
 src/include/taler_signatures.h | 41 -----------------------------------------
 src/util/exchange_signatures.c | 42 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 47 deletions(-)

diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 78407f7a..0d5dbc88 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -1595,12 +1595,6 @@ then
     run_audit aggregator
 
     echo -n "Testing inconsistency detection... "
-    ROW=`jq -e .bad_sig_losses[0].row < test-audit-aggregation.json`
-    if test $ROW != "1"
-    then
-        exit_fail "Row wrong, got $ROW"
-    fi
-
     LOSS=`jq -r .bad_sig_losses[0].loss < test-audit-aggregation.json`
     if test $LOSS == "TESTKUDOS:0"
     then
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 606b4f6a..52c294ce 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -442,47 +442,6 @@ 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 2e180b5e..4890ca20 100644
--- a/src/util/exchange_signatures.c
+++ b/src/util/exchange_signatures.c
@@ -172,6 +172,48 @@ 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.



reply via email to

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