diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-19 01:55:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-19 01:55:37 +0100 |
commit | 9b4d0634e15fd026a887b4e425abc2a75ddeff04 (patch) | |
tree | 6b10c3dc06b3e3bf2d1bf87678a2ccd2adbba49d /src/exchangedb/test_exchangedb.c | |
parent | c75ac3b61295e380f8ea59a75d26426fefe2e4f9 (diff) | |
download | exchange-9b4d0634e15fd026a887b4e425abc2a75ddeff04.tar.xz |
simplify analysis by returning denom_pub with rest of coin transaction data instead of bothering fetching with coin history
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index d645abeae..c7f97998d 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -481,6 +481,7 @@ static unsigned int auditor_row_cnt; * * @param cls closure * @param rowid unique serial ID for the refresh session in our DB + * @param denom_pub denomination of the @a coin_pub * @param coin_pub public key of the coin * @param coin_sig signature from the coin * @param amount_with_fee amount that was deposited including fee @@ -492,6 +493,7 @@ static unsigned int auditor_row_cnt; static int audit_refresh_session_cb (void *cls, uint64_t rowid, + const struct TALER_DenominationPublicKey *denom_pub, const struct TALER_CoinSpendPublicKeyP *coin_pub, const struct TALER_CoinSpendSignatureP *coin_sig, const struct TALER_Amount *amount_with_fee, @@ -927,6 +929,7 @@ deposit_cb (void *cls, * @param rowid unique serial ID for the deposit in our DB * @param timestamp when did the deposit happen * @param merchant_pub public key of the merchant + * @param denom_pub denomination of the @a coin_pub * @param coin_pub public key of the coin * @param coin_sig signature from the coin * @param amount_with_fee amount that was deposited including fee @@ -944,6 +947,7 @@ audit_deposit_cb (void *cls, uint64_t rowid, struct GNUNET_TIME_Absolute timestamp, const struct TALER_MerchantPublicKeyP *merchant_pub, + const struct TALER_DenominationPublicKey *denom_pub, const struct TALER_CoinSpendPublicKeyP *coin_pub, const struct TALER_CoinSpendSignatureP *coin_sig, const struct TALER_Amount *amount_with_fee, @@ -964,6 +968,7 @@ audit_deposit_cb (void *cls, * * @param cls closure * @param rowid unique serial ID for the refund in our DB + * @param denom_pub denomination of the @a coin_pub * @param coin_pub public key of the coin * @param merchant_pub public key of the merchant * @param merchant_sig signature of the merchant @@ -976,6 +981,7 @@ audit_deposit_cb (void *cls, static int audit_refund_cb (void *cls, uint64_t rowid, + const struct TALER_DenominationPublicKey *denom_pub, const struct TALER_CoinSpendPublicKeyP *coin_pub, const struct TALER_MerchantPublicKeyP *merchant_pub, const struct TALER_MerchantSignatureP *merchant_sig, |