summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-02-21 12:23:45 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-02-21 12:23:45 +0100
commit377f35fd7da097372ca494b8b30569b73336cdf2 (patch)
tree99435674f5e02b0b2307e9ef0f3f003efd7ff6d5 /src/include
parentb09bd97c3b5cfa2356d05c6a5d2b7d2cf08fa76f (diff)
downloadexchange-377f35fd7da097372ca494b8b30569b73336cdf2.tar.gz
exchange-377f35fd7da097372ca494b8b30569b73336cdf2.tar.bz2
exchange-377f35fd7da097372ca494b8b30569b73336cdf2.zip
adding command to wire transfer to exchange by
reading a merchant instance's (reserve tip) private key in order to construct the subject.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 2a03b0cad..4416247c6 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -433,6 +433,22 @@ TALER_TESTING_cmd_fakebank_transfer_with_ref
const char *ref,
const char *exchange_url);
+/**
+ * Create fakebank_transfer command with custom subject.
+ *
+ */
+struct TALER_TESTING_Command
+TALER_TESTING_cmd_fakebank_transfer_with_instance
+ (const char *label,
+ const char *amount,
+ const char *bank_url,
+ uint64_t debit_account_no,
+ uint64_t credit_account_no,
+ const char *auth_username,
+ const char *auth_password,
+ const char *instance,
+ const char *exchange_url,
+ const char *config_filename);
/**
* Execute taler-exchange-wirewatch process.