Commit Graph

2269 Commits

Author SHA1 Message Date
Christian Grothoff
bdd9ef74e6
fastoption may not be supported by all curls 2018-12-14 09:42:15 +01:00
Marcello Stanisci
c1a75b5b98
Adapt test to bank returning descending /history elements. 2018-12-13 19:44:58 +01:00
Marcello Stanisci
b3c31f8f59
Adapt test to bank returning descending /history elements. 2018-12-13 19:38:15 +01:00
Marcello Stanisci
ef58152c2b
5462: implementing the iteration. 2018-12-12 19:08:24 +01:00
Marcello Stanisci
00625791a2
Issue #5462.
Defining batch that makes->destroys->check a reserve.
Iterating the batch N times is the next step.
2018-12-12 14:57:21 +01:00
Marcello Stanisci
208ba0d4b2
/reserve/status CMD.
The logic extracts the reserve pub according to the
trait being a pub b64 encoding or a private key.
2018-12-12 14:45:25 +01:00
Marcello Stanisci
220e00696b
Traits.
Do not expose reserve priv trait if the user
created a reserve specifying the wire transfer
subject explicitly.
2018-12-12 13:42:00 +01:00
Marcello Stanisci
81d1b39343
Extend exchange-lib.
Adding simple function that returns the exchange's base URL.
2018-12-06 18:14:09 +01:00
Christian Grothoff
f224017505
fix a few more leaks 2018-11-25 15:38:58 +01:00
Christian Grothoff
85aa6d17c7
fix misc. memory leaks 2018-11-25 14:51:31 +01:00
Christian Grothoff
5052698cbc
getting test_auditor_api to pass 2018-11-25 14:40:03 +01:00
Marcello Stanisci
d0231022f2
Remove double closing of a "file stream". 2018-11-23 17:48:36 +01:00
Marcello Stanisci
793c57317a
Offer contract terms trait as a JSON object. 2018-11-20 13:32:02 +01:00
Marcello Stanisci
d3f73936ae
Skip test when wire-plugin is not loaded. 2018-11-19 23:52:24 +01:00
Marcello Stanisci
368f3a9a66
Minor changes to make tests pass/no-skip again. 2018-11-19 23:02:37 +01:00
Christian Grothoff
423f05970a
expand test logic for test_auditor_api, currently crashes, hence skipping for now 2018-11-19 06:51:02 +01:00
Christian Grothoff
a71756eee2
get auditor api test to pass (minimal version) 2018-11-18 14:41:27 +01:00
Christian Grothoff
428ecee396
do not crash if session is NULL 2018-11-18 13:56:41 +01:00
Christian Grothoff
f155aff749
add basic test configuration 2018-11-18 11:57:48 +01:00
Christian Grothoff
8facb1c8ca
add dbinit cmd 2018-11-18 11:53:37 +01:00
Christian Grothoff
bbbb0986c6
complete /deposit-confirmation test command 2018-11-17 19:23:39 +01:00
Christian Grothoff
5f365133cd
add list exchanges command 2018-11-17 18:14:11 +01:00
Christian Grothoff
e42f014cff
use more const in taler_testing_lib.h 2018-11-17 17:19:02 +01:00
Christian Grothoff
cf1ce47863
more work towards testing deposit confirmations 2018-11-17 16:11:47 +01:00
Christian Grothoff
4d058c4eb7
work towards testing auditor deposit-confirmation API 2018-11-17 15:15:51 +01:00
Christian Grothoff
17edb09f38
extend testing logic to setup handle for the auditor 2018-11-11 16:45:09 +01:00
Christian Grothoff
4885b899c7
add commands to run auditor 2018-11-11 16:12:21 +01:00
Christian Grothoff
6f0b652da6
fix TXL_curl_easy_get signatures 2018-11-11 15:49:53 +01:00
Christian Grothoff
debe0d05ad
improve auditor support in libtalertesting 2018-11-11 15:46:06 +01:00
Christian Grothoff
277f90bf2b
preparing test logic for new auditor requirements (incomplete) 2018-11-10 19:28:28 +01:00
Christian Grothoff
48ad5d2b5c
fix compiler warning due to possiblity of uninitialized values if enum is out-of-range 2018-11-10 17:41:07 +01:00
Christian Grothoff
e7682b3f8d
fix potential use of uninitialized hash_context 2018-11-10 17:39:02 +01:00
Christian Grothoff
42a21ffc8e
add skeleton for auditor httpd tests 2018-11-10 13:58:02 +01:00
Christian Grothoff
ac850bfcd2
add auditing of deposit confirmations to auditor (#5447) 2018-11-04 17:36:56 +01:00
Christian Grothoff
332341cb7b
add check for #coins depoisted exceeding #coins issued (not just by amount), fixes #5446 2018-11-04 16:20:34 +01:00
Christian Grothoff
33441042a9
add auditordb constraints to enforce exchange's master_pub is added first 2018-11-04 10:58:59 +01:00
Christian Grothoff
126e3911ec
extend test to also test insert/delete exchange operation 2018-11-04 10:54:20 +01:00
Christian Grothoff
b39c3f9ca6
add missing default configs for auditor-httpd, make -u not mandatory as it is not needed for -r and check URL is well-formed if given; fix auditordb exchange insertion/removal logic 2018-11-04 10:48:32 +01:00
Christian Grothoff
dce058af76
use log instead of fprintf 2018-11-04 10:48:32 +01:00
Christian Grothoff
ebc8ae68be
implement taler-auditor-exchange 2018-11-03 21:28:52 +01:00
Christian Grothoff
a57080651d
implement /exchanges API in libtalerauditor 2018-10-28 16:44:48 +01:00
Christian Grothoff
af41624591
implement /exchanges handler in auditor-httpd 2018-10-28 12:03:07 +01:00
Christian Grothoff
be9ff317dd
add operation to count number of known coins per denomination to exchangedb 2018-10-28 11:38:45 +01:00
Christian Grothoff
bd40aad7dc
track number of coins issued per denomination in auditor (not yet used) 2018-10-28 11:30:02 +01:00
Christian Grothoff
fb0d7110e8
extend auditordb with storing information about list of exchanges and their signing keys 2018-10-28 10:26:32 +01:00
Christian Grothoff
7b62deabac
split up progress points of auditor by coin/reserve/aggregation to minimize DB conflicts 2018-10-27 21:27:23 +02:00
Christian Grothoff
2024ccd2f9
complete auditor httpd side of deposit confirmation handling (auditordb not yet ready, though) 2018-10-27 19:26:17 +02:00
Christian Grothoff
2956217b30
fix compiler warning 2018-10-27 19:23:49 +02:00
Christian Grothoff
24f6f15001
auditor-lib now builds 2018-10-27 18:58:44 +02:00
Christian Grothoff
60fe2395fd
clean up struct TALER_ExchangeSigningKeyValidityPS
(long-standing fixme: should not have contained the signature itself)
2018-10-27 18:39:12 +02:00
Christian Grothoff
bfd8a6fa68
towards building auditor-lib (not yet finished) 2018-10-27 18:38:43 +02:00
Christian Grothoff
69a8c16e58
finish first implementation of /version API call for the auditor 2018-10-24 11:56:51 +02:00
Christian Grothoff
d83c840d25
add skeleton header for auditor service 2018-10-24 11:38:00 +02:00
Christian Grothoff
25e583d0f5
update Makefile.am 2018-10-22 20:21:50 +02:00
Christian Grothoff
2d9f1babb7
delete useless copy of code 2018-10-22 20:21:49 +02:00
Marcello Stanisci
60c533562c
Fix compiler warnings.
This reverts changes made in b0d00823eb.  The warnings
are fixed by changing the functions signatures, instead of casting
their pointers.
2018-10-22 16:59:09 +02:00
Christian Grothoff
e83964badb
skeleton for libtalerauditor 2018-10-22 16:00:06 +02:00
Marcello Stanisci
8eda33bbe8
Fix auditordb.
Wrong columns names.
2018-10-22 12:44:56 +02:00
Marcello Stanisci
b0d00823eb
Fix compiler warnings. 2018-10-22 12:29:34 +02:00
Marcello Stanisci
7c9b41472f
Checking a closed reserve's status. 2018-10-22 11:31:33 +02:00
Christian Grothoff
4ad39b6b73
first skeleton of /deposit-confirmation API implementation; not yet complete, cannot work as-is, see FIXMEs 2018-10-21 20:52:26 +02:00
Florian Dold
7e426913ce
auditor: fix SQL syntax and semantic errors 2018-10-21 04:31:17 +02:00
Christian Grothoff
a0d88973b2
fix newlines 2018-10-20 19:40:32 +02:00
Christian Grothoff
4f37950a40
extend auditordb API with function to store deposit confirmations 2018-10-20 19:40:09 +02:00
Christian Grothoff
9d18caa006
remove dead variable 2018-10-20 19:38:05 +02:00
Christian Grothoff
fb952babf6
reduce redundant data fetch (#5444) 2018-10-19 11:01:49 +02:00
Florian Dold
9114794bee
exchange-lib: disable 'Expect: 100-continue' 2018-10-18 21:41:05 +02:00
Christian Grothoff
16b0c65470
keep a most sigs around when serializing 2018-10-13 19:45:50 +02:00
Christian Grothoff
504017bc65
intermediate patch towards implementing #5136 2018-10-13 19:14:11 +02:00
Christian Grothoff
3605d96423
indentation fix 2018-10-13 19:13:39 +02:00
Christian Grothoff
a381964293
style fix: always put parens on macros 2018-10-13 19:13:15 +02:00
Christian Grothoff
bf9e376c20
wrong offset, last coin is #3, not #4 2018-10-13 19:12:46 +02:00
Christian Grothoff
c0d75d4b97
fix memory leaks 2018-10-13 18:51:48 +02:00
Christian Grothoff
85e22419c9
fix issue with 'meta' not being initialized - by getting rid of it 2018-10-13 18:08:51 +02:00
Christian Grothoff
c09c900922
implement deserialization logic for #5136 2018-10-13 08:15:02 +02:00
Christian Grothoff
eb1b6fbc97
add skeleton for auditor httpd 2018-10-06 17:29:03 +02:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies) 2018-10-06 15:05:06 +02:00
Marcello Stanisci
81ce7abe19
put 'static' keyword 2018-10-04 12:33:16 +02:00
Florian Dold
5fbda29b76
more realistic refresh output, based on coinsim 2018-10-02 22:59:41 +02:00
Florian Dold
34f12d3f06
benchmark: variable 'refresh rate' 2018-10-02 21:08:59 +02:00
Florian Dold
b7bbc4cc70
print CPU time for benchmark descendant processes 2018-10-02 17:26:42 +02:00
Florian Dold
97afbe6364
write exchange stats on exit 2018-10-02 17:21:12 +02:00
Florian Dold
e9c9ca736f
fix loop that checks link response 2018-09-27 20:51:12 +02:00
Florian Dold
9e55caf92c
lower backoff threshold 2018-09-26 23:24:24 +02:00
Florian Dold
3ab7f8b840
use randomized backoff 2018-09-26 17:37:33 +02:00
Florian Dold
eada4b9ecd
Revert "Fix cherry-pick test case."
This reverts commit a5dde6ea46.
2018-09-26 16:41:01 +02:00
Marcello Stanisci
a5dde6ea46
Fix cherry-pick test case. 2018-09-25 19:08:11 +02:00
Marcello Stanisci
dd29898617
fix debug statement. 2018-09-25 12:00:25 +02:00
Marcello Stanisci
78ebba7276
fix /reject base URL. 2018-09-24 18:31:08 +02:00
Florian Dold
4e0c95f0c2
put curl default options on one place 2018-09-22 01:21:55 +02:00
Florian Dold
310b120d5d
remove leftover code 2018-09-21 22:04:41 +02:00
Florian Dold
5251e9ea40
do tcp fast open in the exchange httpd 2018-09-21 22:03:32 +02:00
Florian Dold
0a4ce8475a
use tcp fast open for /keys request 2018-09-21 22:02:05 +02:00
Florian Dold
9e60296f92
use deflate in exchange-api 2018-09-21 20:07:07 +02:00
Florian Dold
94f24f012c
use deflate for requesting /keys 2018-09-21 19:35:50 +02:00
Florian Dold
ca80a4f1c8
result must be signed 2018-09-21 17:36:19 +02:00
Marcello Stanisci
20ad59ba84
minor edit 2018-09-21 15:30:39 +02:00
Florian Dold
ff96695e47
benchmark: don't crash on --help 2018-09-21 15:15:30 +02:00
Marcello Stanisci
281c5e3879
Debugging the wirewatch. 2018-09-21 14:53:58 +02:00
Christian Grothoff
73b02adee0
adjust timeouts to try to make test more robust 2018-09-15 22:51:44 +02:00