aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-15 14:39:18 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-15 14:39:18 +0100
commit0325a79631d1abba7fdf414748a34c0e8bca55c3 (patch)
treea72220e8676b5d1d6dfdc67af8936cd4ea4b5d6c /src/include
parentc67df6369993c99e2557cbe3db059633d6cc867e (diff)
avoid duplication
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_crypto_lib.h6
-rw-r--r--src/include/taler_exchangedb_plugin.h19
2 files changed, 18 insertions, 7 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index d354add1a..3da178ca4 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -323,12 +323,6 @@ 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. A zero value indicates that the coin has no age
- * commitment set.
- */
- struct TALER_AgeHash age_commitment_hash;
};
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 7520779e3..420e1e1e0 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -74,7 +74,7 @@ struct TALER_EXCHANGEDB_DenominationKeyInformationP
/**
- * Signature of events signalling a reseve got funding.
+ * Signature of events signalling a reserve got funding.
*/
struct TALER_ReserveEventP
{
@@ -90,6 +90,23 @@ struct TALER_ReserveEventP
};
+/**
+ * Signature of events signalling a KYC process was completed.
+ */
+struct TALER_KycCompletedEventP
+{
+ /**
+ * Of type #TALER_DBEVENT_EXCHANGE_KYC_COMPLETED.
+ */
+ struct GNUNET_DB_EventHeaderP header;
+
+ /**
+ * Public key of the reserve the event is about.
+ */
+ struct TALER_PaytoHash h_payto;
+};
+
+
GNUNET_NETWORK_STRUCT_END
/**