From 6e3d1bdc91254a5bd57d58e5280e20813211157b Mon Sep 17 00:00:00 2001 From: Joseph Date: Fri, 25 Nov 2022 06:09:20 -0500 Subject: some modifications for batch test --- src/include/taler_exchangedb_plugin.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index a2e3237f9..6951908ef 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -3453,6 +3453,21 @@ struct TALER_EXCHANGEDB_Plugin unsigned int reserves_length, enum GNUNET_DB_QueryStatus *results); + /** + * Insert a batch of incoming transaction into reserves. New reserves are + * also created through this function. + * + * @param cls the @e cls of this struct with the plugin-specific state + * @param reserves + * @param reserves_length length of the @a reserves array + * @param[out] results array of transaction status codes of length @a reserves_length, + * set to the status of the + */ + enum GNUNET_DB_QueryStatus + (*batch2_reserves_in_insert)(void *cls, + const struct TALER_EXCHANGEDB_ReserveInInfo *reserves, + unsigned int reserves_length, + enum GNUNET_DB_QueryStatus *results); /** * Locate a nonce for use with a particular public key. -- cgit v1.2.3