exchange

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

commit 9f24337cb28bc24c5967106ab0e758bfc07e1eb2
parent 287aaf75cb0263ff80532e6f761a82376aa83d03
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 16 Aug 2026 22:21:55 +0200

document NO_RESULTS return case

Diffstat:
Msrc/include/exchange-database/insert_aml_decision.h | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/include/exchange-database/insert_aml_decision.h b/src/include/exchange-database/insert_aml_decision.h @@ -30,6 +30,8 @@ * Insert an AML decision. Inserts into AML history and insert or updates AML * status. * + * Primary test table: `aml_history` (see test_aml_history.c). + * * @param pg the database context * @param payto_uri full URI of the account, optional, * can be NULL if the backend already knows the account @@ -59,7 +61,10 @@ * @param[out] legitimization_measure_serial_id serial ID of the legitimization measures * of the decision * @param[out] is_wallet set to true if @a h_payto is for a wallet - * @return database transaction status + * @return database transaction status; + * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if the decision was refused + * because a decision at or after @a decision_time is already on + * file, in which case @a last_date is set to its time */ enum GNUNET_DB_QueryStatus TALER_EXCHANGEDB_insert_aml_decision (struct TALER_EXCHANGEDB_PostgresContext *