|author||Christian Grothoff <firstname.lastname@example.org>||2016-10-09 00:57:31 +0200|
|committer||Christian Grothoff <email@example.com>||2016-10-09 00:57:31 +0200|
expanding exchange DB API to meet auditor requirements (not implemented, just adding the function signatures)
Diffstat (limited to 'src/auditordb')
1 files changed, 4 insertions, 3 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c
index e392664b..57c26aa3 100644
@@ -265,11 +265,11 @@ postgres_create_tables (void *cls)
/* Table indicating up to which transactions the auditor has
processed the exchange database. Used for SELECTing the
statements to process. We basically trace the exchange's
- operations by the 5 primary tables: reserves_in,
- reserves_out, deposits, refresh_sessions and refunds. The
+ operations by the 6 primary tables: reserves_in,
+ reserves_out, deposits, refresh_sessions, refunds and prewire. The
other tables of the exchange DB just provide supporting
evidence which is checked alongside the audit of these
- five tables. The 5 indices below include the last serial
+ five tables. The 6 indices below include the last serial
ID from the respective tables that we have processed. Thus,
we need to select those table entries that are strictly
larger (and process in monotonically increasing order). */
@@ -280,6 +280,7 @@ postgres_create_tables (void *cls)
",last_deposit_serial_id INT8 NOT NULL"
",last_melt_serial_id INT8 NOT NULL"
",last_refund_serial_id INT8 NOT NULL"
+ ",last_prewire_serial_id INT8 NOT NULL"
/* Table with all of the customer reserves and their respective