From 25a0b60f129dc99aee8d1b5e55903ca6f212bd5f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 3 Dec 2019 12:39:32 +0100 Subject: implement #5967: have ranges in auditor reports, untested because right now tests somehow do not work --- contrib/auditor-report.tex.j2 | 66 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) (limited to 'contrib') diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2 index e26d562e0..ebe35c663 100644 --- a/contrib/auditor-report.tex.j2 +++ b/contrib/auditor-report.tex.j2 @@ -64,6 +64,72 @@ This report is based on a template licensed under the Affero General Public License, either version 3, or (at your option) any later version. The source code for the template is available at \url{https://git.taler.net/}. +The report was generated by the auditor started at +{\bf {{ data.auditor_start_time }} } and concluded at +{\bf {{ data.auditor_end_time }} }. + +In that time, the auditor processed the following table ranges: +\begin{center} +\begin{table} +\begin{tabular}{l|r|r} + Table & Start & End \\ \hline \hline + Reserves Incoming & {{ data.start_ppr_reserve_in_serial_id }} + & {{ data.ppr_reserve_in_serial_id }} \\ \hline + Reserves Out (withdraw) & {{ data.start_ppr_reserve_out_serial_id }} + & {{ data.ppr_reserve_out_serial_id }} \\ \hline + Reserves Payback & {{ data.start_ppr_reserve_payback_serial_id }} + & {{ data.ppr_reserve_payback_serial_id }} \\ \hline + Reserves Close & {{ data.start_ppr_reserve_close_serial_id }} + & {{ data.ppr_reserve_close_serial_id }} \\ \hline + Aggregation & {{ data.start_ppa_wire_out_serial_id }} + & {{ data.ppa_wire_out_serial_id }} \\ \hline + Coin withdraw & {{ data.start_ppc_withdraw_serial_id }} + & {{ data.ppc_withdraw_serial_id }} \\ \hline + Coin deposit & {{ data.start_ppc_deposit_serial_id }} + & {{ data.ppc_deposit_serial_id }} \\ \hline + Coin melt & {{ data.start_ppc_melt_serial_id }} + & {{ data.ppc_melt_serial_id }} \\ \hline + Coin refund & {{ data.start_ppc_refund_serial_id }} + & {{ data.ppc_refund_serial_id }} \\ \hline + Coin payback & {{ data.start_ppc_payback_serial_id }} + & {{ data.ppc_payback_serial_id }} \\ \hline + Coin payback refresh & {{ data.start_ppc_payback_refresh_serial_id }} + & {{ data.ppc_payback_refresh_serial_id }} \\ +\end{tabular} +\caption{Serial number ranges of the tables processed by the audit.} +\label{table:auditor_range} +\end{table} +\end{center} + +The report was generated by the wire auditor started at +{\bf {{ wire.wire_auditor_start_time }} } and concluded at +{\bf {{ wire.wire_auditor_end_time }} }. + +{% if wire.account_progress|length() == 0 %} +In that time, the auditor processed NO accounts at all. +{% else %} +In that time, the auditor processed the following table ranges: +\begin{center} +\begin{longtable}{l|c|r|r} + Account & Table & Start & End \\ \hline \hline +\endfirsthead + Account & Table & Start & End \\ \hline \hline +\endhead +\endfoot + \caption{Range of account data processed by the wire auditor.} + \label{table:account_range} +\endlastfoot +{% for item in wire.account_progress %} + {{ item.account }} & + Reserves Incoming & {{ item.start_reserve_in }} + & {{ item.end_reserve_in }} \\ \hline + Outgoing wire transfers & {{ item.start_wire_out }} + & {{ item.end_wire_out }} \\ \hline +{% endfor %} +\end{longtable} +{% endif %} +\end{center} + \section{Operations} -- cgit v1.2.3