summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-01 16:16:36 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-01 16:16:36 +0100
commit94059c0329921b422b1c7f27d946b0f550fe7978 (patch)
treecd4adc78a6d0687b5b6f12512184a9db1cc2d5aa /src/include
parent281d39c6afbd4133ab1f13acd0915276f45a9b57 (diff)
downloadmerchant-94059c0329921b422b1c7f27d946b0f550fe7978.tar.gz
merchant-94059c0329921b422b1c7f27d946b0f550fe7978.tar.bz2
merchant-94059c0329921b422b1c7f27d946b0f550fe7978.zip
mint->exchange renaming
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_merchant_service.h14
-rw-r--r--src/include/taler_merchantdb_plugin.h8
2 files changed, 11 insertions, 11 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index a10c2518..e3b26ee8 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -146,7 +146,7 @@ struct TALER_MERCHANT_PayCoin
struct TALER_DenominationPublicKey denom_pub;
/**
- * Mint’s unblinded signature of the coin
+ * Exchange’s unblinded signature of the coin
*/
struct TALER_DenominationSignature denom_sig;
@@ -181,7 +181,7 @@ struct TALER_MERCHANT_PayCoin
* @param merchant_sig signature from the merchant over the original contract
* @param timestamp timestamp when the contract was finalized, must match approximately the current time of the merchant
* @param refund_deadline date until which the merchant can issue a refund to the customer via the merchant (can be zero if refunds are not allowed)
- * @param mint_uri URI of the mint that the coins belong to
+ * @param exchange_uri URI of the exchange that the coins belong to
* @param num_coins number of coins used to pay
* @param coins array of coins we use to pay
* @param coin_sig the signature made with purpose #TALER_SIGNATURE_WALLET_COIN_DEPOSIT made by the customer with the coin’s private key.
@@ -201,7 +201,7 @@ TALER_MERCHANT_pay_wallet (struct TALER_MERCHANT_Context *merchant,
struct GNUNET_TIME_Absolute timestamp,
struct GNUNET_TIME_Absolute refund_deadline,
const struct GNUNET_HashCode *h_wire,
- const char *mint_uri,
+ const char *exchange_uri,
unsigned int num_coins,
const struct TALER_MERCHANT_PayCoin *coins,
TALER_MERCHANT_PayCallback pay_cb,
@@ -220,7 +220,7 @@ struct TALER_MERCHANT_PaidCoin
struct TALER_DenominationPublicKey denom_pub;
/**
- * Mint’s unblinded signature of the coin
+ * Exchange’s unblinded signature of the coin
*/
struct TALER_DenominationSignature denom_sig;
@@ -263,9 +263,9 @@ struct TALER_MERCHANT_PaidCoin
* @param merchant_sig the signature of the merchant over the original contract
* @param refund_deadline date until which the merchant can issue a refund to the customer via the merchant (can be zero if refunds are not allowed)
* @param timestamp timestamp when the contract was finalized, must match approximately the current time of the merchant
- * @param execution_deadline date by which the merchant would like the mint to execute the transaction (can be zero if there is no specific date desired by the frontend)
+ * @param execution_deadline date by which the merchant would like the exchange to execute the transaction (can be zero if there is no specific date desired by the frontend)
* @param h_wire hash of the merchant’s account details
- * @param mint_uri URI of the mint that the coins belong to
+ * @param exchange_uri URI of the exchange that the coins belong to
* @param num_coins number of coins used to pay
* @param coins array of coins we use to pay
* @param coin_sig the signature made with purpose #TALER_SIGNATURE_WALLET_COIN_DEPOSIT made by the customer with the coin’s private key.
@@ -286,7 +286,7 @@ TALER_MERCHANT_pay_frontend (struct TALER_MERCHANT_Context *merchant,
struct GNUNET_TIME_Absolute timestamp,
struct GNUNET_TIME_Absolute execution_deadline,
const struct GNUNET_HashCode *h_wire,
- const char *mint_uri,
+ const char *exchange_uri,
unsigned int num_coins,
const struct TALER_MERCHANT_PaidCoin *coins,
TALER_MERCHANT_PayCallback pay_cb,
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h
index e7f965bb..959b2a2c 100644
--- a/src/include/taler_merchantdb_plugin.h
+++ b/src/include/taler_merchantdb_plugin.h
@@ -59,7 +59,7 @@ struct TALER_MERCHANTDB_Plugin
int tmp);
/**
- * Insert payment confirmation from the mint into the database.
+ * Insert payment confirmation from the exchange into the database.
*
* @param cls closure
* @param h_contract hash of the contract
@@ -67,9 +67,9 @@ struct TALER_MERCHANTDB_Plugin
* @param transaction_id of the contract
* @param timestamp time of the confirmation
* @param refund refund deadline
- * @param amount_without_fee amount the mint will deposit
+ * @param amount_without_fee amount the exchange will deposit
* @param coin_pub public key of the coin
- * @param mint_proof proof from mint that coin was accepted
+ * @param exchange_proof proof from exchange that coin was accepted
* @return #GNUNET_OK on success, #GNUNET_SYSERR upon error
*/
int
@@ -81,7 +81,7 @@ struct TALER_MERCHANTDB_Plugin
struct GNUNET_TIME_Absolute refund,
const struct TALER_Amount *amount_without_fee,
const struct TALER_CoinSpendPublicKeyP *coin_pub,
- json_t *mint_proof);
+ json_t *exchange_proof);
/**
* Check whether a payment has already been stored