diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-12 14:39:54 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-12 14:39:54 +0100 |
commit | 923ff3126ec45d62e362e36e374c9fcd4dbe3d60 (patch) | |
tree | 140155b8c6852f449e4a7a3648b93e193bb4f8d6 /src/include | |
parent | 19132b67165d04bede03ba83e98359849e357536 (diff) | |
download | exchange-923ff3126ec45d62e362e36e374c9fcd4dbe3d60.tar.xz |
-work on AML trigger logic
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 50a5c0efe..125254612 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -6606,6 +6606,23 @@ struct TALER_EXCHANGEDB_Plugin /** + * Obtain the current AML threshold set for an account. + * + * @param cls closure + * @param h_payto account for which the AML threshold is stored + * @param[out] decision set to current AML decision + * @param[out] threshold set to the existing threshold + * @return database transaction status, 0 if no threshold was set + */ + enum GNUNET_DB_QueryStatus + (*select_aml_threshold)( + void *cls, + const struct TALER_PaytoHashP *h_payto, + enum TALER_AmlDecisionState *decision, + struct TALER_Amount *threshold); + + + /** * Trigger AML process, an account has crossed the threshold. Inserts or * updates the AML status. * |