Commit Graph

3204 Commits

Author SHA1 Message Date
Marcello Stanisci
66425084c1
Test /history-range after transactions happened. 2019-04-10 17:34:27 +02:00
Marcello Stanisci
5c49663309
Fixing twisted tests.
It has been observed that when a "twisted" test has "very little"
commands in the stack, it uses to fail since the proxied service
cannot be reached.

This commit puts some delay before the first command gets run
by the test interpreter; both in the form of a "blind" sleep, and
with a more structured 'wget' loop.
2019-04-10 17:07:14 +02:00
Marcello Stanisci
ca718b9f1f
minor fixes 2019-04-10 17:07:14 +02:00
Marcello Stanisci
814522d21c
Time math macros. 2019-04-10 17:07:14 +02:00
Marcello Stanisci
75ac6b8063
minor fixes 2019-04-10 17:07:13 +02:00
Marcello Stanisci
f3d80b58f6
Make the API-agnostic iterator work.
This allows to build local histories to be matched
against the ones returned by the bank; in particular,
this version builds those stories regardless of /history
or /history-range being run.
2019-04-10 17:07:13 +02:00
ng0
074b011d01
exchangedb/exchangedb_test: GNUNET_memcmp 2019-04-09 17:00:15 +00:00
Marcello Stanisci
ed0da1fdb3
/history-range.
Implementing the "lib" and "testing-lib" functions to use it.
2019-04-08 23:56:46 +02:00
ng0
5ec20870a4
Refactor test_exchangedb_denomkeys.c for GNUNET_memcmp 2019-04-08 20:42:05 +00:00
ng0
04acf37cb6
Refactor test_exchangedb_signkeys for GNUNET_memcmp 2019-04-08 18:58:08 +00:00
ng0
1aa9d9fee6
Refactor lib/exchange_api_reserve.c for GNUNET_memcmp 2019-04-08 18:51:48 +00:00
ng0
8c591b4f1a
Refactor lib/exchange_api_common.c for GNUNET_memcmp 2019-04-08 18:48:33 +00:00
ng0
b669f0dfae
Refactor plugin_exchangedb_postgres for GNUNET_memcmp 2019-04-08 18:43:23 +00:00
ng0
7333c55c53
Fix leftover memcmp 2019-04-08 18:19:26 +00:00
ng0
8e4df34156
Refactor for GNUNET_memcmp 2019-04-08 18:17:29 +00:00
ng0
ffac541333
Refactor for GNUNET_memcmp 2019-04-08 18:16:05 +00:00
ng0
9f18ec58bc
Refactor for GNUNET_memcmp 2019-04-08 18:15:16 +00:00
ng0
d77bf8ab53
Refactor for GNUNET_memcmp and _is_zero 2019-04-08 15:45:52 +00:00
ng0
391895d883
Refactor test_auditordb.c for GNUNET_memcmp 2019-04-08 15:29:21 +00:00
ng0
cf62f519d2
refactor for GNUNET_memcmp 2019-04-08 14:58:21 +00:00
ng0
a5007df7e4
refactor for GNUNET_memcmp 2019-04-08 14:58:21 +00:00
ng0
d55c2acbd5
refactor util/test_crypto.c for GNUNET_memcmp 2019-04-08 14:58:21 +00:00
ng0
79dcb72760
Refactor auditor/taler-wire-auditor.c for GNUNET_memcmp 2019-04-08 14:58:21 +00:00
ng0
0b8a87126b
Refactor auditor/taler-auditor.c for GNUNET_memcmp 2019-04-08 14:58:21 +00:00
Marcello Stanisci
602093e98c
notes 2019-04-08 02:37:46 +02:00
Marcello Stanisci
e13a8902f0
Put /history[-range] logic in a dedicate file. 2019-04-08 02:37:46 +02:00
Marcello Stanisci
9fc380f7c8
Set range pointer. 2019-04-08 02:37:45 +02:00
Marcello Stanisci
e24e845b7d
debug message 2019-04-08 02:37:45 +02:00
Marcello Stanisci
704e0913c6
Fix compilation warnings, + enable polymorphic /history handler. 2019-04-08 02:37:45 +02:00
Marcello Stanisci
ddb8cdfa7a
Finishing /history-range implementation, untested. 2019-04-08 02:37:45 +02:00
Marcello Stanisci
3c66bb30b9
Gather /history implementation(s) in one point. 2019-04-08 02:37:45 +02:00
Marcello Stanisci
eca27d9d91
Finish abstract history builder. 2019-04-08 02:37:44 +02:00
ng0
6b6417b1fa
doc/taler-exchange.texi: Fix build with older Texinfo versions. 2019-04-07 12:22:41 +00:00
Christian Grothoff
8b3ee47165
fix #includes 2019-04-07 00:01:16 +02:00
Marcello Stanisci
5e16b87104
Improving the math. 2019-04-06 20:28:07 +02:00
Marcello Stanisci
301f287b2b
Test the big lookahead_sign, plus notes. 2019-04-06 20:17:41 +02:00
Marcello Stanisci
fdeb630160
Artificial 'now'.
Getting to the point where "/keys" discards expired
DKs due to the artificial 'now' given on the URL.
2019-04-06 12:55:13 +02:00
Marcello Stanisci
8655a40ad7
Half-baking #5666. 2019-04-05 19:31:01 +02:00
Marcello Stanisci
a19baaccf3
Do not include legally expired keys into /keys response. 2019-04-05 16:30:19 +02:00
Marcello Stanisci
32cdef2b62
Making the bug /history[-range] args parser. 2019-04-05 16:13:56 +02:00
Marcello Stanisci
3e757cdeda
Inserting "now" argument into "/keys".
Also using this new logic from the cherry-pick test case.
2019-04-04 12:14:25 +02:00
Marcello Stanisci
ce71d83ad6
Provide testing API to fake now for "/keys". 2019-04-03 18:09:10 +02:00
Marcello Stanisci
ccd43ba4fb
gitignore 2019-04-03 18:03:53 +02:00
Marcello Stanisci
dc7d74caea
fix keyup invocation. 2019-04-03 18:02:58 +02:00
Marcello Stanisci
6e6ce685ea
Provide API to fake now when requesting /keys. 2019-04-03 18:02:16 +02:00
Marcello Stanisci
35c064b937
Faking the time.
Cherry-pick tests now uses the now-faked version
of taler-exchange-keyup.  Fails.
2019-04-03 16:07:04 +02:00
Marcello Stanisci
219f702926
Faking the time.
Allow the user to pass a "now" value along the "/keys"
request.
2019-04-03 15:22:16 +02:00
Christian Grothoff
41afe6fd67
fix git link to Taler repo 2019-04-03 14:24:10 +02:00
Christian Grothoff
8e656ca913
fix git link to GNUnet repo 2019-04-03 14:23:36 +02:00
Marcello Stanisci
9d37f8e026
keyup:_use_ the timestamp given by the user. 2019-04-03 13:47:00 +02:00