gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: update specification for #6416


From: gnunet
Subject: [taler-docs] branch master updated: update specification for #6416
Date: Wed, 08 Jul 2020 15:29:53 +0200

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

grothoff pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 3dd24bd  update specification for #6416
     new 8236b1e  Merge branch 'master' of git+ssh://git.taler.net/docs
3dd24bd is described below

commit 3dd24bd40d15bdd10e1fd183995935d4e7786e31
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jul 8 15:29:45 2020 +0200

    update specification for #6416
---
 core/api-common.rst   | 14 +++++++++++++-
 core/api-exchange.rst |  5 +++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/core/api-common.rst b/core/api-common.rst
index 272dfd6..987ba66 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -672,6 +672,7 @@ within the
     struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
     struct GNUNET_HashCode h_contract_terms;
     struct GNUNET_HashCode h_wire;
+    struct GNUNET_HashCode h_denom_pub;
     struct GNUNET_TIME_AbsoluteNBO timestamp;
     struct GNUNET_TIME_AbsoluteNBO refund_deadline;
     struct TALER_AmountNBO amount_with_fee;
@@ -711,6 +712,7 @@ within the
      */
     struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
     struct GNUNET_HashCode session_hash;
+    struct GNUNET_HashCode h_denom_pub;
     struct TALER_AmountNBO amount_with_fee;
     struct TALER_AmountNBO melt_fee;
     union TALER_CoinSpendPublicKeyP coin_pub;
@@ -958,7 +960,17 @@ within the
 .. _TALER_RecoupRefreshConfirmationPS:
 .. sourcecode:: c
 
-  // FIXME: put definition here
+  struct TALER_RecoupRefreshConfirmationPS {
+
+    /**
+     * purpose.purpose = TALER_SIGNATURE_EXCHANGE_CONFIRM_RECOUP_REFRESH
+     */
+    struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+    struct GNUNET_TIME_AbsoluteNBO timestamp;
+    struct TALER_AmountNBO recoup_amount;
+    struct TALER_CoinSpendPublicKeyP coin_pub;
+    struct TALER_CoinSpendPublicKeyP old_coin_pub;
+  };
 
 .. _TALER_RecoupConfirmationPS:
 .. sourcecode:: c
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 9b18a18..b461733 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -770,6 +770,11 @@ denomination.
       // only present if ``type`` is "DEPOSIT"
       h_wire?: HashCode;
 
+      // Hash of the public denomination key used to sign the coin.
+      // only present if ``type`` is "DEPOSIT", "RECOUP",
+      // "RECOUP-REFRESH", "OLD-COIN-RECOUP" or "MELT".
+      h_denom_pub?: HashCode;
+
       // Deposit fee in case of type "REFUND".
       refund_fee?: Amount;
 

-- 
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]