summaryrefslogtreecommitdiff
path: root/src/backend-lib/taler_merchant_deposit_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-11-24 15:59:05 +0100
committerChristian Grothoff <christian@grothoff.org>2015-11-24 15:59:05 +0100
commitd185fd574e54c82799d3519bf774b50d421fa370 (patch)
treeb874cc44aaffd0ed4a9e30811eb09d379404f80f /src/backend-lib/taler_merchant_deposit_lib.h
parent664100916192b1beb993addbfd33a1c8a8788c2c (diff)
downloadmerchant-d185fd574e54c82799d3519bf774b50d421fa370.tar.gz
merchant-d185fd574e54c82799d3519bf774b50d421fa370.tar.bz2
merchant-d185fd574e54c82799d3519bf774b50d421fa370.zip
rearranging code to (1) satisfy naming and coding conventions a bit more, and (2) provide a task handle for each mint, which may fix #4042
Diffstat (limited to 'src/backend-lib/taler_merchant_deposit_lib.h')
-rw-r--r--src/backend-lib/taler_merchant_deposit_lib.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/backend-lib/taler_merchant_deposit_lib.h b/src/backend-lib/taler_merchant_deposit_lib.h
deleted file mode 100644
index 95bbea78..00000000
--- a/src/backend-lib/taler_merchant_deposit_lib.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
-* Verify the signature on a successful deposit permission
-* @param h_contract the hashed stringification of this contract
-* @param h_wire the hashed 'wire' object holdign the merchant bank's details
-* @param timestamp the 32bit wide number representing the number of seconds
-* since the Epoch
-* @param refund the refund deadline for this deal, expressed in seconds as @a
-* timestamp
-* @param trans_id an id number for this deal
-* @param amount_minus_fee what paid minus its deposit fee
-* @param coin_pub the coin's public key
-* @param sig the mint's signature
-* @param mint_pub mint's key to verify this signature against
-* @return GNUNET_OK if the verification succeeds, GNUNET_NO if not,
-* GNUNET_SYSERR upon errors
-*/
-
-uint32_t
-MERCHANT_verify_confirmation (const struct GNUNET_HashCode *h_contract,
- const struct GNUNET_HashCode *h_wire,
- struct GNUNET_TIME_Absolute timestamp,
- struct GNUNET_TIME_Absolute refund,
- uint64_t trans_id,
- const struct TALER_Amount *amount_minus_fee,
- const struct TALER_CoinSpendPublicKeyP *coin,
- const struct TALER_MerchantPublicKeyP *merchant,
- const struct GNUNET_CRYPTO_EddsaSignature *sig,
- const struct TALER_MintPublicKeyP *mint_pub);