gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] 13/15: added max_age_group to the withdraw-age request, ma


From: gnunet
Subject: [taler-docs] 13/15: added max_age_group to the withdraw-age request, made it signed by the reserve_priv, and put into the database schema
Date: Wed, 11 Jan 2023 17:27:45 +0100

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

oec pushed a commit to branch master
in repository docs.

commit bccd5efc461707d7c53937a890adaf3f722085dc
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Wed Jan 11 15:26:07 2023 +0100

    added max_age_group to the withdraw-age request, made it signed by the 
reserve_priv, and put into the database schema
---
 core/api-common.rst                      | 1 +
 core/api-exchange.rst                    | 4 ++++
 design-documents/024-age-restriction.rst | 2 +-
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/core/api-common.rst b/core/api-common.rst
index 7ce43e9..ab158e7 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -842,6 +842,7 @@ within the
     struct TALER_ReservePublicKeyP reserve_pub;
     struct GNUNET_HashCode age_restricted_coins_commitment;
     struct GNUNET_HashCode h_denoms_h;
+    uint8 max_age_group;
   };
 
 
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 6868653..ab04635 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -2122,6 +2122,10 @@ If so, the exchange will blindly sign ``n`` undisclosed 
coins from the request.
       // denominations MUST equal this amount.
       amount: Amount;
 
+      // The maximum age group to commit to.  MUST be the same as the maximum
+      // age group in the reserve.
+      max_age_group: number;
+
       // Signature of `TALER_AgeWithdrawRequestPS` created with
       // the `reserves's private key <reserve-priv>`
       // using purpose ``TALER_SIGNATURE_WALLET_RESERVE_AGE_WITHDRAW``.
diff --git a/design-documents/024-age-restriction.rst 
b/design-documents/024-age-restriction.rst
index 6ba4573..b955343 100644
--- a/design-documents/024-age-restriction.rst
+++ b/design-documents/024-age-restriction.rst
@@ -442,7 +442,7 @@ schema in the exchange is given here:
                        label=<<B>withdraw_age_commitments</B>>
                        margin=20
                        commitments [
-                         
label="<id>withdraw_age_commitments_id\l|h_commitment\l|amount_with_fee_val\l|amount_with_fee_frac\l|noreveal_index\l|<res>reserve_uuid\l|reserve_sig\l|timestamp\l"
+                         
label="<id>withdraw_age_commitments_id\l|h_commitment\l|amount_with_fee_val\l|amount_with_fee_frac\l|noreveal_index\l|max_age_group\l|<res>reserve_pub\l|reserve_sig\l|timestamp\l"
                        ]
                }
 

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