diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-08 15:29:45 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-08 15:29:45 +0200 |
commit | 3dd24bd40d15bdd10e1fd183995935d4e7786e31 (patch) | |
tree | 91accc3771e84dc5b53972748fe9332d88834067 /core | |
parent | ce15fc3472f93b3d213d220f6a144cf58a0b5706 (diff) | |
download | docs-3dd24bd40d15bdd10e1fd183995935d4e7786e31.tar.gz docs-3dd24bd40d15bdd10e1fd183995935d4e7786e31.tar.bz2 docs-3dd24bd40d15bdd10e1fd183995935d4e7786e31.zip |
update specification for #6416
Diffstat (limited to 'core')
-rw-r--r-- | core/api-common.rst | 14 | ||||
-rw-r--r-- | core/api-exchange.rst | 5 |
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; |