aboutsummaryrefslogtreecommitdiff
path: root/contrib/auditor-report.tex.j2
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/auditor-report.tex.j2')
-rw-r--r--contrib/auditor-report.tex.j222
1 files changed, 12 insertions, 10 deletions
diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2
index a5c2bec27..33aab79cf 100644
--- a/contrib/auditor-report.tex.j2
+++ b/contrib/auditor-report.tex.j2
@@ -688,6 +688,7 @@ translate into a financial loss (yet).
688 {\bf Reserve} & {\bf Auditor} & {\bf Exchange} 688 {\bf Reserve} & {\bf Auditor} & {\bf Exchange}
689\endfoot 689\endfoot
690 \hline 690 \hline
691 \hline
691 {\bf Total deltas} & 692 {\bf Total deltas} &
692 {{ data.total_balance_summary_delta_plus}} & 693 {{ data.total_balance_summary_delta_plus}} &
693 - {{ data.total_balance_summary_delta_minus}} \\ 694 - {{ data.total_balance_summary_delta_minus}} \\
@@ -767,21 +768,23 @@ relate to outgoing wire transfers being malformed.
767This happens if the exchange somehow creates wire transfers 768This happens if the exchange somehow creates wire transfers
768with duplicate or malformed wire transfer subjects. 769with duplicate or malformed wire transfer subjects.
769 770
771% Table generation tested by testcase #19 in test-auditor.sh
772
770{% if wire.wire_format_inconsistencies|length() == 0 %} 773{% if wire.wire_format_inconsistencies|length() == 0 %}
771 {\bf No wire format inconsistencies found.} 774 {\bf No wire format inconsistencies found.}
772{% else %} 775{% else %}
773 \begin{longtable}{p{4.5cm}|r} 776 \begin{longtable}{p{6.5cm}|r}
774 \multicolumn{3}{c}{ {\bf Row hash} } \\ 777 \multicolumn{2}{c}{ {\bf Diagnostic} } \\
775 {\bf Diagnostic} & {\bf Amount} \\ 778 {\bf Row (base32)} & {\bf Amount} \\
776 \hline \hline 779 \hline \hline
777\endfirsthead 780\endfirsthead
778 \multicolumn{3}{c}{ {\bf Row hash} } \\ 781 \multicolumn{2}{c}{ {\bf Diagnostic} } \\
779 {\bf Diagnostic} & {\bf Amount} \\ 782 {\bf Row (base32)} & {\bf Amount} \\
780 \hline \hline 783 \hline \hline
781\endhead 784\endhead
782 \hline 785 \hline
783 \multicolumn{3}{c}{ {\bf Row hash} } \\ 786 \multicolumn{2}{c}{ {\bf Row (base32)} } \\
784 {\bf Diagnostic} & {\bf Amount} \\ 787 {\bf Row (base32)} & {\bf Amount} \\
785\endfoot 788\endfoot
786 \hline 789 \hline
787 \hline 790 \hline
@@ -791,10 +794,9 @@ with duplicate or malformed wire transfer subjects.
791 \label{table:outgoing:wtid} 794 \label{table:outgoing:wtid}
792\endlastfoot 795\endlastfoot
793{% for item in wire.wire_format_inconsistencies %} 796{% for item in wire.wire_format_inconsistencies %}
794 \multicolumn{3}{l}{ \tt \small \truncate{\textwidth}{ {{ item.wire_offset_hash }} } } \\ 797 \multicolumn{2}{l}{ \small \truncate{0.95\textwidth}{ {{ item.diagnostic }} } } \\
795\nopagebreak 798\nopagebreak
796 {{ item.diagnostic }} & 799 { \tt \small \truncate{0.95\textwidth}{ {{ item.wire_offset }} } } & {{ item.amount }} \\ \hline
797 {{ item.amount }} \\
798{% endfor %} 800{% endfor %}
799 \end{longtable} 801 \end{longtable}
800{% endif %} 802{% endif %}