Commit Graph

3980 Commits

Author SHA1 Message Date
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
Marcello Stanisci
8d979a92c9
syntax 2019-04-02 16:43:49 +02:00
Marcello Stanisci
a827ee9b3c
typo 2019-04-01 14:36:21 +02:00
Marcello Stanisci
bf1fc00a44
Bug annotation 2019-03-29 11:25:44 +01:00
Marcello Stanisci
3ccd61a89c
debug 2019-03-27 16:26:49 +01:00
Marcello Stanisci
e66da801c1
Temporarily exclude critical test. 2019-03-27 14:36:07 +01:00
Marcello Stanisci
201d9e315a
Debug 2019-03-27 13:17:05 +01:00
Marcello Stanisci
3ccbae4982
Fix compilation (order matters) 2019-03-26 18:17:09 +01:00
Marcello Stanisci
b3ca323399
Wirewatch.
Avoid using negative deltas.
2019-03-22 19:13:15 +01:00
Marcello Stanisci
9914a9b301
Adapt "/history" tests to the new policy of 'start' defaults. 2019-03-21 18:47:35 +01:00
Marcello Stanisci
a3979b583f
"/history" 'start' default value.
The fakebank got adapted to the same logic from the
Python bank (with negative deltas, 'start' defaults to
UINT64_MAX, whereas with positives it defaults to 0).
2019-03-21 18:45:50 +01:00
Marcello Stanisci
341e08b3dd
Makefile.
Do not install, but get to compile the utility
command 'taler-fakebank-run'.
2019-03-21 18:44:53 +01:00
Marcello Stanisci
7d980d2793
Comment.
Commenting about the impossibility of the current history
CMD to interpret the 'ordering' parameter of "/history" requests.
2019-03-21 18:43:24 +01:00
Christian Grothoff
1c723bf485
typo 2019-03-19 10:50:21 +01:00
Christian Grothoff
66ce33525e
keep type of batch_size unsigned 2019-03-19 10:38:53 +01:00
Marcello Stanisci
59075946de
Fix wirewatch.
Use negative delta (in /history requests) when the wirewatch
is run for the very first time against the exchange bank account.

This change was inspired by report #5649.
2019-03-18 17:52:20 +01:00
Marcello Stanisci
88f80b8b4b
Do not run unneeded test. 2019-03-18 15:29:41 +01:00
Marcello Stanisci
3e6c432044
Put -l/--loglevel in the manpage. 2019-03-18 14:43:54 +01:00
Christian Grothoff
81e8b65836
fix swapped arguments, and add const where required, do not free const ptr 2019-03-16 02:28:42 +01:00
Hartmut Goebel
0f7d8fbe61
Add a .dir-locals,el for configuring emacs for this project 2019-03-15 21:45:02 +01:00
Marcello Stanisci
115ecfbc49
Fakebank debug 2019-03-14 18:48:11 +01:00
Marcello Stanisci
5df58a77c5
Benchmark debug 2019-03-14 17:46:07 +01:00
Marcello Stanisci
bdd8d67be3
Swapping parameters 2019-03-13 17:53:38 +01:00
Marcello Stanisci
861169d649
debug 2019-03-13 17:43:21 +01:00
Marcello Stanisci
6ee5346b20
fix double-free 2019-03-13 17:15:57 +01:00