summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/api-common.rst1
-rw-r--r--core/api-exchange.rst4
-rw-r--r--design-documents/024-age-restriction.rst2
3 files changed, 6 insertions, 1 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 7ce43e92..ab158e79 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 6868653a..ab046350 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 6ba45734..b9553432 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"
]
}