exchange

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

commit 0c65a709dd6bdd21fe0e76d6cc6599a77adca488
parent 8175007a1005aa975a11636d9cad95851b8a3a0d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 31 Jul 2024 14:23:43 +0200

aml_threshold is dead

Diffstat:
Msrc/exchange/exchange.conf | 10----------
Msrc/exchange/taler-exchange-aggregator.c | 16----------------
2 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/src/exchange/exchange.conf b/src/exchange/exchange.conf @@ -6,10 +6,6 @@ # This must be adjusted to your actual installation. # MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG -# Must be set to the threshold above which transactions -# are flagged for AML review. -# AML_THRESHOLD = - # How many digits does the currency use by default on displays. # Hint provided to wallets. Should be 2 for EUR/USD/CHF, # and 0 for JPY. Default is 2 as that is most common. @@ -20,12 +16,6 @@ # capitals (like at gas stations) when present. CURRENCY_FRACTION_DIGITS = 2 -# Specifies a program (binary) to run on KYC attribute data to decide -# whether we should immediately flag an account for AML review. -# The KYC attribute data will be passed on standard-input. -# Return non-zero to trigger AML review of the new user. -KYC_AML_TRIGGER = true - # Attribute encryption key for storing attributes encrypted # in the database. Should be a high-entropy nonce. ATTRIBUTE_ENCRYPTION_KEY = SET_ME_PLEASE diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c @@ -150,12 +150,6 @@ struct Shard static struct TALER_Amount currency_round_unit; /** - * What is the largest amount we transfer before triggering - * an AML check? - */ -static struct TALER_Amount aml_threshold; - -/** * What is the base URL of this exchange? Used in the * wire transfer subjects so that merchants and governments * can ask for the list of aggregated deposits. @@ -307,16 +301,6 @@ parse_aggregator_config (void) "Need non-zero amount in section `taler' under `CURRENCY_ROUND_UNIT'\n"); return GNUNET_SYSERR; } - if (GNUNET_OK != - TALER_config_get_amount (cfg, - "exchange", - "AML_THRESHOLD", - &aml_threshold)) - { - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Need amount in section `exchange' under `AML_THRESHOLD'\n"); - return GNUNET_SYSERR; - } if (NULL == (db_plugin = TALER_EXCHANGEDB_plugin_load (cfg)))