diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_withdraw.h')
-rw-r--r-- | src/mint/taler-mint-httpd_withdraw.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mint/taler-mint-httpd_withdraw.h b/src/mint/taler-mint-httpd_withdraw.h index 6587a194f..2c53a6d92 100644 --- a/src/mint/taler-mint-httpd_withdraw.h +++ b/src/mint/taler-mint-httpd_withdraw.h | |||
@@ -27,7 +27,10 @@ | |||
27 | #include "taler-mint-httpd.h" | 27 | #include "taler-mint-httpd.h" |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * Handle a "/withdraw/status" request | 30 | * Handle a "/withdraw/status" request. Parses the |
31 | * given "reserve_pub" argument (which should contain the | ||
32 | * EdDSA public key of a reserve) and then respond with the | ||
33 | * status of the reserve. | ||
31 | * | 34 | * |
32 | * @param rh context of the handler | 35 | * @param rh context of the handler |
33 | * @param connection the MHD connection to handle | 36 | * @param connection the MHD connection to handle |
@@ -45,7 +48,13 @@ TALER_MINT_handler_withdraw_status (struct RequestHandler *rh, | |||
45 | 48 | ||
46 | 49 | ||
47 | /** | 50 | /** |
48 | * Handle a "/withdraw/sign" request | 51 | * Handle a "/withdraw/sign" request. Parses the "reserve_pub" |
52 | * EdDSA key of the reserve and the requested "denom_pub" which | ||
53 | * specifies the key/value of the coin to be withdrawn, and checks | ||
54 | * that the signature "reserve_sig" makes this a valid withdrawl | ||
55 | * request from the specified reserve. If so, the envelope | ||
56 | * with the blinded coin "coin_ev" is passed down to execute the | ||
57 | * withdrawl operation. | ||
49 | * | 58 | * |
50 | * @param rh context of the handler | 59 | * @param rh context of the handler |
51 | * @param connection the MHD connection to handle | 60 | * @param connection the MHD connection to handle |