From c97979d00ab68915b0d354a1424e420ef84b7723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Sun, 14 Nov 2021 16:39:42 +0100 Subject: age restriction (load per denomination). 3/n --- src/include/taler_crypto_lib.h | 4 +++- src/include/taler_extensions.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 7261d4de5..d354add1a 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -324,7 +324,9 @@ struct TALER_CoinSpendPublicKeyP struct GNUNET_CRYPTO_EddsaPublicKey eddsa_pub; /* - * If age restriction applies to the coin, it must come with a hash of the age commitment + * If age restriction applies to the coin, it must come with a hash of the + * age commitment. A zero value indicates that the coin has no age + * commitment set. */ struct TALER_AgeHash age_commitment_hash; }; diff --git a/src/include/taler_extensions.h b/src/include/taler_extensions.h index c22a23b86..0ef69a78d 100644 --- a/src/include/taler_extensions.h +++ b/src/include/taler_extensions.h @@ -29,7 +29,7 @@ * invalid, OK otherwise. */ enum GNUNET_GenericReturnValue -TALER_get_age_mask (const struct GNUNET_CONFIGURATION_Handle *cfg, struct - TALER_AgeMask *mask); +TALER_get_age_mask (const struct GNUNET_CONFIGURATION_Handle *cfg, + struct TALER_AgeMask *mask); #endif -- cgit v1.2.3