diff options
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd_refresh_melt.h | 9 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_refresh_reveal.h | 14 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_validation.c | 7 | ||||
-rw-r--r-- | src/exchange/taler-exchange-wirewatch.c | 1 |
4 files changed, 16 insertions, 15 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh_melt.h b/src/exchange/taler-exchange-httpd_refresh_melt.h index a938abff5..e6c74b3ab 100644 --- a/src/exchange/taler-exchange-httpd_refresh_melt.h +++ b/src/exchange/taler-exchange-httpd_refresh_melt.h @@ -29,10 +29,11 @@ /** - * Handle a "/refresh/melt" request. Parses the request into the JSON - * components and then hands things of to #handle_refresh_melt_json() - * to validate the melted coins, the signature and execute the melt - * using TEH_DB_execute_refresh_melt(). + * Handle a "/refresh/melt" request after the first parsing has + * happened. We now need to validate the coins being melted and the + * session signature and then hand things of to execute the melt + * operation. This function parses the JSON arrays and then passes + * processing on to #refresh_melt_transaction(). * * @param rh context of the handler * @param connection the MHD connection to handle diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.h b/src/exchange/taler-exchange-httpd_refresh_reveal.h index cc5ac3f89..fed256e80 100644 --- a/src/exchange/taler-exchange-httpd_refresh_reveal.h +++ b/src/exchange/taler-exchange-httpd_refresh_reveal.h @@ -29,13 +29,13 @@ /** - * Handle a "/refresh/reveal" request. This time, the client reveals - * the private transfer keys except for the cut-and-choose value - * returned from "/refresh/commit". This function parses the revealed - * keys and secrets and ultimately passes everything to - * #TEH_DB_execute_refresh_reveal() which will verify that the - * revealed information is valid then returns the signed refreshed - * coins. + * Handle a "/refresh/reveal" request. This time, the client reveals the + * private transfer keys except for the cut-and-choose value returned from + * "/refresh/melt". This function parses the revealed keys and secrets and + * ultimately passes everything to #resolve_refresh_reveal_denominations() + * which will verify that the revealed information is valid then runs the + * transaction in #refresh_reveal_transaction() and finally returns the signed + * refreshed coins. * * @param rh context of the handler * @param connection the MHD connection to handle diff --git a/src/exchange/taler-exchange-httpd_validation.c b/src/exchange/taler-exchange-httpd_validation.c index 79c01716b..f5497c3c9 100644 --- a/src/exchange/taler-exchange-httpd_validation.c +++ b/src/exchange/taler-exchange-httpd_validation.c @@ -16,7 +16,7 @@ /** * @file taler-exchange-httpd_validation.c - * @brief helpers for calling the wire plugins to validate addresses + * @brief helpers for getting our wire account information * @author Christian Grothoff */ #include "platform.h" @@ -67,11 +67,10 @@ load_fee (const char *method) /** * Initialize account; checks if @a ai has /wire information, and if so, - * adds the /wire information (if included) to our responses. Also, if - * the account is debitable, we try to load the plugin. + * adds the /wire information (if included) to our responses. * * @param cls pointer to `int` to set to #GNUNET_SYSERR on errors - * @param name name of the plugin to load + * @param ai details about the account we should load the wire details for */ static void load_account (void *cls, diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c index 01097482c..bce876877 100644 --- a/src/exchange/taler-exchange-wirewatch.c +++ b/src/exchange/taler-exchange-wirewatch.c @@ -316,6 +316,7 @@ find_transfers (void *cls); * the bank for the transaction history. * * @param cls closure with the `struct TALER_EXCHANGEDB_Session *` + * @param http_status HTTP status code from the server * @param ec taler error code * @param serial_id identification of the position at which we are querying * @param details details about the wire transfer |