exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 0d53d893f5c7b279e69320ee60a3459e8b464d4d
parent fdb768653ecfb0b5555f65f163096caf8901db26
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  7 Dec 2019 21:59:05 +0100

fix start time

Diffstat:
Mcontrib/auditor-report.tex.j2 | 8+++++---
Msrc/auditor/taler-wire-auditor.c | 1+
Msrc/auditor/test-auditor.sh | 2+-
3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/contrib/auditor-report.tex.j2 b/contrib/auditor-report.tex.j2 @@ -111,20 +111,22 @@ In that time, the auditor processed NO accounts at all. In that time, the auditor processed the following table ranges: \begin{center} \begin{longtable}{l|c|r|r} - Account & Table & Start & End \\ \hline \hline + Account & Table & Start & End \\ \hline \endfirsthead - Account & Table & Start & End \\ \hline \hline + Account & Table & Start & End \\ \hline \endhead \endfoot \caption{Range of account data processed by the wire auditor.} \label{table:account_range} \endlastfoot {% for item in wire.account_progress %} + \hline {{ 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 + & {{ item.end_wire_out }} \\ {% endfor %} \end{longtable} {% endif %} diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c @@ -2145,6 +2145,7 @@ run (void *cls, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Launching auditor\n"); + start_time = GNUNET_TIME_absolute_get (); cfg = c; if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (cfg, diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh @@ -162,7 +162,7 @@ jq -e .wire_format_inconsistencies[0] < test-wire-audit.json > /dev/null && exit echo PASS LOSS=`jq -r .total_bad_sig_loss < test-audit.json` -if test $LOSS != "TESTKUDOS:0.0" +if test $LOSS != "TESTKUDOS:0" then exit_fail "Wrong total bad sig loss, got unexpected loss of $LOSS" fi