summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 17ed4b57a..e3d9a8939 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -419,6 +419,11 @@ struct TALER_LinkDataPS
struct TALER_TransferPublicKeyP transfer_pub;
/**
+ * Hash of the age commitment, if applicable. Can be all zero
+ */
+ struct TALER_AgeCommitmentHash h_age_commitment;
+
+ /**
* Hash of the blinded new coin.
*/
struct TALER_BlindedCoinHash coin_envelope_hash;
@@ -477,6 +482,12 @@ struct TALER_DepositRequestPS
struct TALER_PrivateContractHash h_contract_terms GNUNET_PACKED;
/**
+ * Hash over the age commitment that went into the coin. Maybe all zero, if
+ * age commitment isn't applicable to the denomination.
+ */
+ struct TALER_AgeCommitmentHash h_age_commitment GNUNET_PACKED;
+
+ /**
* Hash over extension attributes shared with the exchange.
*/
struct TALER_ExtensionContractHash h_extensions GNUNET_PACKED;
@@ -710,6 +721,13 @@ struct TALER_RefreshMeltCoinAffirmationPS
struct TALER_DenominationHash h_denom_pub GNUNET_PACKED;
/**
+ * If age commitment was provided during the withdrawal of the coin, this is
+ * the hash of the age commitment vector. It must be all zeroes if no age
+ * commitment was provided.
+ */
+ struct TALER_AgeCommitmentHash h_age_commitment GNUNET_PACKED;
+
+ /**
* How much of the value of the coin should be melted? This amount
* includes the fees, so the final amount contributed to the melt is
* this value minus the fee for melting the coin. We include the