aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-07-26 15:31:18 +0200
committerChristian Grothoff <christian@grothoff.org>2024-07-29 12:18:48 +0200
commit97df3b30de69df738c8904d5c9917de77241d590 (patch)
tree31f5d6c6feab824863d209061c1207a7843ff4f2 /src/exchangedb/plugin_exchangedb_postgres.c
parent012973ca977179e2d4f801aa06c77ca9052c5990 (diff)
fixes to error handling, logging, and aml/kyc history returning feature
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r--src/exchangedb/plugin_exchangedb_postgres.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c
index 3587ed2e0..8b49a8021 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -94,6 +94,8 @@
#include "pg_select_contract_by_purse.h"
#include "pg_insert_drain_profit.h"
#include "pg_do_reserve_purse.h"
+#include "pg_lookup_aml_history.h"
+#include "pg_lookup_kyc_history.h"
#include "pg_lookup_global_fee_by_time.h"
#include "pg_do_purse_deposit.h"
#include "pg_activate_signing_key.h"
@@ -686,6 +688,10 @@ libtaler_plugin_exchangedb_postgres_init (void *cls)
= &TEH_PG_gc;
plugin->select_coin_deposits_above_serial_id
= &TEH_PG_select_coin_deposits_above_serial_id;
+ plugin->lookup_aml_history
+ = &TEH_PG_lookup_aml_history;
+ plugin->lookup_kyc_history
+ = &TEH_PG_lookup_kyc_history;
plugin->select_purse_decisions_above_serial_id
= &TEH_PG_select_purse_decisions_above_serial_id;
plugin->select_purse_deposits_by_purse