summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-23 20:02:28 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-23 20:02:28 +0200
commitb7a4fd401e0a90e309b1be66714b2a0c932f2813 (patch)
tree55240c4ddfe1693b3bdc03d0bbd2ff47a1ba1a25 /src/include/taler_testing_lib.h
parenta1825d38b355eb5b36d956eb470a68f071d25a6a (diff)
downloadexchange-b7a4fd401e0a90e309b1be66714b2a0c932f2813.tar.gz
exchange-b7a4fd401e0a90e309b1be66714b2a0c932f2813.tar.bz2
exchange-b7a4fd401e0a90e309b1be66714b2a0c932f2813.zip
add subcommand to sign global fees in tests
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 3d7ba3728..a1fa8c16f 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -2245,7 +2245,7 @@ TALER_TESTING_cmd_exec_offline_sign_keys (const char *label,
/**
- * Sign a wire fee.
+ * Sign a wire fee structure.
*
* @param label command label.
* @param config_filename configuration filename.
@@ -2263,6 +2263,35 @@ TALER_TESTING_cmd_exec_offline_sign_fees (const char *label,
/**
+ * Sign global fee structure.
+ *
+ * @param label command label.
+ * @param config_filename configuration filename.
+ * @param history_fee the history fee to charge (for the current year)
+ * @param kyc_fee the KYC fee to charge (for the current year)
+ * @param account_fee the account fee to charge (for the current year)
+ * @param purse_fee the purse fee to charge (for the current year)
+ * @param purse_timeout when do purses time out
+ * @param kyc_timeout when does the KYC time out
+ * @param history_expiration when does an account history expire
+ * @param num_purses number of (free) active purses per account
+ * @return the command
+ */
+struct TALER_TESTING_Command
+TALER_TESTING_cmd_exec_offline_sign_global_fees (
+ const char *label,
+ const char *config_filename,
+ const char *history_fee,
+ const char *kyc_fee,
+ const char *account_fee,
+ const char *purse_fee,
+ struct GNUNET_TIME_Relative purse_timeout,
+ struct GNUNET_TIME_Relative kyc_timeout,
+ struct GNUNET_TIME_Relative history_expiration,
+ unsigned int num_purses);
+
+
+/**
* Revoke an exchange denomination key.
*
* @param label command label.