aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorJoseph <Joseph.xu@efrei.net>2022-11-25 06:09:20 -0500
committerJoseph <Joseph.xu@efrei.net>2022-12-06 08:09:45 -0500
commit6e3d1bdc91254a5bd57d58e5280e20813211157b (patch)
tree6b9a7cb73af409a57130f216acfea18199a329e5 /src/include/taler_exchangedb_plugin.h
parentb6476ac881cfd3bde41c88b94f6a7538acf76f9c (diff)
downloadexchange-6e3d1bdc91254a5bd57d58e5280e20813211157b.tar.xz
some modifications for batch test
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h15
1 files changed, 15 insertions, 0 deletions
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.