aboutsummaryrefslogtreecommitdiff
path: root/src/mint/mint.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-28 15:35:41 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-28 15:35:41 +0100
commite19f1906a3363f0f49553d35d95429c92bec29d4 (patch)
treeb5c644a5600e1f629bc7dd72d2f88461f4ad5526 /src/mint/mint.h
parent7f171e69b27d48f02acd8c79e3a173a448be7ebd (diff)
avoid using struct Deposit in response
Diffstat (limited to 'src/mint/mint.h')
-rw-r--r--src/mint/mint.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/src/mint/mint.h b/src/mint/mint.h
index a0309e9ea..13719e625 100644
--- a/src/mint/mint.h
+++ b/src/mint/mint.h
@@ -91,70 +91,6 @@ struct CollectableBlindcoin
};
-/**
- * Specification for a /deposit operation.
- */
-struct Deposit
-{
- /**
- * Information about the coin that is being deposited.
- */
- struct TALER_CoinPublicInfo coin;
-
- /**
- * ECDSA signature affirming that the customer intends
- * this coin to be deposited at the merchant identified
- * by @e h_wire in relation to the contract identified
- * by @e h_contract.
- */
- struct GNUNET_CRYPTO_EcdsaSignature csig;
-
- /**
- * Public key of the merchant. Enables later identification
- * of the merchant in case of a need to rollback transactions.
- */
- struct GNUNET_CRYPTO_EddsaPublicKey merchant_pub;
-
- /**
- * Hash over the contract between merchant and customer
- * (remains unknown to the Mint).
- */
- struct GNUNET_HashCode h_contract;
-
- /**
- * Hash of the (canonical) representation of @e wire, used
- * to check the signature on the request. Generated by
- * the mint from the detailed wire data provided by the
- * merchant.
- */
- struct GNUNET_HashCode h_wire;
-
- /**
- * Detailed wire information for executing the transaction.
- */
- const json_t *wire;
-
- /**
- * Merchant-generated transaction ID to detect duplicate
- * transactions.
- */
- uint64_t transaction_id;
-
- /**
- * Fraction of the coin's remaining value to be deposited.
- * The coin is identified by @e coin_pub.
- */
- struct TALER_Amount amount;
-
- /**
- * Type of the deposit (also purpose of the signature). Either
- * #TALER_SIGNATURE_DEPOSIT or #TALER_SIGNATURE_INCREMENTAL_DEPOSIT.
- */
- uint32_t purpose; // FIXME: bad type, use ENUM!
-
-
-};
-