diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-01-07 16:24:30 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-01-07 16:24:39 +0100 |
commit | c7444f87f7c699f8da8fd5d1d687d6a28021e760 (patch) | |
tree | f0537e935e69de359523c304c46003a921893a6a /core/api-common.rst | |
parent | aac32217084215621a374f737dec5796838e1133 (diff) | |
download | docs-c7444f87f7c699f8da8fd5d1d687d6a28021e760.tar.gz docs-c7444f87f7c699f8da8fd5d1d687d6a28021e760.tar.bz2 docs-c7444f87f7c699f8da8fd5d1d687d6a28021e760.zip |
redo withdraw with age restriction
Diffstat (limited to 'core/api-common.rst')
-rw-r--r-- | core/api-common.rst | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/core/api-common.rst b/core/api-common.rst index 4faaf88d..8468cc3b 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -830,30 +830,17 @@ within the struct TALER_BlindedCoinHash h_coin_envelope; }; -.. _TALER_WithdrawAgeRestrictedRequestPS: +.. _TALER_AgeWithdrawRequestPS: .. sourcecode:: c - struct TALER_WithdrawAgeRestrictedRequestPS { + struct TALER_AgeWithdrawRequestPS { /** - * purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_WITHDRAW_AGE_RESTRICTED + * purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_AGE_WITHDRAW */ struct GNUNET_CRYPTO_EccSignaturePurpose purpose; struct TALER_ReservePublicKeyP reserve_pub; - struct GNUNET_HashCode h_age_restricted_coin_commitments; - }; - - -.. _TALER_WithdrawAgeRestrictedRevealRequestPS: -.. sourcecode:: c - - struct TALER_WithdrawAgeRestrictedRevealRequestPS { - /** - * purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_WITHDRAW_AGE_RESTRICTED_REVEAL - */ - struct GNUNET_CRYPTO_EccSignaturePurpose purpose; - struct GNUNET_HashCode denoms_h; - struct GNUNET_HashCode coin_evs; - struct GNUNET_HashCode disclosed_coins; + struct GNUNET_HashCode age_restricted_coins_commitment; + struct GNUNET_HashCode h_denoms_h; }; |