gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-api] branch master updated: add TALER_CoinLinkSignat


From: gnunet
Subject: [GNUnet-SVN] [taler-api] branch master updated: add TALER_CoinLinkSignaturePS
Date: Wed, 26 Jun 2019 13:40:42 +0200

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

dold pushed a commit to branch master
in repository api.

The following commit(s) were added to refs/heads/master by this push:
     new 665946b  add TALER_CoinLinkSignaturePS
665946b is described below

commit 665946b1a166c897bc36540c1997c3984df6f4e8
Author: Florian Dold <address@hidden>
AuthorDate: Wed Jun 26 13:40:34 2019 +0200

    add TALER_CoinLinkSignaturePS
---
 api-common.rst   | 14 ++++++++++++++
 api-exchange.rst |  2 ++
 2 files changed, 16 insertions(+)

diff --git a/api-common.rst b/api-common.rst
index 3b0bc4b..8f3ae37 100644
--- a/api-common.rst
+++ b/api-common.rst
@@ -796,3 +796,17 @@ within the
     struct TALER_ReservePublicKeyP reserve_pub;
     struct GNUNET_HashCode h_wire;
   };
+
+.. _TALER_CoinLinkSignaturePS:
+.. sourcecode:: c
+
+  struct TALER_CoinLinkSignaturePS {
+    /**
+     * purpose.purpose = TALER_SIGNATURE_WALLET_COIN_LINK
+     */
+    struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+    struct GNUNET_HashCode h_denom_pub;
+    struct TALER_CoinSpendPublicKeyP old_coin_pub;
+    struct TALER_TransferPublicKeyP transfer_pub;
+    struct GNUNET_HashCode coin_envelope_hash;
+  };
diff --git a/api-exchange.rst b/api-exchange.rst
index 48352cf..bf214d5 100644
--- a/api-exchange.rst
+++ b/api-exchange.rst
@@ -877,6 +877,7 @@ the API during normal operation.
 
       // Signature made by the wallet using the old coin's private key,
       // used later to verify the /refresh/link response from the exchange.
+      // Signs over a `TALER_CoinLinkSignaturePS`_
       link_sig: EddsaSignature;
 
       // The original commitment, used to match the /refresh/reveal
@@ -960,6 +961,7 @@ the API during normal operation.
       coin_ev: CoinEnvelope;
 
       // Signature made by the old coin over the refresh request.
+      // Signs over a `TALER_CoinLinkSignaturePS`_
       link_sig: EddsaSignature;
     }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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