diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-18 22:38:31 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-18 22:38:31 +0100 |
commit | 0f5ce284c4601f1819a9d2a91c120acdaa72fe15 (patch) | |
tree | 1fb75c3a0a97cf193f87bbf5ae915277fe8ef8ca /src/include | |
parent | 69ac028a13497d9fa0b7ebf5e3c7992a492aab13 (diff) |
deal with some minor FIXMEs in auditor
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_auditordb_plugin.h | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h index 54e6c5203..a947012df 100644 --- a/src/include/taler_auditordb_plugin.h +++ b/src/include/taler_auditordb_plugin.h @@ -146,11 +146,7 @@ struct TALER_AUDITORDB_ProgressPoint /** * last_prewire_serial_id serial ID of the last prewire transfer the auditor processed */ - uint64_t last_prewire_serial_id; - - // FIXME: the above does not quite work, as independent transactions - // touch certain tables (i.e. reserves_out), so we need some of - // these counters more than once! + uint64_t last_wire_out_serial_id; }; @@ -358,10 +354,6 @@ struct TALER_AUDITORDB_Plugin * @param withdraw_fee_balance amount the exchange gained in withdraw fees * due to withdrawals from this reserve * @param expiration_date expiration date of the reserve - * @param last_reserve_in_serial_id up to which point did we consider - * incoming transfers for the above information - * @param last_reserve_out_serial_id up to which point did we consider - * withdrawals for the above information * @return #GNUNET_OK on success; #GNUNET_SYSERR on failure */ int @@ -371,9 +363,7 @@ struct TALER_AUDITORDB_Plugin const struct TALER_MasterPublicKeyP *master_pub, const struct TALER_Amount *reserve_balance, const struct TALER_Amount *withdraw_fee_balance, - struct GNUNET_TIME_Absolute expiration_date, - uint64_t last_reserve_in_serial_id, - uint64_t last_reserve_out_serial_id); + struct GNUNET_TIME_Absolute expiration_date); /** @@ -388,10 +378,6 @@ struct TALER_AUDITORDB_Plugin * @param withdraw_fee_balance amount the exchange gained in withdraw fees * due to withdrawals from this reserve * @param expiration_date expiration date of the reserve - * @param last_reserve_in_serial_id up to which point did we consider - * incoming transfers for the above information - * @param last_reserve_out_serial_id up to which point did we consider - * withdrawals for the above information * @return #GNUNET_OK on success; #GNUNET_SYSERR on failure */ int @@ -401,9 +387,7 @@ struct TALER_AUDITORDB_Plugin const struct TALER_MasterPublicKeyP *master_pub, const struct TALER_Amount *reserve_balance, const struct TALER_Amount *withdraw_fee_balance, - struct GNUNET_TIME_Absolute expiration_date, - uint64_t last_reserve_in_serial_id, - uint64_t last_reserve_out_serial_id); + struct GNUNET_TIME_Absolute expiration_date); /** @@ -418,10 +402,6 @@ struct TALER_AUDITORDB_Plugin * @param[out] withdraw_fee_balance amount the exchange gained in withdraw fees * due to withdrawals from this reserve * @param[out] expiration_date expiration date of the reserve - * @param[out] last_reserve_in_serial_id up to which point did we consider - * incoming transfers for the above information - * @param[out] last_reserve_out_serial_id up to which point did we consider - * withdrawals for the above information * @return #GNUNET_OK on success; #GNUNET_NO if there is no known * record about this reserve; #GNUNET_SYSERR on failure */ @@ -433,9 +413,7 @@ struct TALER_AUDITORDB_Plugin uint64_t *rowid, struct TALER_Amount *reserve_balance, struct TALER_Amount *withdraw_fee_balance, - struct GNUNET_TIME_Absolute *expiration_date, - uint64_t *last_reserve_in_serial_id, - uint64_t *last_reserve_out_serial_id); + struct GNUNET_TIME_Absolute *expiration_date); /** |