add new wrappers around merchant hash codes for tips and pickups

This commit is contained in:
Christian Grothoff 2021-12-19 11:54:07 +01:00
parent 1acc851deb
commit 527d903678
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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 GNUNET_NETWORK_STRUCT_END