From c15ff78f0c723c2d455c3d60dccc21fd321ae84e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 19 Apr 2017 14:15:48 +0200 Subject: implementing #4956-support in libtalerexchange --- src/include/taler_exchange_service.h | 16 ++++++++++++++++ src/include/taler_signatures.h | 5 +++++ 2 files changed, 21 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 9e8caab88..554d98bf5 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -767,6 +767,22 @@ struct TALER_EXCHANGE_ReserveHistory */ json_t *transfer_details; + /** + * Signature of the coin of type + * #TALER_SIGNATURE_EXCHANGE_RESERVE_CLOSED. + */ + struct TALER_ExchangeSignatureP exchange_sig; + + /** + * Public key of the exchange that was used for @e exchange_sig. + */ + struct TALER_ExchangePublicKeyP exchange_pub; + + /** + * When did the wire transfer happen? + */ + struct GNUNET_TIME_Absolute timestamp; + } close_details; } details; diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 0b1c7ac33..de9a2f7c7 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -1267,6 +1267,11 @@ struct TALER_ReserveCloseConfirmationPS * Hash of the receiver's bank account. */ struct GNUNET_HashCode h_wire; + + /** + * Hash of the transfer details. + */ + struct GNUNET_HashCode h_transfer; }; -- cgit v1.2.3