diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-02-04 15:47:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-02-04 15:47:57 +0100 |
commit | 5a11839002b2f327fa35e8a1bf589bb77c54e3c1 (patch) | |
tree | 21ab20341743cc5f9e85707b9091872f73f55090 /src/exchange-tools | |
parent | d47241e0e12ace8530ef4ecb2f9ac0f0918dcff6 (diff) |
add timetravel option for testing/debugging
Diffstat (limited to 'src/exchange-tools')
-rw-r--r-- | src/exchange-tools/taler-exchange-keyup.c | 2 | ||||
-rw-r--r-- | src/exchange-tools/taler-exchange-wire.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 266c1bac0..f70ff23ac 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 5ddc24040..0d6cdddbf 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", |