[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 01/02: add new wrappers around merchant hash codes for
From: |
gnunet |
Subject: |
[taler-exchange] 01/02: add new wrappers around merchant hash codes for tips and pickups |
Date: |
Tue, 21 Dec 2021 10:25:43 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 527d9036785a6d0482a9026b13262f2b8401db8e
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Dec 19 11:54:07 2021 +0100
add new wrappers around merchant hash codes for tips and pickups
---
src/include/taler_crypto_lib.h | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 5292cd09..5895d121 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -518,6 +518,30 @@ struct TALER_CoinPubHash
};
+/**
+ * @brief Value that uniquely identifies a tip.
+ */
+struct TALER_TipIdentifierP
+{
+ /**
+ * The tip identifier is a SHA-512 hash code.
+ */
+ struct GNUNET_HashCode hash;
+};
+
+
+/**
+ * @brief Value that uniquely identifies a tip pick up operation.
+ */
+struct TALER_PickupIdentifierP
+{
+ /**
+ * The pickup identifier is a SHA-512 hash code.
+ */
+ struct GNUNET_HashCode hash;
+};
+
+
GNUNET_NETWORK_STRUCT_END
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.