summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-04-19 14:15:48 +0200
committerChristian Grothoff <christian@grothoff.org>2017-04-19 14:15:48 +0200
commitc15ff78f0c723c2d455c3d60dccc21fd321ae84e (patch)
treebb18fdd0ff014ea1001ae524a59b03fbe7e27496 /src/include
parent123b1868ab3e8af5f6a8b6fbf9d75c8d5ea643d9 (diff)
downloadexchange-c15ff78f0c723c2d455c3d60dccc21fd321ae84e.tar.gz
exchange-c15ff78f0c723c2d455c3d60dccc21fd321ae84e.tar.bz2
exchange-c15ff78f0c723c2d455c3d60dccc21fd321ae84e.zip
implementing #4956-support in libtalerexchange
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchange_service.h16
-rw-r--r--src/include/taler_signatures.h5
2 files changed, 21 insertions, 0 deletions
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;
};