diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-06 22:51:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-06 22:51:55 +0100 |
commit | 40551fa08e45fcc71f3d260478a2f9910920f27d (patch) | |
tree | 1e9dc77a80328c77944fec1e7f8810b0b7afee28 /src/auditor/taler-helper-auditor-coins.c | |
parent | 73a9fe56eb2fd9c7126eeffa396998815112e2e5 (diff) |
add -i option to taler-auditor
Diffstat (limited to 'src/auditor/taler-helper-auditor-coins.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-coins.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c index a63426f7a..bceb04198 100644 --- a/src/auditor/taler-helper-auditor-coins.c +++ b/src/auditor/taler-helper-auditor-coins.c @@ -193,6 +193,11 @@ struct CoinHistory */ static struct CoinHistory coin_histories[MAX_COIN_HISTORIES]; +/** + * Should we run checks that only work for exchange-internal audits? + */ +static int internal_checks; + /** * Return the index we should use for @a coin_pub in #coin_histories. @@ -2742,6 +2747,10 @@ main (int argc, char *const *argv) { const struct GNUNET_GETOPT_CommandLineOption options[] = { + GNUNET_GETOPT_option_flag ('i', + "internal", + "perform checks only applicable for exchange-internal audits", + &internal_checks), GNUNET_GETOPT_option_base32_auto ('m', "exchange-key", "KEY", |