aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-03-03 19:39:19 +0100
committerChristian Grothoff <christian@grothoff.org>2022-03-03 19:39:25 +0100
commitf951cdef8ced141326887c1a996e8546774514f6 (patch)
tree6de32e119c3b074e81229cb9c7f4c7252a61bb31 /src/include
parent4c53d42e44cbab55194b2f0fb71ffc3cb082b56a (diff)
include shard when marking deposits tiny/done to make better use of partitions/shards
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_plugin.h4
1 files changed, 4 insertions, 0 deletions
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);