summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-16 14:17:33 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-16 14:17:33 +0200
commite371d76cfe1b78cd373046ca6be535157e41793c (patch)
treee882926873b4274e3b96e5429e7444aae6cca114 /src/exchange/taler-exchange-httpd.c
parent30b953ff0f46a49c1a48b6d0b59d18c4cd30e0c6 (diff)
downloadexchange-e371d76cfe1b78cd373046ca6be535157e41793c.tar.gz
exchange-e371d76cfe1b78cd373046ca6be535157e41793c.tar.bz2
exchange-e371d76cfe1b78cd373046ca6be535157e41793c.zip
add KYC_AML_TRIGGER option (not implemented)
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r--src/exchange/taler-exchange-httpd.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index 3a2c4c001..348967f77 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -154,6 +154,11 @@ struct TALER_EXCHANGEDB_Plugin *TEH_plugin;
char *TEH_currency;
/**
+ * Name of the KYC-AML-trigger evaluation binary.
+ */
+char *TEH_kyc_aml_trigger;
+
+/**
* Option set to #GNUNET_YES if tipping is enabled.
*/
int TEH_enable_tipping;
@@ -1850,6 +1855,17 @@ exchange_serve_process_config (void)
return GNUNET_SYSERR;
}
if (GNUNET_OK !=
+ GNUNET_CONFIGURATION_get_value_string (TEH_cfg,
+ "exchange",
+ "KYC_AML_TRIGGER",
+ &TEH_kyc_aml_trigger))
+ {
+ GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
+ "exchange",
+ "KYC_AML_TRIGGER");
+ return GNUNET_SYSERR;
+ }
+ if (GNUNET_OK !=
TALER_config_get_currency (TEH_cfg,
&TEH_currency))
{