diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-19 11:54:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-19 11:54:07 +0100 |
commit | 527d9036785a6d0482a9026b13262f2b8401db8e (patch) | |
tree | 9dfd7a5f68a752d7bd477c28d9fa4d6be2ca0e3b | |
parent | 1acc851deb38c52e4212823100eec8a00d5f385a (diff) |
add new wrappers around merchant hash codes for tips and pickups
-rw-r--r-- | src/include/taler_crypto_lib.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 5292cd09b..5895d1210 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 |