From f1a58b0fd857b78f634b10b1a50759b380a5adee Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 May 2022 11:15:05 +0200 Subject: -towards reserve history testing --- src/include/taler_exchange_service.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'src/include/taler_exchange_service.h') diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index afaa28136..d3ec7d2b5 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -1767,6 +1767,18 @@ struct TALER_EXCHANGE_ReserveHistory */ struct TALER_EXCHANGE_HttpResponse hr; + /** + * Timestamp of when we made the history request + * (client-side). + */ + struct GNUNET_TIME_Timestamp ts; + + /** + * Reserve signature affirming the history request + * (generated as part of the request). + */ + const struct TALER_ReserveSignatureP *reserve_sig; + /** * Details depending on @e hr.http_status. */ @@ -4388,6 +4400,11 @@ struct TALER_EXCHANGE_AccountMergeResponse */ struct TALER_EXCHANGE_HttpResponse hr; + /** + * Reserve signature affirming the merge. + */ + const struct TALER_ReserveSignatureP *reserve_sig; + /** * Details depending on the HTTP status. */ @@ -4398,6 +4415,20 @@ struct TALER_EXCHANGE_AccountMergeResponse */ struct { + /** + * Signature by the exchange affirming the merge. + */ + struct TALER_ExchangeSignatureP exchange_sig; + + /** + * Online signing key used by the exchange. + */ + struct TALER_ExchangePublicKeyP exchange_pub; + + /** + * Timestamp of the exchange for @e exchange_sig. + */ + struct GNUNET_TIME_Timestamp etime; } success; -- cgit v1.2.3