diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-01-06 19:24:12 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-01-06 19:24:12 +0100 |
commit | 0f619df8ee16bea6d8e5a333139630ed257a45d2 (patch) | |
tree | 8f31f37e85dae08ecdfb7cb5e8873c09869e305f /core/api-common.rst | |
parent | 2caa9ec930895ab79b8182a21b70ed15dac4b8b7 (diff) | |
download | docs-0f619df8ee16bea6d8e5a333139630ed257a45d2.tar.gz docs-0f619df8ee16bea6d8e5a333139630ed257a45d2.tar.bz2 docs-0f619df8ee16bea6d8e5a333139630ed257a45d2.zip |
added withdraw with age restriction and reveal
Diffstat (limited to 'core/api-common.rst')
-rw-r--r-- | core/api-common.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/core/api-common.rst b/core/api-common.rst index b2913b47..4faaf88d 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -830,6 +830,33 @@ within the struct TALER_BlindedCoinHash h_coin_envelope; }; +.. _TALER_WithdrawAgeRestrictedRequestPS: +.. sourcecode:: c + + struct TALER_WithdrawAgeRestrictedRequestPS { + /** + * purpose.purpose = TALER_SIGNATURE_WALLET_RESERVE_WITHDRAW_AGE_RESTRICTED + */ + 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; + }; + + .. _TALER_DepositRequestPS: .. sourcecode:: c |