From 3b90e437e26013f5570d6c216b832c7bcd740712 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 15 Aug 2021 19:01:17 +0200 Subject: add logic to resume wire transfer checks from last checkpoint --- src/include/anastasis_database_plugin.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/include/anastasis_database_plugin.h') diff --git a/src/include/anastasis_database_plugin.h b/src/include/anastasis_database_plugin.h index ae414dc..7ad47ca 100644 --- a/src/include/anastasis_database_plugin.h +++ b/src/include/anastasis_database_plugin.h @@ -778,6 +778,25 @@ struct ANASTASIS_DatabasePlugin void *cb_cls); + /** + * Function to check the last known IBAN payment. + * + * @param cls closure + * @param credit_account which credit account to check + * @param[out] last_row set to the last known row + * @return transaction status, + * #GNUNET_DB_STATUS_SUCCESS_ONE_RESULT if @a cb + * returned 'true' once + * #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if no + * wire transfers existed for which @a cb returned true + */ + enum GNUNET_DB_QueryStatus + (*get_last_auth_iban_payment_row)( + void *cls, + const char *credit_account, + uint64_t *last_row); + + /** * Function called to remove all expired codes from the database. * -- cgit v1.2.3