gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated (808df9b -> 2bbfb25)


From: gnunet
Subject: [taler-docs] branch master updated (808df9b -> 2bbfb25)
Date: Wed, 22 Jun 2022 18:01:48 +0200

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

oec pushed a change to branch master
in repository docs.

    from 808df9b  -version bump
     new ea7d022  Cleanup of new denomination grouping
     new 2bbfb25  typo fixed

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:
 core/api-exchange.rst | 88 +++++++++++++++++++++++++++++++--------------------
 1 file changed, 54 insertions(+), 34 deletions(-)

diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 990a475..7acef55 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -240,6 +240,56 @@ possibly by using HTTPS.
 
   .. ts:def:: DenomGroup
 
+    type DenomGroup =
+      | DenomGroupRsa
+      | DenomGroupCs
+      | DenomGroupRsaAgeRestricted
+      | DenomGroupCsAgeRestricted;
+
+  .. ts:def:: DenomGroupRsa
+
+    interface DenomGroupRsa extends DenomGroupCommon {
+      cipher: "RSA";
+
+      denoms: ({
+        rsa_pub: string;
+      } & DenomCommon)[];
+    }
+
+  .. ts:def:: DenomGroupCs
+
+    interface DenomGroupCs extends DenomGroupCommon {
+      cipher: "CS";
+
+      denoms: ({
+        cs_pub: Cs25519Point;
+      } & DenomCommon)[];
+    }
+
+  .. ts:def:: DenomGroupRsaAgeRestricted
+
+    interface DenomGroupRsaAgeRestricted extends DenomGroupCommon {
+      cipher: "RSA+age_restricted";
+      age_mask: string;
+
+      denoms: ({
+        rsa_pub: string;
+      } & DenomCommon)[];
+    }
+
+  .. ts:def:: DenomGroupCsAgeRestricted
+
+    interface DenomGroupCSAgeRestricted extends DenomGroupCommon {
+      cipher: "CS+age_restricted";
+      age_mask: string;
+
+      denoms: ({
+        cs_pub: Cs25519Point;
+      } & DenomCommon)[];
+    }
+
+  .. ts:def:: DenomGroupCommon
+
     // Common attributes for all denomination groups
     interface DenomGroupCommon {
       // How much are coins of this denomination worth?
@@ -261,6 +311,8 @@ possibly by using HTTPS.
       hash: HashCode;
     }
 
+  .. ts:def:: DenomCommon
+
     interface DenomCommon {
       // Signature of `TALER_DenominationKeyValidityPS`.
       master_sig: EddsaSignature;
@@ -278,38 +330,6 @@ possibly by using HTTPS.
       stamp_expire_legal: Timestamp;
     }
 
-    type DenomGroup =
-      | DenomGroupRsa
-      | DenomGroupCs
-      | DenomGroupRsaAgeRestricted
-      | DenomGroupCsAgeRestricted;
-
-    interface DenomGroupRsa extends DenomGroupCommon {
-      cipher: "RSA";
-
-      denoms: ({
-        rsa_pub: string;
-      } & DenomGroupCommon)[];
-    }
-
-    interface DenomGroupCs extends DenomGroupCommon {
-      cipher: "CS";
-
-      denoms: ({
-        cs_pub: Cs25519Point;
-        age_mask: string;
-      } & DenomGroupCommon)[];
-    }
-
-    interface DenomGroupRsaAgeRestricted extends DenomGroupCommon {
-      cipher: "RSA+age_restricted";
-
-      denoms: ({
-        rsa_pub: string;
-        age_mask: string;
-      } & DenomGroupCommon)[];
-    }
-
   .. ts:def:: Denom
 
     interface Denom {
@@ -3384,7 +3404,7 @@ Wallet-to-wallet transfers
       ub_sig: DenominationSignature;
 
       // Age commitment hash for the coin, if the denomination is 
age-restricted.
-      h_age_commitment?: AgeCommitment;
+      h_age_commitment?: HashCode;
 
       // FIXME-Oec: proof of age is missing.
 
@@ -3769,7 +3789,7 @@ Wallet-to-wallet transfers
       ub_sig: DenominationSignature;
 
       // Age commitment hash for the coin, if the denomination is 
age-restricted.
-      h_age_commitment?: AgeCommitment;
+      h_age_commitment?: HashCode;
 
       // FIXME-Oec: proof of age is missing.
 

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