exchange

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

commit ff8b924b643c1959e965b6748ec76ab1d44cc942
parent 8b3f8c37b5629ebd7812e308ecff2f10c69b9e46
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sun, 16 Aug 2026 08:48:06 +0200

fix stale copy-paste issues

Diffstat:
Msrc/auditordb/iterate_amount_arithmetic_inconsistencies.c | 3++-
Msrc/auditordb/iterate_coin_inconsistencies.c | 2+-
Msrc/auditordb/iterate_denomination_key_validity_withdraw_inconsistencies.c | 3++-
Msrc/auditordb/iterate_early_aggregations.c | 2+-
Msrc/auditordb/iterate_fee_time_inconsistencies.c | 2+-
Msrc/auditordb/iterate_pending_deposits.c | 2+-
Msrc/auditordb/iterate_row_inconsistencies.c | 2+-
Msrc/include/auditor-database/iterate_historic_denom_revenue.h | 25-------------------------
Msrc/include/auditor-database/iterate_pending_deposits.h | 23-----------------------
9 files changed, 9 insertions(+), 55 deletions(-)

diff --git a/src/auditordb/iterate_amount_arithmetic_inconsistencies.c b/src/auditordb/iterate_amount_arithmetic_inconsistencies.c @@ -55,7 +55,8 @@ struct AmountArithmeticInconsistencyContext /** - * Helper function for #TALER_AUDITORDB_iterate_deposit_confirmations(). + * Helper function for + * #TALER_AUDITORDB_iterate_amount_arithmetic_inconsistencies(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * diff --git a/src/auditordb/iterate_coin_inconsistencies.c b/src/auditordb/iterate_coin_inconsistencies.c @@ -57,7 +57,7 @@ struct CoinInconsistencyContext /** - * Helper function for #TALER_AUDITORDB_iterate_deposit_confirmations(). + * Helper function for #TALER_AUDITORDB_iterate_coin_inconsistencies(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * diff --git a/src/auditordb/iterate_denomination_key_validity_withdraw_inconsistencies.c b/src/auditordb/iterate_denomination_key_validity_withdraw_inconsistencies.c @@ -55,7 +55,8 @@ struct DenominationKeyValidityWithdrawInconsistencyContext /** - * Helper function for #TALER_AUDITORDB_iterate_deposit_confirmations(). + * Helper function for + * #TALER_AUDITORDB_iterate_denomination_key_validity_withdraw_inconsistencies(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * diff --git a/src/auditordb/iterate_early_aggregations.c b/src/auditordb/iterate_early_aggregations.c @@ -60,7 +60,7 @@ struct EarlyAggregationContext /** - * Helper function for #TALER_AUDITORDB_iterate_purse_expired(). + * Helper function for #TALER_AUDITORDB_iterate_early_aggregations(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * diff --git a/src/auditordb/iterate_fee_time_inconsistencies.c b/src/auditordb/iterate_fee_time_inconsistencies.c @@ -54,7 +54,7 @@ struct FeeTimeInconsistencyContext /** - * Helper function for #TALER_AUDITORDB_iterate_emergencies(). + * Helper function for #TALER_AUDITORDB_iterate_fee_time_inconsistencies(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * diff --git a/src/auditordb/iterate_pending_deposits.c b/src/auditordb/iterate_pending_deposits.c @@ -59,7 +59,7 @@ struct WireMissingContext /** - * Helper function for #TALER_AUDITORDB_iterate_purse_expired(). + * Helper function for #TALER_AUDITORDB_iterate_pending_deposits(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * diff --git a/src/auditordb/iterate_row_inconsistencies.c b/src/auditordb/iterate_row_inconsistencies.c @@ -55,7 +55,7 @@ struct RowInconsistencyContext /** - * Helper function for #TALER_AUDITORDB_iterate_deposit_confirmations(). + * Helper function for #TALER_AUDITORDB_iterate_row_inconsistencies(). * To be called with the results of a SELECT statement * that has returned @a num_results results. * diff --git a/src/include/auditor-database/iterate_historic_denom_revenue.h b/src/include/auditor-database/iterate_historic_denom_revenue.h @@ -70,31 +70,6 @@ struct TALER_AUDITORDB_HistoricDenominationRevenue /** - * Function called with the results of select_historic_denom_revenue() - * - * @param cls closure - * @param serial_id row for the denomination revenue in the auditor database - * @param denom_pub_hash hash of the denomination key - * @param revenue_timestamp when did this profit get realized - * @param revenue_balance what was the total profit made from - * deposit fees, melting fees, refresh fees - * and coins that were never returned? - * @param loss_balance what was the total loss - * @return sets the return value of select_denomination_info(), - * #GNUNET_OK to continue, - * #GNUNET_NO to stop processing further rows - * #GNUNET_SYSERR or other values on error. - */ -typedef enum GNUNET_GenericReturnValue -(*TALER_AUDITORDB_HistoricDenominationRevenueDataCallback)( - TALER_AUDITORDB_HISTORIC_DENOMINATION_REVENUE_DATA_RESULT_CLOSURE *cls, - uint64_t serial_id, - const struct TALER_DenominationHashP *denom_pub_hash, - struct GNUNET_TIME_Timestamp revenue_timestamp, - const struct TALER_Amount *revenue_balance, - const struct TALER_Amount *loss_balance); - -/** * Obtain all of the historic denomination key revenue * * @param pg the database context diff --git a/src/include/auditor-database/iterate_pending_deposits.h b/src/include/auditor-database/iterate_pending_deposits.h @@ -55,29 +55,6 @@ typedef void bool suppressed); -/* Callback typedefs */ -/** - * Function called on deposits that are past their due date - * and have not yet seen a wire transfer. - * - * @param cls closure - * @param row_id row ID of the alert in the auditor database - * @param batch_deposit_serial_id where in the exchange table are we - * @param total_amount value of all missing deposits, including fees - * @param wire_target_h_payto hash of the recipient account's payto URI - * @param deadline what was the earliest requested wire transfer deadline - * @param suppressed true if this report was suppressed - */ -typedef void -(*TALER_AUDITORDB_WireMissingCallback) ( - TALER_AUDITORDB_WIRE_MISSING_RESULT_CLOSURE *cls, - uint64_t row_id, - uint64_t batch_deposit_serial_id, - const struct TALER_Amount *total_amount, - const struct TALER_FullPaytoHashP *wire_target_h_payto, - struct GNUNET_TIME_Timestamp deadline, - bool suppressed); - /** * Return (batch) deposits for which we have not yet * seen the required wire transfer.