exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit a59e2140f70b30ce0c58ea2270575fd86a71f2bc
parent 86669654dfba36534bf2e24bd67066f2c5248aa1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 27 Apr 2025 23:27:29 +0200

fix form, more logging fixes

Diffstat:
Msrc/kyclogic/taler-exchange-helper-measure-tops-3rdparty-check | 2+-
Msrc/lib/exchange_api_handle.c | 4++++
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/kyclogic/taler-exchange-helper-measure-tops-3rdparty-check b/src/kyclogic/taler-exchange-helper-measure-tops-3rdparty-check @@ -129,7 +129,7 @@ in # Force user to fill in $FORM NEW_RULES=$(echo "$CURRENT_RULES" | jq '(.rules[] |= if (.rule_name=="deposit-limit-zero" or .measures[0] == "form-vqf-902.11") then .measures=["form-'${FORM}'"] else . end)') INVESTIGATE="false" - NEW_MEASURES='"form-vqf-902.11"' + NEW_MEASURES='"form-vqf-'${FORM}'"' ;; esac diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c @@ -521,6 +521,9 @@ parse_json_denomkey_partially ( &denom_key->fees, master_key, &denom_key->master_sig)); + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Learned denomination key %s\n", + GNUNET_h2s (&denom_key->h_key.hash)); return GNUNET_OK; EXITIF_exit: GNUNET_JSON_parse_free (spec); @@ -1973,6 +1976,7 @@ TALER_EXCHANGE_get_denomination_key_by_hash ( const struct TALER_EXCHANGE_Keys *keys, const struct TALER_DenominationHashP *hc) { + /* FIXME-optimization: should we maybe use a hash map here? */ for (unsigned int i = 0; i<keys->num_denom_keys; i++) if (0 == GNUNET_memcmp (hc, &keys->denom_keys[i].h_key))