diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2022-03-15 18:19:08 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2022-03-15 18:19:08 +0100 |
commit | cd0b3436e9a0d89d427e3dda59d28c03b6d4dd2c (patch) | |
tree | 3531f246991a848670278b1853a8758610aadaf0 /src/include | |
parent | c24d0e772552b2c1dbc043ef759445805793e51e (diff) |
[age restriction] age verification implemented, but not tested.
order/pay now verifies the minimum_age of an order for each coin, using
the age restriction API from the exchange-lib.
Note, tests are not implemented yet.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_merchant_service.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h index 660f1024..d632df67 100644 --- a/src/include/taler_merchant_service.h +++ b/src/include/taler_merchant_service.h @@ -2241,6 +2241,11 @@ struct TALER_MERCHANT_PayCoin struct TALER_CoinSpendPrivateKeyP coin_priv; /** + * Coin's age commitment. Might be NULL, if not applicable. + */ + const struct TALER_AgeCommitmentHash *h_age_commitment; + + /** * Amount this coin contributes to (including fee). */ struct TALER_Amount amount_with_fee; |