From 15c1a877c617fd29ff61e2ebd1f6fac72e54afce Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 14 Dec 2018 00:34:35 +0100 Subject: /history API semantics extended. That API has now a new 'ordering' flag that lets the client choose what ordering the results should have: ascending or descending. In particular, this change adapted the fakebank and tests logic to such introduction. --- src/wire-plugins/plugin_wire_taler-bank.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wire-plugins') diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c index 8299e8e39..289c9b6a0 100644 --- a/src/wire-plugins/plugin_wire_taler-bank.c +++ b/src/wire-plugins/plugin_wire_taler-bank.c @@ -1093,6 +1093,8 @@ taler_bank_get_history (void *cls, &whh->auth, (uint64_t) account.no, direction, + /* Defaults to descending ordering always. */ + GNUNET_NO, start_row, num_results, &bhist_cb, -- cgit v1.2.3