summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
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
commitc7444f87f7c699f8da8fd5d1d687d6a28021e760 (patch)
treef0537e935e69de359523c304c46003a921893a6a /core/api-common.rst
parentaac32217084215621a374f737dec5796838e1133 (diff)
downloaddocs-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.rst23
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;
};