From f951cdef8ced141326887c1a996e8546774514f6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 3 Mar 2022 19:39:19 +0100 Subject: include shard when marking deposits tiny/done to make better use of partitions/shards --- src/include/taler_exchangedb_plugin.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 9841d45dc..35bf673b4 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2979,11 +2979,13 @@ struct TALER_EXCHANGEDB_Plugin * returned by @e iterate_ready_deposits() * * @param cls the @e cls of this struct with the plugin-specific state + * @param merchant_pub identifies the beneficiary of the deposit * @param deposit_rowid identifies the deposit row to modify * @return query result status */ enum GNUNET_DB_QueryStatus (*mark_deposit_tiny)(void *cls, + const struct TALER_MerchantPublicKeyP *merchant_pub, uint64_t rowid); @@ -2993,11 +2995,13 @@ struct TALER_EXCHANGEDB_Plugin * @e iterate_ready_deposits() or @e iterate_matching_deposits(). * * @param cls the @e cls of this struct with the plugin-specific state + * @param merchant_pub identifies the beneficiary of the deposit * @param deposit_rowid identifies the deposit row to modify * @return query result status */ enum GNUNET_DB_QueryStatus (*mark_deposit_done)(void *cls, + const struct TALER_MerchantPublicKeyP *merchant_pub, uint64_t rowid); -- cgit v1.2.3