summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-16 19:23:29 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-16 19:23:29 +0100
commit6f6c71a8d39e5f1f4d69ec06ad20f832617783d6 (patch)
tree0d6d99bfc2d65d632da771e968bc422754f156ba /src/include/taler_testing_lib.h
parente0497239e90df63eaee085a45488e9ff3ee799bc (diff)
downloadexchange-6f6c71a8d39e5f1f4d69ec06ad20f832617783d6.tar.gz
exchange-6f6c71a8d39e5f1f4d69ec06ad20f832617783d6.tar.bz2
exchange-6f6c71a8d39e5f1f4d69ec06ad20f832617783d6.zip
load fees from DB instead of from config, also in wire tools
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h36
1 files changed, 10 insertions, 26 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 1722a833..0900fac9 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -206,15 +206,19 @@ TALER_TESTING_cleanup_files_cfg (void *cls,
/**
- * Run `taler-exchange-keyup`.
+ * Run `taler-exchange-offline`.
*
* @param config_filename configuration file to use
- * @param output_filename where to write the output for the auditor
+ * @param payto_uri bank account to enable, can be NULL
+ * @param auditor_pub public key of auditor to enable, can be NULL
+ * @param auditor_url URL of auditor to enable, can be NULL
* @return #GNUNET_OK on success
*/
int
-TALER_TESTING_run_keyup (const char *config_filename,
- const char *output_filename);
+TALER_TESTING_run_exchange_offline (const char *config_filename,
+ const char *payto_uri,
+ const char *auditor_pub,
+ const char *auditor_url);
/**
@@ -238,21 +242,13 @@ TALER_TESTING_exchange_db_reset (const char *config_filename);
/**
- * Run `taler-auditor-sign`.
+ * Run `taler-auditor-offline` tool.
*
* @param config_filename configuration file to use
- * @param exchange_master_pub master public key of the exchange
- * @param auditor_base_url what is the base URL of the auditor
- * @param signdata_in where is the information from taler-exchange-keyup
- * @param signdata_out where to write the output for the exchange
* @return #GNUNET_OK on success
*/
int
-TALER_TESTING_run_auditor_sign (const char *config_filename,
- const char *exchange_master_pub,
- const char *auditor_base_url,
- const char *signdata_in,
- const char *signdata_out);
+TALER_TESTING_run_auditor_offline (const char *config_filename);
/**
@@ -1221,18 +1217,6 @@ TALER_TESTING_cmd_exec_transfer (const char *label,
/**
- * Make a "auditor sign" CMD.
- *
- * @param label command label
- * @param config_filename configuration filename
- * @return the command.
- */
-struct TALER_TESTING_Command
-TALER_TESTING_cmd_exec_auditor_sign (const char *label,
- const char *config_filename);
-
-
-/**
* Create a withdraw command, letting the caller specify
* the desired amount as string.
*