aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-19 14:19:17 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-19 14:19:17 +0200
commitddca1f5c68e112928d715e1aee2758c40e14fb51 (patch)
tree3ef98e9d16c7c381f42179ba28571823012d7f4f /src/include
parent7663baf2e25d47fd1b796b17b2b95ccb8436b483 (diff)
add logic to allow fakebank transfers to be retried
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 0db27d0e6..83523dfc4 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -620,6 +620,7 @@ TALER_TESTING_cmd_fakebank_transfer_with_ref
const char *ref,
const char *exchange_url);
+
/**
* Create "fakebank transfer" CMD, letting the caller specifying
* the merchant instance. This version is useful when a tip
@@ -664,6 +665,19 @@ TALER_TESTING_cmd_fakebank_transfer_with_instance
const char *exchange_url,
const char *config_filename);
+
+/**
+ * Modify a fakebank transfer command to enable retries when the
+ * reserve is not yet full or we get other transient errors from the
+ * fakebank.
+ *
+ * @param cmd a fakebank transfer command
+ * @return the command with retries enabled
+ */
+struct TALER_TESTING_Command
+TALER_TESTING_cmd_fakebank_transfer_retry (struct TALER_TESTING_Command cmd);
+
+
/**
* Make a "wirewatch" CMD.
*