aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r--src/mint/taler-mint-httpd_responses.c21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c
index c8200b43a..8a0d7e797 100644
--- a/src/mint/taler-mint-httpd_responses.c
+++ b/src/mint/taler-mint-httpd_responses.c
@@ -250,15 +250,30 @@ TALER_MINT_reply_invalid_json (struct MHD_Connection *connection)
250 250
251 251
252/** 252/**
253 * Send confirmation of deposit success to client. 253 * Send confirmation of deposit success to client. This function
254 * will create a signed message affirming the given information
255 * and return it to the client. By this, the mint affirms that
256 * the coin had sufficient (residual) value for the specified
257 * transaction and that it will execute the requested deposit
258 * operation with the given wiring details.
254 * 259 *
255 * @param connection connection to the client 260 * @param connection connection to the client
256 * @param deposit deposit request to confirm 261 * @param coin_pub public key of the coin
262 * @param h_wire hash of wire details
263 * @param h_contract hash of contract details
264 * @param transaction_id transaction ID
265 * @param merchant merchant public key
266 * @param amount fraction of coin value to deposit
257 * @return MHD result code 267 * @return MHD result code
258 */ 268 */
259int 269int
260TALER_MINT_reply_deposit_success (struct MHD_Connection *connection, 270TALER_MINT_reply_deposit_success (struct MHD_Connection *connection,
261 const struct Deposit *deposit) 271 const struct GNUNET_CRYPTO_EcdsaPublicKey *coin_pub,
272 const struct GNUNET_HashCode *h_wire,
273 const struct GNUNET_HashCode *h_contract,
274 uint64_t transaction_id,
275 const struct GNUNET_CRYPTO_EddsaPublicKey *merchant,
276 const struct TALER_Amount *amount)
262{ 277{
263 // FIXME: return more information here, 278 // FIXME: return more information here,
264 // including in particular a signature over 279 // including in particular a signature over