Commit Graph

86 Commits

Author SHA1 Message Date
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
Marcello Stanisci
ed0da1fdb3
/history-range.
Implementing the "lib" and "testing-lib" functions to use it.
2019-04-08 23:56:46 +02: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
8e4df34156
Refactor for GNUNET_memcmp 2019-04-08 18:17:29 +00:00
ng0
cf62f519d2
refactor for GNUNET_memcmp 2019-04-08 14:58:21 +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
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
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
9d37f8e026
keyup:_use_ the timestamp given by the user. 2019-04-03 13:47:00 +02:00
Marcello Stanisci
bf1fc00a44
Bug annotation 2019-03-29 11:25:44 +01:00
Marcello Stanisci
e66da801c1
Temporarily exclude critical test. 2019-03-27 14:36:07 +01:00
Marcello Stanisci
3ccbae4982
Fix compilation (order matters) 2019-03-26 18:17:09 +01:00
Marcello Stanisci
861169d649
debug 2019-03-13 17:43:21 +01:00
Christian Grothoff
e235945df9
improve test case logging, fix process initialization of taler-auditor-exchange 2019-03-11 03:43:32 +01:00
Christian Grothoff
4dea098f54
actually disable 100 continue 2019-03-02 19:18:12 +01:00
Marcello Stanisci
3219c14674
typo 2019-02-20 21:07:39 +01:00
Marcello Stanisci
d194e59ef0
indentation 2019-02-19 18:22:04 +01:00
Marcello Stanisci
0db12efc4d
Align tests to latest change. 2019-02-19 17:42:39 +01:00
Marcello Stanisci
7c5a277b34
Make cherry-picking test more isolated. 2019-02-19 15:48:52 +01:00
Marcello Stanisci
916ed469c1
Put master key under isolated home. 2019-02-18 16:49:22 +01:00
Marcello Stanisci
71cf485f6c
Fix cherry pick test.
Provide dedicated home directory for better isolation.
2019-02-18 16:41:48 +01:00
Marcello Stanisci
3b4d761f3b
Addressing https://bugs.gnunet.org/view.php?id=5232#c13251 2019-02-18 15:50:49 +01:00
Christian Grothoff
ec3a4aad23
fix memory leak of rhistory, always allocate it on the heap 2019-02-17 00:22:28 +01:00
Christian Grothoff
70e7bc1184
fix memory leak if traits are requested multiple times per withdraw 2019-02-17 00:18:04 +01:00
Christian Grothoff
ffd7a343a6
better error message 2019-02-16 23:49:40 +01:00
Christian Grothoff
079207a426
check carefully, given that DKs expire, with the current configuration the correct number of expected keys is 8 here 2019-02-15 14:23:24 +01:00
Christian Grothoff
1ce69e6b2f
initialize start_number in fakebank 2019-02-15 12:41:26 +01:00
Christian Grothoff
a98825675b
add option to be selective about dropping the exchange list 2019-02-14 14:23:16 +01:00
Marcello Stanisci
7b6488d7d7
5447.
Add a dedicated taler-auditor CMD in the
batch dedicated to 5447.
2019-01-30 23:14:54 +01:00
Marcello Stanisci
537af4631d
Half baking #5447. 2019-01-30 18:11:52 +01:00
Marcello Stanisci
c15dc4fdb1
fix conf 2019-01-29 15:50:24 +01:00
Marcello Stanisci
e3fe922d3d
debug 2019-01-28 17:23:12 +01:00
Marcello Stanisci
3dd987035b
Extend auditor testing-lib.
Add method to check whether a exchange (URL)
belongs to the list of audited exchanges.
2019-01-28 16:51:13 +01:00
Marcello Stanisci
64de8a0fe6
Fix /deposit-confirmation as per JSON encode/decode. 2019-01-28 16:48:27 +01:00
Marcello Stanisci
32a47928e9
Use PUT for /deposit-confirmation. 2019-01-28 13:26:06 +01:00
Marcello Stanisci
e070e8f65d
H_wire -> h_wire. 2019-01-25 19:45:23 +01:00
Marcello Stanisci
aa2d2fbf28
Check /version compatibility during tests. 2019-01-25 16:03:46 +01:00
Marcello Stanisci
220ce20d05
Revert explicit AUDITOR_connect at tests. 2019-01-25 15:57:27 +01:00
Christian Grothoff
222cac2762
make function static 2019-01-24 19:01:42 +01:00
Christian Grothoff
0913f346f8
fix /version test 2019-01-24 18:52:30 +01:00
Christian Grothoff
531b61cd43
adding separate test just for /verison API 2019-01-24 18:46:49 +01:00
Christian Grothoff
9de8b77625
adding separate test just for /verison API 2019-01-24 18:45:47 +01:00
Marcello Stanisci
649dd16401
Simplify things. 2019-01-24 18:01:07 +01:00