diff options
author | Joseph <Joseph.xu@efrei.net> | 2022-11-25 06:09:20 -0500 |
---|---|---|
committer | Joseph <Joseph.xu@efrei.net> | 2022-12-06 08:09:45 -0500 |
commit | 6e3d1bdc91254a5bd57d58e5280e20813211157b (patch) | |
tree | 6b9a7cb73af409a57130f216acfea18199a329e5 /src/include/taler_exchangedb_plugin.h | |
parent | b6476ac881cfd3bde41c88b94f6a7538acf76f9c (diff) |
some modifications for batch test
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 15 |
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. |