diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-09-05 15:25:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-09-05 15:25:57 +0200 |
commit | ae8d481e1ce9f694a42619809d2c9b6e6acf3497 (patch) | |
tree | 1b0554139c53f7dde177d5cd74a9b3800b3adb33 /src/include | |
parent | adc6c53b5c7e08ff6eba180f872a8a8f8f94cd65 (diff) | |
download | exchange-ae8d481e1ce9f694a42619809d2c9b6e6acf3497.tar.xz |
implement taler-exchange-transfer DB sharding logic
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 163b886cc..4037ebac0 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2964,15 +2964,19 @@ struct TALER_EXCHANGEDB_Plugin /** * Function called to get an unfinished wire transfer - * preparation data. Fetches at most one item. + * preparation data. * * @param cls closure - * @param cb function to call for ONE unfinished item + * @param start_row offset to query table at + * @param limit maximum number of results to return + * @param cb function to call for unfinished work * @param cb_cls closure for @a cb * @return transaction status code */ enum GNUNET_DB_QueryStatus (*wire_prepare_data_get)(void *cls, + uint64_t start_row, + uint64_t limit, TALER_EXCHANGEDB_WirePreparationIterator cb, void *cb_cls); |