diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-07-05 14:11:42 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-07-05 14:12:02 +0200 |
commit | 34887e55eb743ce1c623acaa9ea8560748b23aaf (patch) | |
tree | b7a0085048fb71b58f3c47d64c8ee821544044ad /src/include/taler_signatures.h | |
parent | 932d2b3a25e12c4df4c5a341fcf1e75c5d25e967 (diff) |
importing a 'PS' struct from merchant
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r-- | src/include/taler_signatures.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 |