From 2d55647f2aab1feb37d5439049f6824d11cda56c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 30 Oct 2022 17:36:57 +0100 Subject: add support for reserve open/close operations to auditor, begin to split off purse auditing logic --- contrib/auditor-report.tex.j2 | 13 ++++++------- contrib/gana | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'contrib') diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2 index c31af135..d40dc0c8 100644 --- a/contrib/auditor-report.tex.j2 +++ b/contrib/auditor-report.tex.j2 @@ -140,9 +140,9 @@ In that time, the wire auditor processed the following table ranges: \end{center} The total credits to the exchange processed in -this audit run was {\bf {{ wire.total_wire_in }}. +this audit run was {\bf {{ wire.total_wire_in }}}. The total debits initiated by the exchange processed in -this audit run was {\bf {{ wire.total_wire_out }}. +this audit run was {\bf {{ wire.total_wire_out }}}. \section{Operations} @@ -169,9 +169,8 @@ Loss (actualized risk from recoups) is {\bf {{ coins.total_recoup_loss }}}. \noindent -Recoups of non-revoked coins are at -{\bf {{ coins.total_irregular_recoups }}} (coins) -plus {\bf {{ reserves.total_irregular_recoups }}} (reserves). +Losses from irregular reserve operations are at +{\bf {{ reserves.total_irregular_loss }}} (reserves). \section{Income} @@ -613,7 +612,7 @@ compromise resulting in proportional financial losses to the exchange. \endfoot \hline {\bf Total loss} & - {{ reserves.total_loss_balance_insufficient }} \\ + {{ reserves.total_irregular_loss }} \\ \caption{Reserves with withdrawals higher than reserve funding.} \label{table:reserve:balance_insufficient} \endlastfoot @@ -782,7 +781,7 @@ invalid and the amount involved should be considered lost. \endfoot \hline \multicolumn{2}{l}{ {\bf Total losses} } & - {\bf {{ coins.total_bad_sig_loss}} } \\ + {\bf {{ coins.irregular_loss}} } \\ \caption{Losses from operations performed on coins without proper signatures.} \label{table:bad_signature_losses} \endlastfoot diff --git a/contrib/gana b/contrib/gana index 3a289998..9657bf77 160000 --- a/contrib/gana +++ b/contrib/gana @@ -1 +1 @@ -Subproject commit 3a2899981056f1d349730464b7f7172ffcc9671f +Subproject commit 9657bf77de05c0ac17ff39629306a604066b21de -- cgit v1.2.3