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: changing protocol to pas


From: gnunet
Subject: [GNUnet-SVN] [taler-api] branch master updated: changing protocol to pass denom pub hash code instead of denom pub in various operations to reduce bandwidth
Date: Thu, 02 May 2019 21:15:20 +0200

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

grothoff pushed a commit to branch master
in repository api.

The following commit(s) were added to refs/heads/master by this push:
     new bc61c15  changing protocol to pass denom pub hash code instead of 
denom pub in various operations to reduce bandwidth
bc61c15 is described below

commit bc61c155d42e055fa3069f0cfdea04093e73be88
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu May 2 20:39:59 2019 +0200

    changing protocol to pass denom pub hash code instead of denom pub in 
various operations to reduce bandwidth
---
 api-exchange.rst | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/api-exchange.rst b/api-exchange.rst
index d8d7c80..9a3412a 100644
--- a/api-exchange.rst
+++ b/api-exchange.rst
@@ -471,9 +471,9 @@ exchange.
   .. code-block:: tsref
 
     interface WithdrawRequest {
-      // Denomination public key (RSA), specifying the type of coin the client
+      // Hash of a denomination public key (RSA), specifying the type of coin 
the client
       // would like the exchange to create.
-      denom_pub: RsaPublicKey;
+      denom_pub_hash: HashCode;
 
       // coin's blinded public key, should be (blindly) signed by the 
exchange's
       // denomination private key
@@ -578,10 +578,8 @@ denomination.
       // `coin's public key <eddsa-coin-pub>`_, both ECDHE and EdDSA.
       coin_pub: CoinPublicKey;
 
-      // denomination RSA key with which the coin is signed
-      // TODO: consider changing to h_denom_pub to reduce bandwidth?
-      // (Exchange clearly knows the full denom_pub).
-      denom_pub: RsaPublicKey;
+      // Hash of denomination RSA key with which the coin is signed
+      denom_pub_hash: HashCode;
 
       // exchange's unblinded RSA signature of the coin
       ub_sig: RsaSignature;
@@ -762,8 +760,8 @@ the API during normal operation.
       // `Coin public key <eddsa-coin-pub>`_, uniquely identifies the coin to 
be melted
       coin_pub: string;
 
-      // The denomination public key allows the exchange to determine total 
coin value.
-      denom_pub: RsaPublicKey;
+      // Hash of the denomination public key, to determine total coin value.
+      denom_pub_hash: HashCode;
 
       // Signature over the `coin public key <eddsa-coin-pub>`_ by the 
denomination.
       denom_sig: RsaSignature;
@@ -1001,9 +999,9 @@ in using this API.
   .. code-block:: tsref
 
     interface PaybackRequest {
-      // Denomination public key (RSA), specifying the type of coin the client
+      // Hash of denomination public key (RSA), specifying the type of coin 
the client
       // would like the exchange to pay back.
-      denom_pub: RsaPublicKey;
+      denom_pub_hash: HashCode;
 
       // Signature over the `coin public key <eddsa-coin-pub>`_ by the 
denomination.
       denom_sig: RsaSignature;

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



reply via email to

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