aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-09 23:35:35 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-06-09 23:35:35 +0200
commit9f23e213cfb9260a5dd037779c12f95668145a1b (patch)
treee75ee0d85f4280b8421317f7d2a7ca91e03c5139 /src/include/taler_crypto_lib.h
parentfc07c4c1591d8c10db4f747e157ebda96d3d6ba8 (diff)
parent42e2d51e53729fb8ae62beffda034391d03b8850 (diff)
Merge branch 'master' of ssh://taler.net/var/git/exchange
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index af451b20..b07da775 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -355,6 +355,40 @@ struct TALER_CoinPublicInfo
/**
+ * Details for one of the /deposit operations that the
+ * exchange combined into a single wire transfer.
+ */
+struct TALER_TrackTransferDetails
+{
+ /**
+ * Hash of the contract.
+ */
+ struct GNUNET_HashCode h_contract;
+
+ /**
+ * Which coin was deposited?
+ */
+ struct TALER_CoinSpendPublicKeyP coin_pub;
+
+ /**
+ * Value of the deposit (including fee).
+ */
+ struct TALER_Amount coin_value;
+
+ /**
+ * Fee charged by the exchange for the deposit.
+ */
+ struct TALER_Amount coin_fee;
+
+ /**
+ * Merchant's transaction identifier.
+ */
+ uint64_t transaction_id;
+
+};
+
+
+/**
* Check if a coin is valid; that is, whether the denomination key exists,
* is not expired, and the signature is correct.
*