aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_age-withdraw.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-05-14 13:11:36 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-05-14 13:11:36 +0200
commit4a31a180a4595aa040060e91ccde4f839aa02f72 (patch)
treeacc4f71d27832fc4e20a0cd9c8d913483dd86ab2 /src/exchange/taler-exchange-httpd_age-withdraw.c
parent9f1f069cea3775be68bbdbbd5e44fd4c86eb9bf6 (diff)
[æge-withdraw] WiP: towards new API
Diffstat (limited to 'src/exchange/taler-exchange-httpd_age-withdraw.c')
-rw-r--r--src/exchange/taler-exchange-httpd_age-withdraw.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_age-withdraw.c b/src/exchange/taler-exchange-httpd_age-withdraw.c
index 0978421a..d9475e8f 100644
--- a/src/exchange/taler-exchange-httpd_age-withdraw.c
+++ b/src/exchange/taler-exchange-httpd_age-withdraw.c
@@ -92,9 +92,20 @@ struct AgeWithdrawContext
struct TALER_EXCHANGEDB_AgeWithdrawCommitment commitment;
/**
- * Current time for the DB transaction.
+ * Number of coins/denonations in the reveal
*/
- struct GNUNET_TIME_Timestamp now;
+ uint32_t num_coins;
+
+ /**
+ * kappa * #num_coins hashes of blinded coin planchets.
+ */
+ struct TALER_BlindedPlanchet *coin_evs;
+
+ /**
+ * #num_coins hashes of the denominations from which the coins are withdrawn.
+ * Those must support age restriction.
+ */
+ struct TALER_DenominationHashP *denoms_h;
};