Commit Graph

2438 Commits

Author SHA1 Message Date
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
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
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
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
Christian Grothoff
81e8b65836
fix swapped arguments, and add const where required, do not free const ptr 2019-03-16 02:28:42 +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
Marcello Stanisci
99fc27d403
Fakebank debugging.
Adding a CLI launcher for the bare fakebank service.
2019-03-13 16:24:19 +01:00
Christian Grothoff
bb38ff98d1
stop wirewatch if launching exchange fails 2019-03-13 04:16:22 +01:00
Christian Grothoff
ae4b240ec2
return proper error message instead of aborting, fix a few minor memory leaks in taler-exchange-benchmark 2019-03-13 04:11:35 +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
a9268421d7
implementing private key deletion (#5536) 2019-03-11 03:24:32 +01:00
Christian Grothoff
82ce84fe67
pre-pull merging 2019-03-11 02:56:05 +01:00
Christian Grothoff
c3b9ebc1ef
fix format string issue in taler-wire, complete work on #5536 revocation file issue (shift location of revocation file and change content to include denom hash) 2019-03-03 00:35:21 +01:00
Christian Grothoff
4dea098f54
actually disable 100 continue 2019-03-02 19:18:12 +01:00
Christian Grothoff
4a51e33105
actually disable 100 continue 2019-02-23 14:47:44 +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
62e8c18390
Need to check for revoked keys as well before adding from DB.
Fixes ~13838.
2019-02-17 14:40:21 +01:00
Christian Grothoff
9fb889404a
towards #5536 (right now deactivated, as if on tests fail...) 2019-02-17 00:27:54 +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
3ff5bad33e
fix memory leak: on repeated refresh reveal, we populated ev_sigs twice 2019-02-17 00:13:14 +01:00
Christian Grothoff
88e611d32b
add assertions in preparation of #5536 2019-02-16 23:52:48 +01:00
Christian Grothoff
9413537e6d
add missing comments 2019-02-16 23:52:12 +01:00
Christian Grothoff
ffd7a343a6
better error message 2019-02-16 23:49:40 +01:00
Christian Grothoff
1a542148a6
implement iterate_denomination_info() call 2019-02-16 21:38:12 +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
5bd7ede31f
fix ftbfs 2019-02-14 21:22:29 +01:00
Christian Grothoff
a98825675b
add option to be selective about dropping the exchange list 2019-02-14 14:23:16 +01:00
Christian Grothoff
e56ed85f4f
preparations for #5536 2019-02-14 13:41:46 +01:00
Marcello Stanisci
9ff3c2fce5
UX 2019-02-13 17:59:25 +01:00
Marcello Stanisci
bb44b9b475
Fix #5558. 2019-02-13 17:53:48 +01:00
Marcello Stanisci
e1ec7fc53c
new bank error code 2019-02-13 16:39:46 +01:00
Marcello Stanisci
c93c62e8d4
Improve UX 2019-02-12 19:03:25 +01:00
Marcello Stanisci
f22ef3e40c
Fix passing of delta. 2019-02-12 18:34:44 +01:00
Marcello Stanisci
8315e15123
Fix transactions list request. 2019-02-12 17:33:52 +01:00
Marcello Stanisci
82f01f111b
Getting transaction history 60% fixed. 2019-02-12 17:13:08 +01:00
Marcello Stanisci
8aa66c6023
Properly shutdown. 2019-02-12 16:06:37 +01:00
Marcello Stanisci
1f007d83fd
4692. Fix global return code. 2019-02-11 19:55:00 +01:00
Marcello Stanisci
398be48872
4692. UX 2019-02-11 19:52:20 +01:00
Marcello Stanisci
014ae3190b
4692. Putting logic to execute wire transfers. 2019-02-11 19:45:51 +01:00
Marcello Stanisci
ed10fc4acc
fix option names 2019-02-11 18:34:58 +01:00
Marcello Stanisci
066f03f95a
4692. Logic to ask for transaction history. 2019-02-11 18:28:14 +01:00
Marcello Stanisci
cd0b9e8e0a
load wire plugin 2019-02-10 18:35:05 +01:00
Marcello Stanisci
4b4a851ab5
fix log 2019-02-10 18:02:19 +01:00
Marcello Stanisci
865bd196ff
4692. Skeleton. 2019-02-10 17:56:52 +01:00
Marcello Stanisci
7286b5f15f
Starting #4692 2019-02-10 17:30:43 +01:00
Marcello Stanisci
5a4f5b81db
New error codes for bank. 2019-02-05 16:07:23 +01:00
Marcello Stanisci
71d0aab4e2
new error code 2019-01-31 15:09:57 +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
48b76fc089
fix auditordb 2019-01-30 15:28:52 +01:00
Marcello Stanisci
f68e7d0b07
Adding map: wire method name <--> plugin name. 2019-01-30 15:17:03 +01:00
Marcello Stanisci
452ab68423
fix DB 2019-01-29 22:05:23 +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
0b0b22c8db
Minor fix auditordb. 2019-01-28 16:50:15 +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
Marcello Stanisci
b2c47a74a9
Reproduce auditor assert fail, with less code executed. 2019-01-24 17:57:10 +01:00
Marcello Stanisci
d993085438
Reproduce auditor assert fail. 2019-01-24 17:54:33 +01:00