Commit Graph

3219 Commits

Author SHA1 Message Date
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