diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-15 19:01:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-15 19:01:17 +0200 |
commit | 3b90e437e26013f5570d6c216b832c7bcd740712 (patch) | |
tree | 13ab0dddb4e13c49b86b4526208f05dddfa10e95 /src/include/anastasis_database_plugin.h | |
parent | 622eba29d8675ce12640cf513350891246fd90c8 (diff) | |
download | anastasis-3b90e437e26013f5570d6c216b832c7bcd740712.tar.gz anastasis-3b90e437e26013f5570d6c216b832c7bcd740712.tar.bz2 anastasis-3b90e437e26013f5570d6c216b832c7bcd740712.zip |
add logic to resume wire transfer checks from last checkpoint
Diffstat (limited to 'src/include/anastasis_database_plugin.h')
-rw-r--r-- | src/include/anastasis_database_plugin.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 @@ -779,6 +779,25 @@ struct ANASTASIS_DatabasePlugin /** + * 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. * * @return transaction status |