diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-06 19:06:13 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-06 19:06:13 +0100 |
commit | 16a906b94b148371ccd4088e5e2e786d7260b575 (patch) | |
tree | c1c333af2df4c43fa1aa3f2bb8267a3653ae231f /src/backend/taler-merchant-httpd_pay.c | |
parent | caad392c2bce75c9d6c592bcfed4ecdfd2b93859 (diff) | |
download | merchant-16a906b94b148371ccd4088e5e2e786d7260b575.tar.gz merchant-16a906b94b148371ccd4088e5e2e786d7260b575.tar.bz2 merchant-16a906b94b148371ccd4088e5e2e786d7260b575.zip |
very little change (in comments)
Diffstat (limited to 'src/backend/taler-merchant-httpd_pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_pay.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_pay.c b/src/backend/taler-merchant-httpd_pay.c index c96476ac..0a1de887 100644 --- a/src/backend/taler-merchant-httpd_pay.c +++ b/src/backend/taler-merchant-httpd_pay.c @@ -107,8 +107,10 @@ deposit_fee_from_coin_aggregate (struct MHD_Connection *connection, /** * Callback to handle a deposit permission's response. How does this behave if the mint * goes offline during a call? - * @param cls closure (in our invocation it will be the transaction_id, so the cb can refer - * to the right DB row for this deposit permission) + * @param cls see `struct MERCHANT_DepositConfirmationCls` (i.e. a poinetr to the global + * array of confirmations and an index for this call in that array). That way, the last + * executed callback can detect that no other confirmations are on the way, and can pack + * a response for the wallet * @param http_status HTTP response code, #MHD_HTTP_OK (200) for successful deposit; * 0 if the mint's reply is bogus (fails to follow the protocol) * @param proof the received JSON reply, should be kept as proof (and, in case of errors, |