summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-07-05 14:11:42 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-07-05 14:12:02 +0200
commit34887e55eb743ce1c623acaa9ea8560748b23aaf (patch)
treeb7a0085048fb71b58f3c47d64c8ee821544044ad /src/include/taler_signatures.h
parent932d2b3a25e12c4df4c5a341fcf1e75c5d25e967 (diff)
downloadexchange-34887e55eb743ce1c623acaa9ea8560748b23aaf.tar.gz
exchange-34887e55eb743ce1c623acaa9ea8560748b23aaf.tar.bz2
exchange-34887e55eb743ce1c623acaa9ea8560748b23aaf.zip
importing a 'PS' struct from merchant
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index ed680bcf..181c5016 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