diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-17 16:11:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-17 16:11:47 +0100 |
commit | cf1ce4786356cba7d3f84a74fab282650f612db9 (patch) | |
tree | 744790593dd70e5338dd53e4e450364e53158999 /src/include | |
parent | 4d058c4eb7283b1a77a877d583daaefa847213ec (diff) |
more work towards testing deposit confirmations
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 13 | ||||
-rw-r--r-- | src/include/taler_testing_lib.h | 2 |
2 files changed, 14 insertions, 1 deletions
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. |