fix minor wire auditor bugs, add samples of output
This commit is contained in:
parent
f8af22b882
commit
1139f74ffe
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1929,7 +1929,7 @@ data being persisted are represented in between $\langle\rangle$.
|
||||
\item[$\overline{b_s^{(i)}}$]{Blinding factors obtained from decryption by the verifier}
|
||||
\item[$\overline{C^{(i)}_p}$]{Public coin keys computed from $\overline{c_s^{(i)}}$ by the verifier}
|
||||
\end{description}
|
||||
|
||||
\end{document}
|
||||
\newpage
|
||||
\onecolumn
|
||||
\section{Supplemental: Reviews and Responses from Financial Cryptography}
|
||||
|
@ -327,12 +327,16 @@ do_shutdown (void *cls)
|
||||
report_row_inconsistencies,
|
||||
"row_minor_inconsistencies",
|
||||
report_row_minor_inconsistencies);
|
||||
GNUNET_break (NULL != report);
|
||||
json_dumpf (report,
|
||||
stdout,
|
||||
JSON_INDENT (2));
|
||||
json_decref (report);
|
||||
report_wire_out_inconsistencies = NULL;
|
||||
report_reserve_in_inconsistencies = NULL;
|
||||
report_row_inconsistencies = NULL;
|
||||
report_row_minor_inconsistencies = NULL;
|
||||
report_missattribution_in_inconsistencies = NULL;
|
||||
}
|
||||
if (NULL != hh)
|
||||
{
|
||||
@ -842,7 +846,9 @@ reserve_in_cb (void *cls,
|
||||
"row", (json_int_t) rowid,
|
||||
"wire_offset_hash", GNUNET_JSON_from_data_auto (&rii->row_off_hash),
|
||||
"diagnostic", "duplicate wire offset"));
|
||||
return GNUNET_SYSERR;
|
||||
json_decref (rii->details.account_details);
|
||||
GNUNET_free (rii);
|
||||
return GNUNET_OK;
|
||||
}
|
||||
pp.last_reserve_in_serial_id = rowid + 1;
|
||||
return GNUNET_OK;
|
||||
@ -1198,6 +1204,8 @@ run (void *cls,
|
||||
(report_row_minor_inconsistencies = json_array ()));
|
||||
GNUNET_assert (NULL !=
|
||||
(report_row_inconsistencies = json_array ()));
|
||||
GNUNET_assert (NULL !=
|
||||
(report_missattribution_in_inconsistencies = json_array ()));
|
||||
GNUNET_assert (GNUNET_OK ==
|
||||
TALER_amount_get_zero (currency,
|
||||
&total_bad_amount_out_plus));
|
||||
|
@ -1389,11 +1389,11 @@ postgres_update_wire_auditor_progress (void *cls,
|
||||
struct GNUNET_PQ_QueryParam params[] = {
|
||||
GNUNET_PQ_query_param_uint64 (&pp->last_reserve_in_serial_id),
|
||||
GNUNET_PQ_query_param_uint64 (&pp->last_wire_out_serial_id),
|
||||
GNUNET_PQ_query_param_auto_from_type (master_pub),
|
||||
GNUNET_PQ_query_param_fixed_size (in_wire_off,
|
||||
wire_off_size),
|
||||
GNUNET_PQ_query_param_fixed_size (out_wire_off,
|
||||
wire_off_size),
|
||||
GNUNET_PQ_query_param_auto_from_type (master_pub),
|
||||
GNUNET_PQ_query_param_end
|
||||
};
|
||||
|
||||
@ -1428,9 +1428,9 @@ postgres_get_wire_auditor_progress (void *cls,
|
||||
GNUNET_PQ_query_param_end
|
||||
};
|
||||
struct GNUNET_PQ_ResultSpec rs[] = {
|
||||
GNUNET_PQ_result_spec_uint64 ("last_reserve_in_serial_id",
|
||||
GNUNET_PQ_result_spec_uint64 ("last_wire_reserve_in_serial_id",
|
||||
&pp->last_reserve_in_serial_id),
|
||||
GNUNET_PQ_result_spec_uint64 ("last_wire_out_serial_id",
|
||||
GNUNET_PQ_result_spec_uint64 ("last_wire_wire_out_serial_id",
|
||||
&pp->last_wire_out_serial_id),
|
||||
GNUNET_PQ_result_spec_variable_size ("wire_in_off",
|
||||
in_wire_off,
|
||||
|
Loading…
Reference in New Issue
Block a user