From ab0286f5831b7d2c74b990a5f66e05c89424e9ff Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 20 Mar 2017 04:37:44 +0100 Subject: finish #3775, including addition of man page --- ChangeLog | 3 +++ doc/Makefile.am | 1 + doc/taler-auditor.1 | 29 +++++++++++++++++++++++++++++ src/auditor/taler-auditor.c | 2 +- 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 doc/taler-auditor.1 diff --git a/ChangeLog b/ChangeLog index 40743eb30..93d03f45b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +Mon Mar 20 04:37:46 CET 2017 + Implemented first working version of taler-auditor. -CG + Sat Mar 18 03:44:38 CET 2017 Add 'wire_out' table to exchange DB to track outgoing wire transfers. -CG diff --git a/doc/Makefile.am b/doc/Makefile.am index a857db572..f55160993 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = . doxygen man_MANS = \ + taler-auditor.1 \ taler-auditor-sign.1 \ taler-config-generate.1 \ taler-exchange-aggregator.1 \ diff --git a/doc/taler-auditor.1 b/doc/taler-auditor.1 new file mode 100644 index 000000000..7682bf95f --- /dev/null +++ b/doc/taler-auditor.1 @@ -0,0 +1,29 @@ +.TH TALER\-AUDITOR 1 "Mar 20, 2017" "GNU Taler" + +.SH NAME +taler\-auditor \- Audit exchange. + +.SH SYNOPSIS +.B taler\-auditor -m MASTER_KEY +.RI [ options ] +.br + +.SH DESCRIPTION +\fBtaler\-auditor\fP is a command line tool to be used by an auditor to audit an exchange's database and calculate the current financial state of the exchange (including revenue, amount expected in escrow and risk exposure). The audit is incremental. The first audit must be performed with the \-r option to initialize the tables. The tool reports inconsistencies in the balance or incorrect cryptographic signatures found in the database. It does NOT check with the bank to see that the incoming and outgoing wire transfers that the bank claims to have matches the exchange's database. + +.SH OPTIONS +.B +.IP "\-h, \-\-help" +Print short help on options. +.B +.IP "\-m KEY, \-\-exchange-key=KEY" +Public master key of the exchange in Crockford base32 encoding, for example as generated by gnunet\-ecc \-p. +.B +.IP "\-r, \-\-reset" +Reset the audit, starts everything from the beginning. Useful for testing and required for the first audit to setup auditor's tables. Note that if (just) the exchange key changes, the \-r option should not be used again. + +.SH BUGS +Report bugs by using Mantis or by sending electronic mail to + +.SH "SEE ALSO" +\fBtaler\-auditor\-sign\fP(1), \fBgnunet\-ecc\fP(1), \fBtaler.conf\fP(5) diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index c03af0eee..3b6f3c4aa 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -3360,7 +3360,7 @@ main (int argc, &master_pub)), GNUNET_GETOPT_OPTION_SET_ONE ('r', "restart", - "restart audit from the beginning", + "restart audit from the beginning (required on first run)", &restart), GNUNET_GETOPT_OPTION_END }; -- cgit v1.2.3