add KYC_AML_TRIGGER option (not implemented)
This commit is contained in:
parent
30b953ff0f
commit
e371d76cfe
@ -153,6 +153,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.
|
||||
*/
|
||||
@ -1849,6 +1854,17 @@ exchange_serve_process_config (void)
|
||||
"valid relative time expected");
|
||||
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))
|
||||
|
@ -102,6 +102,11 @@ extern struct TALER_EXCHANGEDB_Plugin *TEH_plugin;
|
||||
*/
|
||||
extern char *TEH_currency;
|
||||
|
||||
/**
|
||||
* Name of the KYC-AML-trigger evaluation binary.
|
||||
*/
|
||||
extern char *TEH_kyc_aml_trigger;
|
||||
|
||||
/**
|
||||
* What is the largest amount we allow a peer to
|
||||
* merge into a reserve before always triggering
|
||||
|
@ -251,7 +251,7 @@ child_done_cb (void *cls,
|
||||
long unsigned int exit_code)
|
||||
{
|
||||
struct TALER_JSON_ExternalConversion *ec = cls;
|
||||
json_t *j;
|
||||
json_t *j = NULL;
|
||||
json_error_t err;
|
||||
|
||||
ec->cwh = NULL;
|
||||
@ -269,6 +269,8 @@ child_done_cb (void *cls,
|
||||
}
|
||||
GNUNET_OS_process_destroy (ec->helper);
|
||||
ec->helper = NULL;
|
||||
if (0 != ec->read_pos)
|
||||
{
|
||||
j = json_loadb (ec->read_buf,
|
||||
ec->read_pos,
|
||||
JSON_REJECT_DUPLICATES,
|
||||
@ -280,6 +282,7 @@ child_done_cb (void *cls,
|
||||
err.position,
|
||||
err.text);
|
||||
}
|
||||
}
|
||||
ec->cb (ec->cb_cls,
|
||||
type,
|
||||
exit_code,
|
||||
|
Loading…
Reference in New Issue
Block a user