summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-29 20:00:21 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-29 20:00:21 +0100
commit090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e (patch)
tree3fc2f500c96db57fdb6cff4c68f9d93bcf5e4389 /src/mint/taler-mint-httpd_responses.h
parent8ca555500f01ebb2f7286961588b81b4ee5ac4fe (diff)
downloadexchange-090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e.tar.gz
exchange-090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e.tar.bz2
exchange-090ddf170bd6fcf1d3d3d9d4fcc720ccb86b089e.zip
working on cleaning up /refresh/melt logic
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r--src/mint/taler-mint-httpd_responses.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h
index ebe1038fd..6cf934094 100644
--- a/src/mint/taler-mint-httpd_responses.h
+++ b/src/mint/taler-mint-httpd_responses.h
@@ -245,20 +245,22 @@ TALER_MINT_reply_withdraw_sign_success (struct MHD_Connection *connection,
*/
int
TALER_MINT_reply_refresh_commit_success (struct MHD_Connection *connection,
- struct RefreshSession *refresh_session);
+ const struct RefreshSession *refresh_session);
/**
- * Send a response for "/refresh/melt".
+ * Send a response for "/refresh/melt". Essentially we sign
+ * over the client's signature and public key, thereby
+ * demonstrating that we accepted all of the client's coins.
*
* @param connection the connection to send the response to
- * @param session session data to generate reply from
+ * @param signature the client's signature over the melt request
* @param session_pub the refresh session public key.
* @return a MHD result code
*/
int
TALER_MINT_reply_refresh_melt_success (struct MHD_Connection *connection,
- const struct RefreshSession *session,
+ const struct GNUNET_CRYPTO_EddsaSignature *signature,
const struct GNUNET_CRYPTO_EddsaPublicKey *session_pub);