[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.
- [taler-docs] 09/15: added derivation of blinding from private key, (continued)
- [taler-docs] 09/15: added derivation of blinding from private key, gnunet, 2023/01/11
- [taler-docs] 03/15: fix some syntax issues, gnunet, 2023/01/11
- [taler-docs] 02/15: fix # of disclosed coins -> [n][kappa-1] array, gnunet, 2023/01/11
- [taler-docs] 14/15: added description of how to derive cs-nonce from the coin_priv for withdraw-age, gnunet, 2023/01/11
- [taler-docs] 10/15: clearity in age withdraw reveal optimization, gnunet, 2023/01/11
- [taler-docs] 06/15: finalizing age-withdraw api, gnunet, 2023/01/11
- [taler-docs] 04/15: redo withdraw with age restriction, gnunet, 2023/01/11
- [taler-docs] 12/15: -rename id field in table, gnunet, 2023/01/11
- [taler-docs] 05/15: added ReserveAgeWithdrawTransaction to the history of a reserve, gnunet, 2023/01/11
- [taler-docs] 11/15: -mention the private keys of the derived age commitments, gnunet, 2023/01/11
- [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,
gnunet <=
- [taler-docs] 07/15: -rename field in age-withdraw history, gnunet, 2023/01/11
- [taler-docs] 08/15: added description of optimization and DB-schema, gnunet, 2023/01/11
- [taler-docs] 15/15: Merge branch 'age-restriction', gnunet, 2023/01/11