diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 07:08:13 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 07:08:13 +0200 |
commit | 085e40bc562343221bceb6fc4dc9aba8e32a27e3 (patch) | |
tree | a1fedd984e06ffa685e14dc5b7942d8d5b550c24 /src/lib/exchange_api_common.h | |
parent | 2805018da25b07a36b1ab56e6fc990d72d86d70a (diff) | |
download | exchange-085e40bc562343221bceb6fc4dc9aba8e32a27e3.tar.xz |
-exchange_api_batch_deposit.c compiles
Diffstat (limited to 'src/lib/exchange_api_common.h')
-rw-r--r-- | src/lib/exchange_api_common.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/exchange_api_common.h b/src/lib/exchange_api_common.h index f4737ca98..a75ed3ed2 100644 --- a/src/lib/exchange_api_common.h +++ b/src/lib/exchange_api_common.h @@ -198,4 +198,24 @@ TALER_EXCHANGE_get_min_denomination_ ( const struct TALER_EXCHANGE_Keys *keys, struct TALER_Amount *min); + +/** + * Verify signature information about the deposit. + * + * @param dcd contract details + * @param ech hashed contract (passed to avoid recomputation) + * @param h_wire hashed wire details (passed to avoid recomputation) + * @param cdd coin-specific details + * @param dki denomination of the coin + * @return #GNUNET_OK if signatures are OK, #GNUNET_SYSERR if not + */ +enum GNUNET_GenericReturnValue +TALER_EXCHANGE_verify_deposit_signature_ ( + const struct TALER_EXCHANGE_DepositContractDetail *dcd, + const struct TALER_ExtensionContractHashP *ech, + const struct TALER_MerchantWireHashP *h_wire, + const struct TALER_EXCHANGE_CoinDepositDetail *cdd, + const struct TALER_EXCHANGE_DenomPublicKey *dki); + + #endif |