add timetravel option for testing/debugging
This commit is contained in:
parent
d47241e0e1
commit
5a11839002
@ -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
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user