From 19d9369ff6df2e4bfd896cce5fcb2ae679402bc0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 15 Jan 2020 15:44:24 +0100 Subject: add another interpreter command to check incoming wire transfers --- src/include/taler_testing_lib.h | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'src/include/taler_testing_lib.h') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 9f638bd6..554106cd 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1352,8 +1352,8 @@ TALER_TESTING_cmd_track_transfer (const char *label, const char *expected_wire_fee); /** - * Make a "bank check" CMD. It checks whether a - * particular wire transfer has been made or not. + * Make a "bank check" CMD. It checks whether a particular wire transfer from + * the exchange (debit) has been made or not. * * @param label the command label. * @param exchange_base_url base url of the exchange involved in @@ -1371,6 +1371,25 @@ TALER_TESTING_cmd_check_bank_transfer (const char *label, const char *credit_payto); +/** + * Make a "bank check" CMD. It checks whether a particular wire transfer to + * the exchange (credit) has been made or not. + * + * @param label the command label. + * @param amount the amount expected to be transferred. + * @param debit_payto the account that gave money. + * @param credit_payto the account that received money. + * @param reserve_pub_ref command that provides the reserve public key to expect + * @return the command + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_check_bank_admin_transfer (const char *label, + const char *amount, + const char *debit_payto, + const char *credit_payto, + const char *reserve_pub_ref); + + /** * Define a "bank check" CMD that takes the input * data from another CMD that offers it. -- cgit v1.2.3