gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: remove -m option, add -t option


From: gnunet
Subject: [taler-exchange] branch master updated: remove -m option, add -t option to all auditor helpers
Date: Mon, 25 Mar 2024 19:36:15 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new dd8c3e71 remove -m option, add -t option to all auditor helpers
dd8c3e71 is described below

commit dd8c3e71a61dad9a609117eb98ed12993feda9a7
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Mar 25 19:36:12 2024 +0100

    remove -m option, add -t option to all auditor helpers
---
 src/auditor/taler-helper-auditor-aggregation.c | 17 ++++++++++++-----
 src/auditor/taler-helper-auditor-coins.c       | 17 ++++++++++++-----
 src/auditor/taler-helper-auditor-deposits.c    |  5 -----
 src/auditor/taler-helper-auditor-purses.c      | 17 ++++++++++++-----
 src/auditor/taler-helper-auditor-reserves.c    | 17 ++++++++++++-----
 src/auditor/taler-helper-auditor-wire.c        | 17 ++++++++++++-----
 6 files changed, 60 insertions(+), 30 deletions(-)

diff --git a/src/auditor/taler-helper-auditor-aggregation.c 
b/src/auditor/taler-helper-auditor-aggregation.c
index 6838ff3b..a0f2a190 100644
--- a/src/auditor/taler-helper-auditor-aggregation.c
+++ b/src/auditor/taler-helper-auditor-aggregation.c
@@ -33,6 +33,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 aggregations.
  */
@@ -1517,11 +1525,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
diff --git a/src/auditor/taler-helper-auditor-coins.c 
b/src/auditor/taler-helper-auditor-coins.c
index ca0353ad..f88f39ea 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -44,6 +44,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.
  */
@@ -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
diff --git a/src/auditor/taler-helper-auditor-deposits.c 
b/src/auditor/taler-helper-auditor-deposits.c
index 25697bbb..3dbce018 100644
--- a/src/auditor/taler-helper-auditor-deposits.c
+++ b/src/auditor/taler-helper-auditor-deposits.c
@@ -487,11 +487,6 @@ 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",
diff --git a/src/auditor/taler-helper-auditor-purses.c 
b/src/auditor/taler-helper-auditor-purses.c
index 74cfb207..967ac13a 100644
--- a/src/auditor/taler-helper-auditor-purses.c
+++ b/src/auditor/taler-helper-auditor-purses.c
@@ -38,6 +38,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 purses.
  */
@@ -1405,11 +1413,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
diff --git a/src/auditor/taler-helper-auditor-reserves.c 
b/src/auditor/taler-helper-auditor-reserves.c
index fc1827e9..aa35c6a7 100644
--- a/src/auditor/taler-helper-auditor-reserves.c
+++ b/src/auditor/taler-helper-auditor-reserves.c
@@ -38,6 +38,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;
+
 /**
  * After how long should idle reserves be closed?
  */
@@ -2071,11 +2079,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
diff --git a/src/auditor/taler-helper-auditor-wire.c 
b/src/auditor/taler-helper-auditor-wire.c
index fd920e87..d48ac1f1 100644
--- a/src/auditor/taler-helper-auditor-wire.c
+++ b/src/auditor/taler-helper-auditor-wire.c
@@ -52,6 +52,14 @@
                                                       15)
 
 
+/**
+ * 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;
+
 struct TALER_AUDITORDB_WireAccountProgressPoint
 {
   uint64_t last_reserve_in_serial_id;
@@ -2894,11 +2902,10 @@ main (int argc,
                                "ignore-not-found",
                                "continue, even if the bank account of the 
exchange was not found",
                                &ignore_account_404),
-    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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]