aboutsummaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_common.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-09-18 22:11:28 +0200
committerChristian Grothoff <christian@grothoff.org>2023-09-18 22:11:28 +0200
commitdfe576f9379954ab8164da7521bef930d3af3948 (patch)
treeb7fffe7cfc8767df6b672ccfd08614b550352f1c /src/lib/exchange_api_common.h
parent12cff1b4439ab5dcc26fcf79e19518ae1bdce069 (diff)
downloadexchange-dfe576f9379954ab8164da7521bef930d3af3948.tar.xz
more work on new history logic
Diffstat (limited to 'src/lib/exchange_api_common.h')
-rw-r--r--src/lib/exchange_api_common.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/lib/exchange_api_common.h b/src/lib/exchange_api_common.h
index 0fcaac3f3..f1f0fd7fa 100644
--- a/src/lib/exchange_api_common.h
+++ b/src/lib/exchange_api_common.h
@@ -146,43 +146,6 @@ TALER_EXCHANGE_check_coin_denomination_conflict_ (
/**
- * Verify that @a coin_sig does NOT appear in
- * the history of @a proof and thus whatever transaction
- * is authorized by @a coin_sig is a conflict with
- * @a proof.
- *
- * @param proof a proof to check
- * @param coin_sig signature that must not be in @a proof
- * @return #GNUNET_OK if @a coin_sig is not in @a proof
- */
-enum GNUNET_GenericReturnValue
-TALER_EXCHANGE_check_coin_signature_conflict_ (
- const json_t *proof,
- const struct TALER_CoinSpendSignatureP *coin_sig);
-
-
-/**
- * Check that the provided @a proof indeeds indicates
- * a conflict for @a coin_pub.
- *
- * @param keys exchange keys
- * @param proof provided conflict proof
- * @param dk denomination of @a coin_pub that the client
- * used
- * @param coin_pub public key of the coin
- * @param required balance required on the coin for the operation
- * @return #GNUNET_OK if @a proof holds
- */
-enum GNUNET_GenericReturnValue
-TALER_EXCHANGE_check_coin_conflict_ (
- const struct TALER_EXCHANGE_Keys *keys,
- const json_t *proof,
- const struct TALER_EXCHANGE_DenomPublicKey *dk,
- const struct TALER_CoinSpendPublicKeyP *coin_pub,
- const struct TALER_Amount *required);
-
-
-/**
* Find the smallest denomination amount in @e keys.
*
* @param keys keys to search