diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-19 14:04:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-19 14:04:41 +0200 |
commit | bad572a01072609e96df2d9e1b2e933654fb183b (patch) | |
tree | 8bc8e7964e4713435ec7ee39b313b421859bf471 /src/auditor/taler-helper-auditor-coins.c | |
parent | 8da74a6ca7f0fa30a4f23be2adccbdf33799cbb9 (diff) | |
download | exchange-bad572a01072609e96df2d9e1b2e933654fb183b.tar.xz |
-add missing checkpointing logic
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-coins.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c index e33364844..8021b3982 100644 --- a/src/auditor/taler-helper-auditor-coins.c +++ b/src/auditor/taler-helper-auditor-coins.c @@ -2350,6 +2350,11 @@ check_denomination ( * @param cls closure * @param rowid unique serial ID for the deposit in our DB * @param deposit deposit details + * @param reserve_pub which reserve is the purse merged into, NULL if unknown + * @param flags purse flags + * @param auditor_balance purse balance (according to the + * auditor during auditing) + * @param purse_total target amount the purse should reach * @param denom_pub denomination public key of @a coin_pub * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop */ @@ -2358,6 +2363,10 @@ purse_deposit_cb ( void *cls, uint64_t rowid, const struct TALER_EXCHANGEDB_PurseDeposit *deposit, + const struct TALER_ReservePublicKeyP *reserve_pub, + enum TALER_WalletAccountMergeFlags flags, + const struct TALER_Amount *auditor_balance, + const struct TALER_Amount *purse_total, const struct TALER_DenominationPublicKey *denom_pub) { struct CoinContext *cc = cls; @@ -2366,6 +2375,10 @@ purse_deposit_cb ( const struct TALER_EXCHANGEDB_DenominationKeyInformation *issue; struct DenominationSummary *ds; + (void) flags; + (void) auditor_balance; + (void) purse_total; + (void) reserve_pub; GNUNET_assert (rowid >= ppc.last_purse_deposits_serial_id); ppc.last_purse_deposits_serial_id = rowid + 1; qs = TALER_ARL_get_denomination_info (denom_pub, |