aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--doc/Makefile.am1
-rw-r--r--doc/taler-auditor.129
-rw-r--r--src/auditor/taler-auditor.c2
4 files changed, 34 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 40743eb3..93d03f45 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 a857db57..f5516099 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 00000000..7682bf95
--- /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 <https://gnunet.org/bugs/> or by sending electronic mail to <taler@gnu.org>
+
+.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 c03af0ee..3b6f3c4a 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
};