exchange

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

commit aa304f56bcad1ba2829feba4c8aff958a5f6e90f
parent d2c3fad5fe10cecdc704176b3ccde772d30a7ed2
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 26 Dec 2024 18:43:09 +0100

implement missing auditor DB functions

Diffstat:
Msrc/auditordb/Makefile.am | 118++++++++++++++++++++++++++++++++++++++++----------------------------------------
Asrc/auditordb/pg_delete_reserve_in_inconsistency.c | 47+++++++++++++++++++++++++++++++++++++++++++++++
Asrc/auditordb/pg_delete_reserve_in_inconsistency.h | 41+++++++++++++++++++++++++++++++++++++++++
Asrc/auditordb/pg_select_reserve_in_inconsistency.c | 80+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Asrc/auditordb/pg_select_reserve_in_inconsistency.h | 44++++++++++++++++++++++++++++++++++++++++++++
Msrc/auditordb/plugin_auditordb_postgres.c | 6++++++
Msrc/include/taler_auditordb_plugin.h | 15+++++++++++++++
Msrc/kyclogic/kyclogic-kycaid.conf | 3---
Msrc/kyclogic/kyclogic-persona.conf | 5+----
9 files changed, 293 insertions(+), 66 deletions(-)

diff --git a/src/auditordb/Makefile.am b/src/auditordb/Makefile.am @@ -56,93 +56,93 @@ plugin_LTLIBRARIES = \ libtaler_plugin_auditordb_postgres.la endif -# MARK: CRUD - libtaler_plugin_auditordb_postgres_la_SOURCES = \ - plugin_auditordb_postgres.c \ - pg_helper.h pg_helper.c \ + pg_del_denomination_balance.h pg_del_denomination_balance.c \ + pg_del_reserve_info.c pg_del_reserve_info.h \ pg_delete_generic.c pg_delete_generic.h \ pg_delete_pending_deposit.c pg_delete_pending_deposit.h \ pg_delete_purse_info.c pg_delete_purse_info.h \ - pg_del_denomination_balance.h pg_del_denomination_balance.c \ - pg_del_reserve_info.c pg_del_reserve_info.h \ + pg_delete_reserve_in_inconsistency.h pg_delete_reserve_in_inconsistency.c \ + pg_delete_wire_out_inconsistency_if_matching.c pg_delete_wire_out_inconsistency_if_matching.h \ + pg_get_amount_arithmetic_inconsistency.c pg_get_amount_arithmetic_inconsistency.h \ + pg_get_auditor_closure_lags.c pg_get_auditor_closure_lags.h \ pg_get_auditor_progress.c pg_get_auditor_progress.h \ + pg_get_bad_sig_losses.c pg_get_bad_sig_losses.h \ pg_get_balance.c pg_get_balance.h \ + pg_get_balances.c pg_get_balances.h \ + pg_get_coin_inconsistency.c pg_get_coin_inconsistency.h \ pg_get_denomination_balance.c pg_get_denomination_balance.h \ + pg_get_denomination_key_validity_withdraw_inconsistency.c pg_get_denomination_key_validity_withdraw_inconsistency.h \ + pg_get_denomination_pending.c pg_get_denomination_pending.h \ + pg_get_denominations_without_sigs.c pg_get_denominations_without_sigs.h \ pg_get_deposit_confirmations.c pg_get_deposit_confirmations.h \ + pg_get_emergency.c pg_get_emergency.h \ + pg_get_emergency_by_count.c pg_get_emergency_by_count.h \ + pg_get_exchange_signkeys.c pg_get_exchange_signkeys.h \ + pg_get_fee_time_inconsistency.c pg_get_fee_time_inconsistency.h \ + pg_get_misattribution_in_inconsistency.c pg_get_misattribution_in_inconsistency.h \ + pg_get_progress_points.h pg_get_progress_points.c \ pg_get_purse_info.c pg_get_purse_info.h \ + pg_get_purse_not_closed_inconsistencies.c pg_get_purse_not_closed_inconsistencies.h \ + pg_get_purses.c pg_get_purses.h \ + pg_get_refreshes_hanging.c pg_get_refreshes_hanging.h \ + pg_get_reserve_balance_insufficient_inconsistency.c pg_get_reserve_balance_insufficient_inconsistency.h \ + pg_get_reserve_balance_summary_wrong_inconsistency.c pg_get_reserve_balance_summary_wrong_inconsistency.h \ + pg_get_reserve_in_inconsistency.c pg_get_reserve_in_inconsistency.h \ pg_get_reserve_info.c pg_get_reserve_info.h \ + pg_get_reserve_not_closed_inconsistency.c pg_get_reserve_not_closed_inconsistency.h \ + pg_get_reserves.c pg_get_reserves.h \ + pg_get_row_inconsistency.c pg_get_row_inconsistency.h \ + pg_get_row_minor_inconsistencies.c pg_get_row_minor_inconsistencies.h \ pg_get_wire_fee_summary.c pg_get_wire_fee_summary.h \ + pg_get_wire_format_inconsistency.c pg_get_wire_format_inconsistency.h \ + pg_get_wire_out_inconsistency.c pg_get_wire_out_inconsistency.h \ + pg_helper.h pg_helper.c \ + pg_insert_amount_arithmetic_inconsistency.c pg_insert_amount_arithmetic_inconsistency.h \ + pg_insert_auditor_closure_lags.c pg_insert_auditor_closure_lags.h \ pg_insert_auditor_progress.c pg_insert_auditor_progress.h \ + pg_insert_bad_sig_losses.c pg_insert_bad_sig_losses.h \ pg_insert_balance.c pg_insert_balance.h \ + pg_insert_coin_inconsistency.c pg_insert_coin_inconsistency.h \ pg_insert_denomination_balance.c pg_insert_denomination_balance.h \ + pg_insert_denomination_key_validity_withdraw_inconsistency.c pg_insert_denomination_key_validity_withdraw_inconsistency.h \ + pg_insert_denomination_pending.c pg_insert_denomination_pending.h \ + pg_insert_denominations_without_sigs.c pg_insert_denominations_without_sigs.h \ pg_insert_deposit_confirmation.c pg_insert_deposit_confirmation.h \ - pg_get_progress_points.h pg_get_progress_points.c \ + pg_insert_emergency.c pg_insert_emergency.h \ + pg_insert_emergency_by_count.c pg_insert_emergency_by_count.h \ + pg_insert_exchange_signkey.c pg_insert_exchange_signkey.h \ + pg_insert_fee_time_inconsistency.c pg_insert_fee_time_inconsistency.h \ + pg_insert_historic_denom_revenue.c pg_insert_historic_denom_revenue.h \ pg_insert_historic_reserve_revenue.c pg_insert_historic_reserve_revenue.h \ + pg_insert_misattribution_in_inconsistency.c pg_insert_misattribution_in_inconsistency.h \ pg_insert_pending_deposit.c pg_insert_pending_deposit.h \ pg_insert_purse_info.c pg_insert_purse_info.h \ + pg_insert_purse_not_closed_inconsistencies.c pg_insert_purse_not_closed_inconsistencies.h \ + pg_insert_refreshes_hanging.c pg_insert_refreshes_hanging.h \ + pg_insert_reserve_balance_insufficient_inconsistency.c pg_insert_reserve_balance_insufficient_inconsistency.h \ + pg_insert_reserve_balance_summary_wrong_inconsistency.c pg_insert_reserve_balance_summary_wrong_inconsistency.h \ + pg_insert_reserve_in_inconsistency.c pg_insert_reserve_in_inconsistency.h \ pg_insert_reserve_info.c pg_insert_reserve_info.h \ + pg_insert_reserve_not_closed_inconsistency.c pg_insert_reserve_not_closed_inconsistency.h \ + pg_insert_row_inconsistency.c pg_insert_row_inconsistency.h \ + pg_insert_row_minor_inconsistencies.c pg_insert_row_minor_inconsistencies.h \ + pg_insert_wire_format_inconsistency.c pg_insert_wire_format_inconsistency.h \ + pg_insert_wire_out_inconsistency.c pg_insert_wire_out_inconsistency.h \ + pg_lookup_reserve_in_inconsistency.c pg_lookup_reserve_in_inconsistency.h \ pg_select_historic_denom_revenue.c pg_select_historic_denom_revenue.h \ pg_select_historic_reserve_revenue.c pg_select_historic_reserve_revenue.h \ pg_select_pending_deposits.c pg_select_pending_deposits.h \ pg_select_purse_expired.c pg_select_purse_expired.h \ - pg_update_generic_suppressed.c pg_update_generic_suppressed.h \ + pg_select_reserve_in_inconsistency.c pg_select_reserve_in_inconsistency.h \ pg_update_auditor_progress.c pg_update_auditor_progress.h \ + pg_update_balance.c pg_update_balance.h \ pg_update_denomination_balance.c pg_update_denomination_balance.h \ + pg_update_generic_suppressed.c pg_update_generic_suppressed.h \ pg_update_purse_info.c pg_update_purse_info.h \ pg_update_reserve_info.c pg_update_reserve_info.h \ pg_update_wire_fee_summary.c pg_update_wire_fee_summary.h \ - pg_get_amount_arithmetic_inconsistency.c pg_get_amount_arithmetic_inconsistency.h \ - pg_get_coin_inconsistency.c pg_get_coin_inconsistency.h \ - pg_get_row_inconsistency.c pg_get_row_inconsistency.h \ - pg_insert_amount_arithmetic_inconsistency.c pg_insert_amount_arithmetic_inconsistency.h \ - pg_insert_coin_inconsistency.c pg_insert_coin_inconsistency.h \ - pg_insert_row_inconsistency.c pg_insert_row_inconsistency.h \ - pg_insert_emergency.c pg_insert_emergency.h \ - pg_get_emergency.c pg_get_emergency.h \ - pg_insert_emergency_by_count.c pg_insert_emergency_by_count.h \ - pg_get_emergency_by_count.c pg_get_emergency_by_count.h \ - pg_insert_denomination_key_validity_withdraw_inconsistency.c pg_insert_denomination_key_validity_withdraw_inconsistency.h \ - pg_get_denomination_key_validity_withdraw_inconsistency.c pg_get_denomination_key_validity_withdraw_inconsistency.h \ - pg_insert_purse_not_closed_inconsistencies.c pg_insert_purse_not_closed_inconsistencies.h \ - pg_get_purse_not_closed_inconsistencies.c pg_get_purse_not_closed_inconsistencies.h \ - pg_insert_reserve_balance_insufficient_inconsistency.c pg_insert_reserve_balance_insufficient_inconsistency.h \ - pg_get_reserve_balance_insufficient_inconsistency.c pg_get_reserve_balance_insufficient_inconsistency.h \ - pg_insert_bad_sig_losses.c pg_insert_bad_sig_losses.h \ - pg_get_bad_sig_losses.c pg_get_bad_sig_losses.h \ - pg_insert_auditor_closure_lags.c pg_insert_auditor_closure_lags.h \ - pg_get_auditor_closure_lags.c pg_get_auditor_closure_lags.h \ - pg_insert_refreshes_hanging.c pg_insert_refreshes_hanging.h \ - pg_get_refreshes_hanging.c pg_get_refreshes_hanging.h \ - pg_get_reserve_in_inconsistency.c pg_get_reserve_in_inconsistency.h \ - pg_lookup_reserve_in_inconsistency.c pg_lookup_reserve_in_inconsistency.h \ - pg_insert_reserve_in_inconsistency.c pg_insert_reserve_in_inconsistency.h \ - pg_get_reserve_not_closed_inconsistency.c pg_get_reserve_not_closed_inconsistency.h \ - pg_insert_reserve_not_closed_inconsistency.c pg_insert_reserve_not_closed_inconsistency.h \ - pg_get_denominations_without_sigs.c pg_get_denominations_without_sigs.h \ - pg_insert_denominations_without_sigs.c pg_insert_denominations_without_sigs.h \ - pg_get_misattribution_in_inconsistency.c pg_get_misattribution_in_inconsistency.h \ - pg_insert_misattribution_in_inconsistency.c pg_insert_misattribution_in_inconsistency.h \ - pg_update_balance.c pg_update_balance.h \ - pg_get_reserves.c pg_get_reserves.h \ - pg_get_purses.c pg_get_purses.h \ - pg_insert_historic_denom_revenue.c pg_insert_historic_denom_revenue.h \ - pg_get_denomination_pending.c pg_get_denomination_pending.h \ - pg_insert_denomination_pending.c pg_insert_denomination_pending.h \ - pg_get_exchange_signkeys.c pg_get_exchange_signkeys.h \ - pg_get_wire_format_inconsistency.c pg_get_wire_format_inconsistency.h \ - pg_insert_wire_format_inconsistency.c pg_insert_wire_format_inconsistency.h \ - pg_get_wire_out_inconsistency.c pg_get_wire_out_inconsistency.h \ - pg_insert_wire_out_inconsistency.c pg_insert_wire_out_inconsistency.h \ - pg_delete_wire_out_inconsistency_if_matching.c pg_delete_wire_out_inconsistency_if_matching.h \ - pg_get_reserve_balance_summary_wrong_inconsistency.c pg_get_reserve_balance_summary_wrong_inconsistency.h \ - pg_insert_reserve_balance_summary_wrong_inconsistency.c pg_insert_reserve_balance_summary_wrong_inconsistency.h \ - pg_get_row_minor_inconsistencies.c pg_get_row_minor_inconsistencies.h \ - pg_insert_row_minor_inconsistencies.c pg_insert_row_minor_inconsistencies.h \ - pg_get_fee_time_inconsistency.c pg_get_fee_time_inconsistency.h \ - pg_insert_fee_time_inconsistency.c pg_insert_fee_time_inconsistency.h \ - pg_get_balances.c pg_get_balances.h \ - pg_insert_exchange_signkey.c pg_insert_exchange_signkey.h + plugin_auditordb_postgres.c libtaler_plugin_auditordb_postgres_la_LDFLAGS = \ $(TALER_PLUGIN_LDFLAGS) diff --git a/src/auditordb/pg_delete_reserve_in_inconsistency.c b/src/auditordb/pg_delete_reserve_in_inconsistency.c @@ -0,0 +1,47 @@ +/* + This file is part of TALER + Copyright (C) 2024 Taler Systems SA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + TALER is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + */ +/** + * @file auditordb/pg_delete_reserve_in_inconsistency.c + * @brief Implementation of the delete_reserve_in_inconsistency function for Postgres + * @author Christian Grothoff + */ +#include "platform.h" +#include "taler_error_codes.h" +#include "taler_dbevents.h" +#include "taler_pq_lib.h" +#include "pg_delete_reserve_in_inconsistency.h" +#include "pg_helper.h" + + +enum GNUNET_DB_QueryStatus +TAH_PG_delete_reserve_in_inconsistency ( + void *cls, + uint64_t row_id) +{ + struct PostgresClosure *pg = cls; + struct GNUNET_PQ_QueryParam params[] = { + GNUNET_PQ_query_param_uint64 (&row_id), + GNUNET_PQ_query_param_end + }; + + PREPARE (pg, + "delete_reserve_in_inconsistency", + "DELETE FROM auditor_reserve_in_inconsistency " + " WHERE row_id=$1"); + return GNUNET_PQ_eval_prepared_non_select (pg->conn, + "delete_reserve_in_inconsistency", + params); +} diff --git a/src/auditordb/pg_delete_reserve_in_inconsistency.h b/src/auditordb/pg_delete_reserve_in_inconsistency.h @@ -0,0 +1,41 @@ +/* + This file is part of TALER + Copyright (C) 2024 Taler Systems SA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + TALER is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + */ +/** + * @file auditordb/pg_delete_reserve_in_inconsistency.h + * @brief implementation of the delete_reserve_in_inconsistency function for Postgres + * @author Christian Grothoff + */ +#ifndef PG_DELETE_RESERVE_IN_INCONSISTENCY_H +#define PG_DELETE_RESERVE_IN_INCONSISTENCY_H + +#include "taler_util.h" +#include "taler_json_lib.h" +#include "taler_auditordb_plugin.h" + + +/** + * Delete information about an reserve-in-inconsistency from the database. + * + * @param cls the @e cls of this struct with the plugin-specific state + * @param row_id row of the inconsistency in our table + * @return query result status + */ +enum GNUNET_DB_QueryStatus +TAH_PG_delete_reserve_in_inconsistency ( + void *cls, + uint64_t row_id); + +#endif diff --git a/src/auditordb/pg_select_reserve_in_inconsistency.c b/src/auditordb/pg_select_reserve_in_inconsistency.c @@ -0,0 +1,80 @@ +/* + This file is part of TALER + Copyright (C) 2024 Taler Systems SA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + TALER is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + */ +/** + * @file auditordb/pg_select_reserve_in_inconsistency.c + * @brief Implementation of the select_reserve_in_inconsistency function for Postgres + * @author Christian Grothoff + */ +#include "platform.h" +#include "taler_error_codes.h" +#include "taler_dbevents.h" +#include "taler_pq_lib.h" +#include "pg_select_reserve_in_inconsistency.h" +#include "pg_helper.h" + + +enum GNUNET_DB_QueryStatus +TAH_PG_select_reserve_in_inconsistency ( + void *cls, + uint64_t bank_row_id, + struct TALER_AUDITORDB_ReserveInInconsistency *dc) +{ + struct PostgresClosure *pg = cls; + struct GNUNET_PQ_QueryParam params[] = { + GNUNET_PQ_query_param_uint64 (&bank_row_id), + GNUNET_PQ_query_param_end + }; + struct GNUNET_PQ_ResultSpec rs[] = { + GNUNET_PQ_result_spec_uint64 ("row_id", + &dc->serial_id), + TALER_PQ_RESULT_SPEC_AMOUNT ("amount_exchange_expected", + &dc->amount_exchange_expected), + TALER_PQ_RESULT_SPEC_AMOUNT ("amount_wired", + &dc->amount_wired), + GNUNET_PQ_result_spec_auto_from_type ("reserve_pub", + &dc->reserve_pub), + GNUNET_PQ_result_spec_absolute_time ("timestamp", + &dc->timestamp), + GNUNET_PQ_result_spec_string ("account", + &dc->account.full_payto), + GNUNET_PQ_result_spec_string ("diagnostic", + &dc->diagnostic), + GNUNET_PQ_result_spec_bool ("suppressed", + &dc->suppressed), + GNUNET_PQ_result_spec_end + }; + + dc->bank_row_id = bank_row_id; + PREPARE (pg, + "select_reserve_in_inconsistency", + "SELECT" + " row_id" + ",amount_exchange_expected" + ",amount_wired" + ",reserve_pub" + ",timestamp" + ",account" + ",diagnostic" + ",suppressed" + " FROM auditor_reserve_in_inconsistency" + " WHERE (bank_row_id = $1)" + ); + return GNUNET_PQ_eval_prepared_singleton_select ( + pg->conn, + "select_reserve_in_inconsistency", + params, + rs); +} diff --git a/src/auditordb/pg_select_reserve_in_inconsistency.h b/src/auditordb/pg_select_reserve_in_inconsistency.h @@ -0,0 +1,44 @@ +/* + This file is part of TALER + Copyright (C) 2024 Taler Systems SA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + TALER is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + */ +/** + * @file auditordb/pg_select_reserve_in_inconsistency.h + * @brief implementation of the select_reserve_in_inconsistency function for Postgres + * @author Christian Grothoff + */ +#ifndef PG_SELECT_RESERVE_IN_INCONSISTENCY_H +#define PG_SELECT_RESERVE_IN_INCONSISTENCY_H + +#include "taler_util.h" +#include "taler_json_lib.h" +#include "taler_auditordb_plugin.h" + + +/** + * Return any reserve incoming inconsistency associated with the + * given @a bank_row_id. + * + * @param cls closure + * @param bank_row_id row to select by + * @param[out] dc details to return + */ +enum GNUNET_DB_QueryStatus +TAH_PG_select_reserve_in_inconsistency ( + void *cls, + uint64_t bank_row_id, + struct TALER_AUDITORDB_ReserveInInconsistency *dc); + + +#endif diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c @@ -26,6 +26,7 @@ #include "pg_delete_generic.h" #include "pg_delete_pending_deposit.h" #include "pg_delete_purse_info.h" +#include "pg_delete_reserve_in_inconsistency.h" #include "pg_del_denomination_balance.h" #include "pg_del_reserve_info.h" #include "pg_get_auditor_progress.h" @@ -47,6 +48,7 @@ #include "pg_insert_pending_deposit.h" #include "pg_insert_purse_info.h" #include "pg_insert_reserve_info.h" +#include "pg_select_reserve_in_inconsistency.h" #include "pg_select_historic_denom_revenue.h" #include "pg_select_historic_reserve_revenue.h" #include "pg_get_progress_points.h" @@ -697,6 +699,10 @@ libtaler_plugin_auditordb_postgres_init (void *cls) = &TAH_PG_insert_wire_out_inconsistency; plugin->get_wire_out_inconsistency = &TAH_PG_get_wire_out_inconsistency; + plugin->select_reserve_in_inconsistency + = &TAH_PG_select_reserve_in_inconsistency; + plugin->delete_reserve_in_inconsistency + = &TAH_PG_delete_reserve_in_inconsistency; plugin->insert_reserve_balance_summary_wrong_inconsistency = &TAH_PG_insert_reserve_balance_summary_wrong_inconsistency; diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h @@ -1546,6 +1546,13 @@ struct TALER_AUDITORDB_Plugin void *cb_cls); + /** + * Delete information about an reserve-in-inconsistency from the database. + * + * @param cls the @e cls of this struct with the plugin-specific state + * @param row_id row of the inconsistency in our table + * @return query result status + */ enum GNUNET_DB_QueryStatus (*delete_reserve_in_inconsistency)( void *cls, @@ -1558,6 +1565,14 @@ struct TALER_AUDITORDB_Plugin const struct TALER_AUDITORDB_ReserveInInconsistency *dc); + /** + * Return any reserve incoming inconsistency associated with the + * given @a bank_row_id. + * + * @param cls closure + * @param bank_row_id row to select by + * @param[out] dc details to return + */ enum GNUNET_DB_QueryStatus (*select_reserve_in_inconsistency)( void *cls, diff --git a/src/kyclogic/kyclogic-kycaid.conf b/src/kyclogic/kyclogic-kycaid.conf @@ -4,10 +4,7 @@ [kyc-provider-example-kycaid] -COST = 42 LOGIC = kycaid -USER_TYPE = INDIVIDUAL -PROVIDED_CHECKS = EXAMPLE_DO_NOT_USE # How long is the KYC check valid? KYC_KYCAID_VALIDITY = forever diff --git a/src/kyclogic/kyclogic-persona.conf b/src/kyclogic/kyclogic-persona.conf @@ -15,13 +15,10 @@ [kyc-provider-example-persona] -COST = 42 LOGIC = persona -USER_TYPE = INDIVIDUAL -PROVIDED_CHECKS = EXAMPLE_DO_NOT_USE # Generic converter that does nothing. -CONVERTER = cat +KYC_PERSONA_CONVERTER_HELPER = cat # Program that converts Persona KYC data into the # GNU Taler format.