diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-08 14:20:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-08 14:20:33 +0100 |
commit | f9cc76ad3c4d7a8c720e971a1a9cba1bb79fa974 (patch) | |
tree | 6746712e8b0d716410d14252c7fbb3d245c6e36a /src/include | |
parent | 329b7692ea4b09d9fb1399ad38af87b6e7486f38 (diff) | |
parent | db34b05a772504cce4fd13c6fafec28cd0d75907 (diff) |
Merge branch 'master' of git+ssh://git.taler.net/exchange
Diffstat (limited to 'src/include')
-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. |