summaryrefslogtreecommitdiff
path: root/api-common.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-26 15:15:13 +0200
committerChristian Grothoff <christian@grothoff.org>2016-09-26 15:15:13 +0200
commit864301594cb58b62461a0d34c7eebd345d621305 (patch)
tree28717fc63aeaf5d8de41c8f4b3f741f3b250fa32 /api-common.rst
parentaad32e256d4221d6f26bf684d99656568c27a6ae (diff)
downloaddocs-864301594cb58b62461a0d34c7eebd345d621305.tar.gz
docs-864301594cb58b62461a0d34c7eebd345d621305.tar.bz2
docs-864301594cb58b62461a0d34c7eebd345d621305.zip
add missing signature structs to documentation
Diffstat (limited to 'api-common.rst')
-rw-r--r--api-common.rst43
1 files changed, 42 insertions, 1 deletions
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;
+ }
+ };