gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] 02/02: add timetravel option for testing/debugging


From: gnunet
Subject: [taler-exchange] 02/02: add timetravel option for testing/debugging
Date: Tue, 04 Feb 2020 15:49:04 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

commit 5a11839002b2f327fa35e8a1bf589bb77c54e3c1
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 4 15:47:57 2020 +0100

    add timetravel option for testing/debugging
---
 src/auditor/taler-auditor.c               | 2 ++
 src/auditor/taler-wire-auditor.c          | 2 ++
 src/exchange-tools/taler-exchange-keyup.c | 2 ++
 src/exchange-tools/taler-exchange-wire.c  | 2 ++
 src/exchange/taler-exchange-aggregator.c  | 2 ++
 src/exchange/taler-exchange-httpd.c       | 2 ++
 src/exchange/taler-exchange-wirewatch.c   | 4 +++-
 7 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index 4e32d2a4..0ec5e2d7 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -5709,6 +5709,8 @@ main (int argc,
                                "restart",
                                "restart audit from the beginning (required on 
first run)",
                                &restart),
+    GNUNET_GETOPT_option_timetravel ('T',
+                                     "timetravel"),
     GNUNET_GETOPT_OPTION_END
   };
 
diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c
index 94fd773c..5a68f165 100644
--- a/src/auditor/taler-wire-auditor.c
+++ b/src/auditor/taler-wire-auditor.c
@@ -2312,6 +2312,8 @@ main (int argc,
                                "restart",
                                "restart audit from the beginning (required on 
first run)",
                                &restart),
+    GNUNET_GETOPT_option_timetravel ('T',
+                                     "timetravel"),
     GNUNET_GETOPT_OPTION_END
   };
 
diff --git a/src/exchange-tools/taler-exchange-keyup.c 
b/src/exchange-tools/taler-exchange-keyup.c
index 266c1bac..f70ff23a 100644
--- a/src/exchange-tools/taler-exchange-keyup.c
+++ b/src/exchange-tools/taler-exchange-keyup.c
@@ -1437,6 +1437,8 @@ main (int argc,
                                       "DKH",
                                       "revoke denomination key hash (DKH) and 
request wallets to initiate /recoup",
                                       &revoke_dkh),
+    GNUNET_GETOPT_option_timetravel ('T',
+                                     "timetravel"),
     GNUNET_GETOPT_option_absolute_time ('t',
                                         "time",
                                         "TIMESTAMP",
diff --git a/src/exchange-tools/taler-exchange-wire.c 
b/src/exchange-tools/taler-exchange-wire.c
index 5ddc2404..0d6cdddb 100644
--- a/src/exchange-tools/taler-exchange-wire.c
+++ b/src/exchange-tools/taler-exchange-wire.c
@@ -228,6 +228,8 @@ main (int argc,
       char *const *argv)
 {
   const struct GNUNET_GETOPT_CommandLineOption options[] = {
+    GNUNET_GETOPT_option_timetravel ('T',
+                                     "timetravel"),
     GNUNET_GETOPT_option_filename ('m',
                                    "master-key",
                                    "FILENAME",
diff --git a/src/exchange/taler-exchange-aggregator.c 
b/src/exchange/taler-exchange-aggregator.c
index a03eaff5..d380c391 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -1943,6 +1943,8 @@ main (int argc,
       char *const *argv)
 {
   struct GNUNET_GETOPT_CommandLineOption options[] = {
+    GNUNET_GETOPT_option_timetravel ('T',
+                                     "timetravel"),
     GNUNET_GETOPT_option_flag ('t',
                                "test",
                                "run in test mode and exit when idle",
diff --git a/src/exchange/taler-exchange-httpd.c 
b/src/exchange/taler-exchange-httpd.c
index 666cec0c..426c4865 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -999,6 +999,8 @@ main (int argc,
                                "SECONDS",
                                "after how long do connections timeout by 
default (in seconds)",
                                &connection_timeout),
+    GNUNET_GETOPT_option_timetravel ('T',
+                                     "timetravel"),
 #if HAVE_DEVELOPER
     GNUNET_GETOPT_option_filename ('f',
                                    "file-input",
diff --git a/src/exchange/taler-exchange-wirewatch.c 
b/src/exchange/taler-exchange-wirewatch.c
index 972cee34..69929e12 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -597,7 +597,9 @@ main (int argc,
       char *const *argv)
 {
   struct GNUNET_GETOPT_CommandLineOption options[] = {
-    GNUNET_GETOPT_option_flag ('T',
+    GNUNET_GETOPT_option_timetravel ('T',
+                                     "timetravel"),
+    GNUNET_GETOPT_option_flag ('t',
                                "test",
                                "run in test mode and exit when idle",
                                &test_mode),

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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