From 864301594cb58b62461a0d34c7eebd345d621305 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Sep 2016 15:15:13 +0200 Subject: add missing signature structs to documentation --- api-common.rst | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) (limited to 'api-common.rst') diff --git a/api-common.rst b/api-common.rst index 97ba3dc9..9c1faebb 100644 --- a/api-common.rst +++ b/api-common.rst @@ -496,6 +496,26 @@ size of `FIELDS`. } }; + struct TALER_WireDepositDetailP + { + struct GNUNET_HashCode h_contract; + struct GNUNET_TIME_AbsoluteNBO execution_time; + uint64_t transaction_id GNUNET_PACKED; + struct TALER_CoinSpendPublicKeyP coin_pub; + struct TALER_AmountNBO deposit_value; + struct TALER_AmountNBO deposit_fee; + }; + + + struct TALER_WireDepositDataPS { + signed (purpose = TALER_SIGNATURE_EXCHANGE_CONFIRM_WIRE_DEPOSIT) { + struct TALER_AmountNBO total; + struct TALER_MerchantPublicKeyP merchant_pub; + struct GNUNET_HashCode h_wire; + struct GNUNET_HashCode h_details; + } + }; + struct TALER_ExchangeKeyValidityPS { signed (purpose = TALER_SIGNATURE_AUDITOR_EXCHANGE_KEYS) { struct GNUNET_HashCode auditor_url_hash; @@ -508,6 +528,27 @@ size of `FIELDS`. struct TALER_AmountNBO fee_withdraw; struct TALER_AmountNBO fee_deposit; struct TALER_AmountNBO fee_refresh; - struct GNUNET_HashCode denom_hash GNUNET_PACKED; + struct GNUNET_HashCode denom_hash; } }; + + struct TALER_ContractPS { + signed (purpose = TALER_SIGNATURE_MERCHANT_CONTRACT) { + uint64_t transaction_id; + struct TALER_AmountNBO total_amount; + struct TALER_AmountNBO max_fee; + struct GNUNET_HashCode h_contract; + } + }; + + struct TALER_ConfirmWirePS { + signed (purpose = TALER_SIGNATURE_EXCHANGE_CONFIRM_WIRE) { + struct GNUNET_HashCode h_wire; + struct GNUNET_HashCode h_contract; + struct TALER_WireTransferIdentifierRawP wtid; + struct TALER_CoinSpendPublicKeyP coin_pub; + uint64_t transaction_id; + struct GNUNET_TIME_AbsoluteNBO execution_time; + struct TALER_AmountNBO coin_contribution; + } + }; -- cgit v1.2.3