From 34887e55eb743ce1c623acaa9ea8560748b23aaf Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 5 Jul 2017 14:11:42 +0200 Subject: importing a 'PS' struct from merchant --- src/include/taler_signatures.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index ed680bcf9..181c50169 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -1275,6 +1275,25 @@ struct TALER_ReserveCloseConfirmationPS }; +/** + * Used by the merchant to confirm with a signature that the refund has + * been successfully done. Even though the frontend doesn't usually do crypto, + * this signature may turn useful in court. + */ +struct TALER_MerchantRefundConfirmationPS +{ + /** + * Set TALER_SIGNATURE_REFUND_OK. + */ + struct GNUNET_CRYPTO_EccSignaturePurpose purpose; + + /** + * Hashed order id; in case frontend wants to check it. + */ + struct GNUNET_HashCode h_order_id GNUNET_PACKED; + +}; + GNUNET_NETWORK_STRUCT_END #endif -- cgit v1.2.3