exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 527d9036785a6d0482a9026b13262f2b8401db8e
parent 1acc851deb38c52e4212823100eec8a00d5f385a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 19 Dec 2021 11:54:07 +0100

add new wrappers around merchant hash codes for tips and pickups

Diffstat:
Msrc/include/taler_crypto_lib.h | 24++++++++++++++++++++++++
1 file changed, 24 insertions(+), 0 deletions(-)

diff --git 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