summaryrefslogtreecommitdiff
path: root/src/auditor/taler-helper-auditor-coins.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-03-25 19:36:12 +0100
committerChristian Grothoff <christian@grothoff.org>2024-03-25 19:36:12 +0100
commitdd8c3e71a61dad9a609117eb98ed12993feda9a7 (patch)
tree0df9d01266b6e3109d0f54b5c0662113a155d9b3 /src/auditor/taler-helper-auditor-coins.c
parent4013b2900fb07a22113540c9ff385b7f0e5c0c7e (diff)
downloadexchange-dd8c3e71a61dad9a609117eb98ed12993feda9a7.tar.gz
exchange-dd8c3e71a61dad9a609117eb98ed12993feda9a7.tar.bz2
exchange-dd8c3e71a61dad9a609117eb98ed12993feda9a7.zip
remove -m option, add -t option to all auditor helpers
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r--src/auditor/taler-helper-auditor-coins.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index ca0353ad7..f88f39eaf 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -45,6 +45,14 @@
static int global_ret;
/**
+ * Run in test mode. Exit when idle instead of
+ * going to sleep and waiting for more work.
+ *
+ * FIXME: not yet implemented!
+ */
+static int test_mode;
+
+/**
* Checkpointing our progress for coins.
*/
static TALER_ARL_DEF_PP (coins_withdraw_serial_id);
@@ -2929,11 +2937,10 @@ main (int argc,
"internal",
"perform checks only applicable for exchange-internal audits",
&internal_checks),
- GNUNET_GETOPT_option_base32_auto ('m',
- "exchange-key",
- "KEY",
- "public key of the exchange (Crockford base32 encoded)",
- &TALER_ARL_master_pub),
+ GNUNET_GETOPT_option_flag ('t',
+ "test",
+ "run in test mode and exit when idle",
+ &test_mode),
GNUNET_GETOPT_option_timetravel ('T',
"timetravel"),
GNUNET_GETOPT_OPTION_END