summaryrefslogtreecommitdiff
path: root/src/auditordb/pg_insert_wire_auditor_progress.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-09-14 17:37:53 +0200
committerChristian Grothoff <christian@grothoff.org>2023-09-14 17:37:53 +0200
commit6e5092d83473dc1b0200d82744cf0f0056b0c110 (patch)
tree3a402d87e500fd4e85efb2ec19dfae6d942d9265 /src/auditordb/pg_insert_wire_auditor_progress.c
parent1d088120a5c378ec5fe2d9cfd86353f9b75220c4 (diff)
downloadexchange-6e5092d83473dc1b0200d82744cf0f0056b0c110.tar.gz
exchange-6e5092d83473dc1b0200d82744cf0f0056b0c110.tar.bz2
exchange-6e5092d83473dc1b0200d82744cf0f0056b0c110.zip
more work towards auditor support for AML/KYC
Diffstat (limited to 'src/auditordb/pg_insert_wire_auditor_progress.c')
-rw-r--r--src/auditordb/pg_insert_wire_auditor_progress.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/auditordb/pg_insert_wire_auditor_progress.c b/src/auditordb/pg_insert_wire_auditor_progress.c
index 7853d3ff6..c9e302773 100644
--- a/src/auditordb/pg_insert_wire_auditor_progress.c
+++ b/src/auditordb/pg_insert_wire_auditor_progress.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2022 Taler Systems SA
+ Copyright (C) 2022-2023 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
@@ -35,8 +35,9 @@ TAH_PG_insert_wire_auditor_progress (
struct PostgresClosure *pg = cls;
struct GNUNET_PQ_QueryParam params[] = {
GNUNET_PQ_query_param_auto_from_type (master_pub),
- GNUNET_PQ_query_param_timestamp (&pp->last_timestamp),
GNUNET_PQ_query_param_uint64 (&pp->last_reserve_close_uuid),
+ GNUNET_PQ_query_param_uint64 (&pp->last_batch_deposit_uuid),
+ GNUNET_PQ_query_param_uint64 (&pp->last_aggregation_serial),
GNUNET_PQ_query_param_end
};
@@ -44,9 +45,10 @@ TAH_PG_insert_wire_auditor_progress (
"wire_auditor_progress_insert",
"INSERT INTO wire_auditor_progress "
"(master_pub"
- ",last_timestamp"
",last_reserve_close_uuid"
- ") VALUES ($1,$2,$3);");
+ ",last_batch_deposit_uuid"
+ ",last_aggregation_serial"
+ ") VALUES ($1,$2,$3,$4);");
return GNUNET_PQ_eval_prepared_non_select (pg->conn,
"wire_auditor_progress_insert",
params);