commit 34887e55eb743ce1c623acaa9ea8560748b23aaf parent 932d2b3a25e12c4df4c5a341fcf1e75c5d25e967 Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Wed, 5 Jul 2017 14:11:42 +0200 importing a 'PS' struct from merchant Diffstat:
| M | src/include/taler_signatures.h | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git 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