From cf1ce4786356cba7d3f84a74fab282650f612db9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 17 Nov 2018 16:11:47 +0100 Subject: more work towards testing deposit confirmations --- src/include/taler_exchange_service.h | 13 +++++++++++++ src/include/taler_testing_lib.h | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 9ccbf9ef1..351bbcd2b 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -484,6 +484,19 @@ TALER_EXCHANGE_get_denomination_key_by_hash (const struct TALER_EXCHANGE_Keys *k const struct GNUNET_HashCode *hc); +/** + * Obtain meta data about an exchange (online) signing + * key. + * + * @param keys from where to obtain the meta data + * @param exchange_pub public key to lookup + * @return NULL on error (@a exchange_pub not known) + */ +const struct TALER_EXCHANGE_SigningPublicKey * +TALER_EXCHANGE_get_exchange_signing_key_info (const struct TALER_EXCHANGE_Keys *keys, + const struct TALER_ExchangePublicKeyP *exchange_pub); + + /* ********************* /wire *********************** */ diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index ffb092ad2..7d4094358 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1656,7 +1656,7 @@ int TALER_TESTING_get_trait_coin_priv (const struct TALER_TESTING_Command *cmd, unsigned int index, - struct TALER_CoinSpendPrivateKeyP **coin_priv); + const struct TALER_CoinSpendPrivateKeyP **coin_priv); /** * Offer blinding key. -- cgit v1.2.3