diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-13 16:00:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-13 16:00:37 +0100 |
commit | dc40f6c679a382ec8ca1ac90f584f821c6be6a33 (patch) | |
tree | 99f5179d86c754f1785a0c898e43cd41fef0f96d /src/include | |
parent | 3760d43097b8b72dbb7c45ab061aad669c36aefa (diff) | |
download | exchange-dc40f6c679a382ec8ca1ac90f584f821c6be6a33.tar.xz |
work on AML notification logic
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 6 | ||||
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index bfdc062b5..15329ad1c 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -3183,6 +3183,12 @@ struct TALER_EXCHANGE_GetDepositResponse uint64_t requirement_row; /** + * Current AML state for the account. May explain why transfers are + * not happening. + */ + enum TALER_AmlDecisionState aml_decision; + + /** * Set to 'true' if the KYC check is already finished and * the exchange is merely waiting for the @e execution_time. */ diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 125254612..0a389bd6e 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -4319,6 +4319,7 @@ struct TALER_EXCHANGEDB_Plugin * @param[out] execution_time when was the transaction done, or * when we expect it to be done (if @a pending is false) * @param[out] kyc set to the kyc status of the receiver (if @a pending) + * @param[out] aml_decision set to the current AML status for the target account * @return transaction status code */ enum GNUNET_DB_QueryStatus @@ -4333,7 +4334,8 @@ struct TALER_EXCHANGEDB_Plugin struct GNUNET_TIME_Timestamp *exec_time, struct TALER_Amount *amount_with_fee, struct TALER_Amount *deposit_fee, - struct TALER_EXCHANGEDB_KycStatus *kyc); + struct TALER_EXCHANGEDB_KycStatus *kyc, + enum TALER_AmlDecisionState *aml_decision); /** |