diff options
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index 1101e77c..ec584bff 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -458,8 +458,11 @@ typedef void * @param deposit_fee fee the exchange will charge for this coin * @param refund_fee fee the exchange will charge for refunding this coin * @param wire_fee wire fee the exchange charges - * @param exchange_proof proof from exchange that coin was accepted, - * matches the `interface DepositSuccess` of the documentation. + * @param h_wire hash of merchant's wire details + * @param deposit_timestamp when did the exchange receive the deposit + * @param refund_deadline until when are refunds allowed + * @param exchange_sig signature by the exchange + * @param exchange_pub exchange signing key used for @a exchange_sig */ typedef void (*TALER_MERCHANTDB_CoinDepositCallback)( @@ -469,7 +472,11 @@ typedef void const struct TALER_Amount *deposit_fee, const struct TALER_Amount *refund_fee, const struct TALER_Amount *wire_fee, - const json_t *exchange_proof); + const struct GNUNET_HashCode *h_wire, + struct GNUNET_TIME_Absolute deposit_timestamp, + struct GNUNET_TIME_Absolute refund_deadline, + const struct TALER_ExchangeSignatureP *exchange_sig, + const struct TALER_ExchangePublicKeyP *exchange_pub); /** @@ -1548,22 +1555,6 @@ struct TALER_MERCHANTDB_Plugin /** - * Lookup information about a coin deposits by @a wtid. - * - * @param cls closure - * @param wtid wire transfer identifier to find matching transactions for - * @param cb function to call with payment data - * @param cb_cls closure for @a cb - * @return transaction status - */ - enum GNUNET_DB_QueryStatus - (*find_deposits_by_wtid)(void *cls, - const struct TALER_WireTransferIdentifierRawP *wtid, - TALER_MERCHANTDB_CoinDepositCallback cb, - void *cb_cls); - - - /** * Lookup proof information about a wire transfer. * * @param cls closure |