From 40551fa08e45fcc71f3d260478a2f9910920f27d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 6 Jan 2021 22:51:55 +0100 Subject: add -i option to taler-auditor --- src/auditor/taler-helper-auditor-aggregation.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/auditor/taler-helper-auditor-aggregation.c') diff --git a/src/auditor/taler-helper-auditor-aggregation.c b/src/auditor/taler-helper-auditor-aggregation.c index f3f65ffb3..5a144ddf9 100644 --- a/src/auditor/taler-helper-auditor-aggregation.c +++ b/src/auditor/taler-helper-auditor-aggregation.c @@ -116,6 +116,11 @@ static json_t *report_bad_sig_losses; */ static struct TALER_Amount total_bad_sig_loss; +/** + * Should we run checks that only work for exchange-internal audits? + */ +static int internal_checks; + /** * Report a (serious) inconsistency in the exchange's database with @@ -1462,6 +1467,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", -- cgit v1.2.3