taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit dab1b41eda3788f3747646f543db40896bf23b4b
parent 362fa6513a41a762f51dd7e75f650ec730dafdb7
Author: Özgür Kesim <oec-taler@kesim.org>
Date:   Sun, 12 Mar 2023 19:41:48 +0100

age-withdraw commitment: max_age instead of max_age_group

Diffstat:
Mcore/api-common.rst | 2+-
Mcore/api-exchange.rst | 6+++---
Mdesign-documents/024-age-restriction.rst | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/api-common.rst b/core/api-common.rst @@ -867,7 +867,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; + uint8 max_age; }; diff --git a/core/api-exchange.rst b/core/api-exchange.rst @@ -2384,9 +2384,9 @@ 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; + // The maximum age to commit to. MUST be the same as the maximum + // age in the reserve. + max_age: number; // Signature of `TALER_AgeWithdrawRequestPS` created with // the `reserves's private key <reserve-priv>` diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst @@ -450,7 +450,7 @@ schema in the exchange is given here: label=<<B>withdraw_age_commitments</B>> margin=20 commitments [ - label="withdraw_age_commitments_id\l|<hc>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" + label="withdraw_age_commitments_id\l|<hc>h_commitment\l|amount_with_fee_val\l|amount_with_fee_frac\l|noreveal_index\l|max_age\l|<res>reserve_pub\l|reserve_sig\l|timestamp\l" ] }