aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-17 19:54:16 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-17 19:54:16 +0100
commit11c52837112421af755bc7bc21569011274909ad (patch)
tree68c44a348c9189daad2d0b9f4c72468514f257ca /src/include
parent33bd1ca2bbd61019b224c9de8ac48126d0a57ab0 (diff)
prepare API to enable verification of fees in coin history check
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchange_service.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index eb1452561..972b94aa1 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -1685,6 +1685,7 @@ TALER_EXCHANGE_track_transaction_cancel (struct
* Convenience function. Verifies a coin's transaction history as
* returned by the exchange.
*
+ * @param dk fee structure for the coin, NULL to skip verifying fees
* @param currency expected currency for the coin
* @param coin_pub public key of the coin
* @param history history of the coin in json encoding
@@ -1692,7 +1693,9 @@ TALER_EXCHANGE_track_transaction_cancel (struct
* @return #GNUNET_OK if @a history is valid, #GNUNET_SYSERR if not
*/
int
-TALER_EXCHANGE_verify_coin_history (const char *currency,
+TALER_EXCHANGE_verify_coin_history (const struct
+ TALER_EXCHANGE_DenomPublicKey *dk,
+ const char *currency,
const struct
TALER_CoinSpendPublicKeyP *coin_pub,
json_t *history,