diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 07:22:39 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-07-01 07:22:39 +0200 |
commit | 9e3fb2302d72a285067ccc39038481afcab97dc2 (patch) | |
tree | 709d884502b5c8499772b93b2c8eeade160885f3 /src/include/taler_testing_lib.h | |
parent | 085e40bc562343221bceb6fc4dc9aba8e32a27e3 (diff) | |
parent | 21551bb4c3c887fdcfb3d814c8ab4d1a4ec82945 (diff) | |
download | exchange-9e3fb2302d72a285067ccc39038481afcab97dc2.tar.xz |
-gana merge
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index f18816d67..6d3762b18 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1615,6 +1615,32 @@ TALER_TESTING_cmd_deposit_replay (const char *label, /** + * Create a "batch deposit" command. + * + * @param label command label. + * @param target_account_payto target account for the "deposit" + * request. + * @param contract_terms contract terms to be signed over by the + * coin. + * @param refund_deadline refund deadline, zero means 'no refunds'. + * @param amount how much is going to be deposited. + * @param expected_response_code expected HTTP response code. + * @param ... NULL-terminated list with an even number of + * strings that alternate referring to coins + * (possibly with index using label#index notation) + * and the amount of that coin to deposit + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_batch_deposit (const char *label, + const char *target_account_payto, + const char *contract_terms, + struct GNUNET_TIME_Relative refund_deadline, + unsigned int expected_response_code, + ...); + + +/** * Create a "refresh melt" command. * * @param label command label. |