summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-13 22:27:49 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-13 22:27:57 +0100
commit5f6d867469bd5ae89be12dabd05e7457ba736c22 (patch)
treea8736bc12a7d2b7aed417bc5a45a415b7cdc16f8 /src/include
parent7ce48d622e46b2bc4573c46a5240f81814fd040e (diff)
downloadexchange-5f6d867469bd5ae89be12dabd05e7457ba736c22.tar.gz
exchange-5f6d867469bd5ae89be12dabd05e7457ba736c22.tar.bz2
exchange-5f6d867469bd5ae89be12dabd05e7457ba736c22.zip
add request UID repetition detection to fakebank
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_fakebank_lib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/taler_fakebank_lib.h b/src/include/taler_fakebank_lib.h
index 25e04187c..017ffd454 100644
--- a/src/include/taler_fakebank_lib.h
+++ b/src/include/taler_fakebank_lib.h
@@ -70,6 +70,7 @@ TALER_FAKEBANK_check_empty (struct TALER_FAKEBANK_Handle *h);
* @param amount amount to transfer
* @param subject wire transfer subject to use
* @param exchange_base_url exchange URL
+ * @param request_uid unique number to make the request unique, or NULL to create one
* @return serial_id of the transfer
*/
uint64_t
@@ -79,7 +80,8 @@ TALER_FAKEBANK_make_transfer (struct TALER_FAKEBANK_Handle *h,
const struct TALER_Amount *amount,
const struct
TALER_WireTransferIdentifierRawP *subject,
- const char *exchange_base_url);
+ const char *exchange_base_url,
+ const struct GNUNET_HashCode *request_uid);
/**