more wire cleanup, indentation only

This commit is contained in:
Christian Grothoff 2020-03-22 21:26:53 +01:00
parent 2539956026
commit a90ea10d35
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -706,24 +706,21 @@ commit (enum GNUNET_DB_QueryStatus qs)
wa = wa->next) wa = wa->next)
{ {
GNUNET_assert (0 == GNUNET_assert (0 ==
json_array_append_new (report_account_progress, json_array_append_new (
json_pack ( report_account_progress,
"{s:s, s:I, s:I, s:I, s:I}", json_pack (
"account", "{s:s, s:I, s:I, s:I, s:I}",
wa->section_name, "account",
"start_reserve_in", wa->section_name,
(json_int_t) wa->start_pp. "start_reserve_in",
last_reserve_in_serial_id, (json_int_t) wa->start_pp.last_reserve_in_serial_id,
"end_reserve_in", "end_reserve_in",
(json_int_t) wa->pp. (json_int_t) wa->pp.last_reserve_in_serial_id,
last_reserve_in_serial_id, "start_wire_out",
"start_wire_out", (json_int_t) wa->start_pp.last_wire_out_serial_id,
(json_int_t) wa->start_pp. "end_wire_out",
last_wire_out_serial_id, (json_int_t) wa->pp.last_wire_out_serial_id
"end_wire_out", ))
(json_int_t) wa->pp.
last_wire_out_serial_id
))
); );
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT == wa->qsx) if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT == wa->qsx)
qs = TALER_ARL_adb->update_wire_auditor_account_progress ( qs = TALER_ARL_adb->update_wire_auditor_account_progress (
@ -1139,7 +1136,7 @@ struct CheckMatchContext
/** /**
* Check if any of the reserve closures match the given wire transfer. * Check if any of the reserve closures match the given wire transfer.
* *
* @param cls a `struct CheckMatchContext` * @param[in,out] cls a `struct CheckMatchContext`
* @param key key of @a value in #reserve_closures * @param key key of @a value in #reserve_closures
* @param value a `struct ReserveClosure` * @param value a `struct ReserveClosure`
*/ */
@ -1179,7 +1176,7 @@ check_rc_matches (void *cls,
* *
* @param cls a `struct WireAccount` * @param cls a `struct WireAccount`
* @param key unused key * @param key unused key
* @param value the `struct ReserveOutInfo` to TALER_ARL_report * @param value the `struct ReserveOutInfo` to report
* @return #GNUNET_OK * @return #GNUNET_OK
*/ */
static int static int
@ -1461,13 +1458,11 @@ conclude_credit_history (void)
static int static int
reserve_in_cb (void *cls, reserve_in_cb (void *cls,
uint64_t rowid, uint64_t rowid,
const struct const struct TALER_ReservePublicKeyP *reserve_pub,
TALER_ReservePublicKeyP *reserve_pub,
const struct TALER_Amount *credit, const struct TALER_Amount *credit,
const char *sender_account_details, const char *sender_account_details,
uint64_t wire_reference, uint64_t wire_reference,
struct GNUNET_TIME_Absolute struct GNUNET_TIME_Absolute execution_date)
execution_date)
{ {
struct WireAccount *wa = cls; struct WireAccount *wa = cls;
struct ReserveInInfo *rii; struct ReserveInInfo *rii;
@ -2115,13 +2110,13 @@ run (void *cls,
GNUNET_assert (NULL != GNUNET_assert (NULL !=
(report_row_minor_inconsistencies = json_array ())); (report_row_minor_inconsistencies = json_array ()));
GNUNET_assert (NULL != GNUNET_assert (NULL !=
(report_wire_format_inconsistencies = (report_wire_format_inconsistencies
json_array ())); = json_array ()));
GNUNET_assert (NULL != GNUNET_assert (NULL !=
(report_row_inconsistencies = json_array ())); (report_row_inconsistencies = json_array ()));
GNUNET_assert (NULL != GNUNET_assert (NULL !=
(report_missattribution_in_inconsistencies = (report_missattribution_in_inconsistencies
json_array ())); = json_array ()));
GNUNET_assert (NULL != GNUNET_assert (NULL !=
(report_lags = json_array ())); (report_lags = json_array ()));
GNUNET_assert (NULL != GNUNET_assert (NULL !=