taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 3dd24bd40d15bdd10e1fd183995935d4e7786e31
parent ce15fc3472f93b3d213d220f6a144cf58a0b5706
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  8 Jul 2020 15:29:45 +0200

update specification for #6416

Diffstat:
Mcore/api-common.rst | 14+++++++++++++-
Mcore/api-exchange.rst | 5+++++
2 files changed, 18 insertions(+), 1 deletion(-)

diff --git 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 @@ -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;