diff options
Diffstat (limited to 'src/lib/exchange_api_refresh_common.h')
-rw-r--r-- | src/lib/exchange_api_refresh_common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/exchange_api_refresh_common.h b/src/lib/exchange_api_refresh_common.h index ab19ad7d1..b6926b51f 100644 --- a/src/lib/exchange_api_refresh_common.h +++ b/src/lib/exchange_api_refresh_common.h @@ -53,6 +53,12 @@ struct MeltedCoin struct TALER_Amount original_value; /** + * The original age commitment hash. MUST be all zeroes, if no age + * commitment was set. + */ + struct TALER_AgeCommitmentHash h_age_commitment; + + /** * Timestamp indicating when coins of this denomination become invalid. */ struct GNUNET_TIME_Timestamp expire_deposit; @@ -93,6 +99,13 @@ struct FreshCoinData struct TALER_CoinSpendPrivateKeyP coin_priv; /** + * Arrays age commitments to be created, one for each cut-and-choose + * dimension. The entries in each list might be NULL and indicate no age + * commitment/restriction on the particular coin. + */ + struct TALER_AgeCommitment *age_commitment[TALER_CNC_KAPPA]; + + /** * Blinding key secrets for the coins, depending on the * cut-and-choose. */ |