diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-10 12:39:47 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-10 12:39:47 +0200 |
commit | 866df0fb66fb4a7c472c54e2a1ea1981334612c3 (patch) | |
tree | 7135f6f527930596249b07e86a20737f934c3315 /src/include | |
parent | 04055de75a7ea909c5c04af096e50a93d6bca727 (diff) | |
download | exchange-866df0fb66fb4a7c472c54e2a1ea1981334612c3.tar.xz |
add retry support to withdraw test logic
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 708d73405..71bc8cdca 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -737,6 +737,18 @@ TALER_TESTING_cmd_withdraw_denomination /** + * Modify a withdraw command to enable retries when the + * reserve is not yet full or we get other transient + * errors from the exchange. + * + * @param cmd a withdraw command + * @return the command with retries enabled + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_withdraw_with_retry (struct TALER_TESTING_Command cmd); + + +/** * Create a "wire" command. * * @param label the command label. |