commit 290dec84dc1a07356c69e7c76e9a306882215edb
parent 6a62e21d9aed1119694b9fd538b9b3beae5a8960
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 6 Nov 2021 20:01:57 +0100
update API for protocolv9
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/core/api-auditor.rst b/core/api-auditor.rst
@@ -162,6 +162,9 @@ paid out first.
// Hash over the contract for which this deposit is made.
h_contract_terms: HashCode;
+ // Hash over the extensions.
+ h_extensions: HashCode;
+
// Hash over the wiring information of the merchant.
h_wire: HashCode;
@@ -172,6 +175,9 @@ paid out first.
// request? Zero if refunds are not allowed.
refund_deadline: Timestamp;
+ // By what time does the exchange have to wire the funds?
+ wire_deadline: Timestamp;
+
// Amount to be deposited, excluding fee. Calculated from the
// amount with fee and the fee from the deposit request.
amount_without_fee: Amount;
diff --git a/core/api-common.rst b/core/api-common.rst
@@ -796,6 +796,7 @@ within the
struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
struct TALER_PrivateContractHash h_contract_terms;
struct TALER_MerchantWireHash h_wire;
+ struct TALER_ExtensionContractHash h_extensions;
struct GNUNET_TIME_AbsoluteNBO timestamp;
struct GNUNET_TIME_AbsoluteNBO refund_deadline;
struct TALER_AmountNBO amount_without_fee;