summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/api-common.rst14
-rw-r--r--core/api-exchange.rst5
2 files changed, 18 insertions, 1 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 272dfd6c..987ba664 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -672,6 +672,7 @@ within the
struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
struct GNUNET_HashCode h_contract_terms;
struct GNUNET_HashCode h_wire;
+ struct GNUNET_HashCode h_denom_pub;
struct GNUNET_TIME_AbsoluteNBO timestamp;
struct GNUNET_TIME_AbsoluteNBO refund_deadline;
struct TALER_AmountNBO amount_with_fee;
@@ -711,6 +712,7 @@ within the
*/
struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
struct GNUNET_HashCode session_hash;
+ struct GNUNET_HashCode h_denom_pub;
struct TALER_AmountNBO amount_with_fee;
struct TALER_AmountNBO melt_fee;
union TALER_CoinSpendPublicKeyP coin_pub;
@@ -958,7 +960,17 @@ within the
.. _TALER_RecoupRefreshConfirmationPS:
.. sourcecode:: c
- // FIXME: put definition here
+ struct TALER_RecoupRefreshConfirmationPS {
+
+ /**
+ * purpose.purpose = TALER_SIGNATURE_EXCHANGE_CONFIRM_RECOUP_REFRESH
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct GNUNET_TIME_AbsoluteNBO timestamp;
+ struct TALER_AmountNBO recoup_amount;
+ struct TALER_CoinSpendPublicKeyP coin_pub;
+ struct TALER_CoinSpendPublicKeyP old_coin_pub;
+ };
.. _TALER_RecoupConfirmationPS:
.. sourcecode:: c
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 9b18a18d..b461733e 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -770,6 +770,11 @@ denomination.
// only present if ``type`` is "DEPOSIT"
h_wire?: HashCode;
+ // Hash of the public denomination key used to sign the coin.
+ // only present if ``type`` is "DEPOSIT", "RECOUP",
+ // "RECOUP-REFRESH", "OLD-COIN-RECOUP" or "MELT".
+ h_denom_pub?: HashCode;
+
// Deposit fee in case of type "REFUND".
refund_fee?: Amount;