aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r--src/mint/taler-mint-httpd_responses.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h
index 2dc306110..30c9e1185 100644
--- a/src/mint/taler-mint-httpd_responses.h
+++ b/src/mint/taler-mint-httpd_responses.h
@@ -145,15 +145,30 @@ TALER_MINT_reply_invalid_json (struct MHD_Connection *connection);
145 145
146 146
147/** 147/**
148 * Send confirmation of deposit success to client. 148 * Send confirmation of deposit success to client. This function
149 * will create a signed message affirming the given information
150 * and return it to the client. By this, the mint affirms that
151 * the coin had sufficient (residual) value for the specified
152 * transaction and that it will execute the requested deposit
153 * operation with the given wiring details.
149 * 154 *
150 * @param connection connection to the client 155 * @param connection connection to the client
151 * @param deposit deposit request to confirm 156 * @param coin_pub public key of the coin
157 * @param h_wire hash of wire details
158 * @param h_contract hash of contract details
159 * @param transaction_id transaction ID
160 * @param merchant merchant public key
161 * @param amount fraction of coin value to deposit
152 * @return MHD result code 162 * @return MHD result code
153 */ 163 */
154int 164int
155TALER_MINT_reply_deposit_success (struct MHD_Connection *connection, 165TALER_MINT_reply_deposit_success (struct MHD_Connection *connection,
156 const struct Deposit *deposit); 166 const struct GNUNET_CRYPTO_EcdsaPublicKey *coin_pub,
167 const struct GNUNET_HashCode *h_wire,
168 const struct GNUNET_HashCode *h_contract,
169 uint64_t transaction_id,
170 const struct GNUNET_CRYPTO_EddsaPublicKey *merchant,
171 const struct TALER_Amount *amount);
157 172
158 173
159/** 174/**