diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2021-11-14 16:39:42 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2021-11-14 16:39:42 +0100 |
commit | c97979d00ab68915b0d354a1424e420ef84b7723 (patch) | |
tree | 7990098ab493ea5e164120f630e06c8fc6e5cc02 /src/include | |
parent | 7c510388b9d789c35fc05bead7677b3de52a318e (diff) | |
download | exchange-c97979d00ab68915b0d354a1424e420ef84b7723.tar.xz |
age restriction (load per denomination). 3/n
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_crypto_lib.h | 4 | ||||
-rw-r--r-- | src/include/taler_extensions.h | 4 |
2 files changed, 5 insertions, 3 deletions
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 |