diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_withdraw.c')
-rw-r--r-- | src/mint/taler-mint-httpd_withdraw.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mint/taler-mint-httpd_withdraw.c b/src/mint/taler-mint-httpd_withdraw.c index 8c74b72b6..957d684fe 100644 --- a/src/mint/taler-mint-httpd_withdraw.c +++ b/src/mint/taler-mint-httpd_withdraw.c | |||
@@ -29,7 +29,10 @@ | |||
29 | 29 | ||
30 | 30 | ||
31 | /** | 31 | /** |
32 | * Handle a "/withdraw/status" request | 32 | * Handle a "/withdraw/status" request. Parses the |
33 | * given "reserve_pub" argument (which should contain the | ||
34 | * EdDSA public key of a reserve) and then respond with the | ||
35 | * status of the reserve. | ||
33 | * | 36 | * |
34 | * @param rh context of the handler | 37 | * @param rh context of the handler |
35 | * @param connection the MHD connection to handle | 38 | * @param connection the MHD connection to handle |
@@ -62,7 +65,13 @@ TALER_MINT_handler_withdraw_status (struct RequestHandler *rh, | |||
62 | 65 | ||
63 | 66 | ||
64 | /** | 67 | /** |
65 | * Handle a "/withdraw/sign" request | 68 | * Handle a "/withdraw/sign" request. Parses the "reserve_pub" |
69 | * EdDSA key of the reserve and the requested "denom_pub" which | ||
70 | * specifies the key/value of the coin to be withdrawn, and checks | ||
71 | * that the signature "reserve_sig" makes this a valid withdrawl | ||
72 | * request from the specified reserve. If so, the envelope | ||
73 | * with the blinded coin "coin_ev" is passed down to execute the | ||
74 | * withdrawl operation. | ||
66 | * | 75 | * |
67 | * @param rh context of the handler | 76 | * @param rh context of the handler |
68 | * @param connection the MHD connection to handle | 77 | * @param connection the MHD connection to handle |