Jonathan Buchanan
f708e4d64c
made a uuid trait
2020-07-09 01:39:42 -04:00
Christian Grothoff
92ac6dd11a
implement new behavior in exchange httpd and libtalerexchange (for #6416 )
2020-07-08 21:24:10 +02:00
Christian Grothoff
97dfbec081
add h_denom_pub to deposit signatures
2020-07-08 15:46:51 +02:00
Christian Grothoff
54e63f01df
fix #6408 : make sure all timestamps are always rounded when they arrive over JSON, or 400 the requester; similarly don't tolerate anything else as client
2020-07-05 21:54:11 +02:00
Christian Grothoff
ed5b98a2c2
GNUNET_free_non_null is gone, use GNUNET_free
2020-07-05 16:58:43 +02:00
Christian Grothoff
49f466df40
move rewind command to exchange, add proper support for rewinding in batches, modify API to rewind to label
2020-07-05 16:50:16 +02:00
Christian Grothoff
b0311807ff
fix FIXME by exposing deposit permission signing in API instead of doing it inside of the testing logic
2020-07-05 16:50:15 +02:00
Christian Grothoff
c88af6df72
fix #6236
2020-07-05 16:50:15 +02:00
Jonathan Buchanan
e01bcbb2d4
traits for int64_t and json_t
2020-07-05 16:50:14 +02:00
Jonathan Buchanan
f2ec9c08b0
testing traits for uint32_t and GNUNET_TIME_Relative
2020-07-05 16:50:14 +02:00
Jonathan Buchanan
33e7b1f662
TALER_TESTING_cmd_admin_add_incoming_with_ref finds reserve_pub if reserve_priv doesn't exist
2020-07-05 16:50:14 +02:00
Christian Grothoff
532440acf8
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-07-05 16:50:12 +02:00
Christian Grothoff
d63cf1e40e
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-07-05 16:50:12 +02:00
Christian Grothoff
099102dc57
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-07-05 16:49:23 +02:00
Christian Grothoff
cdbf3a05ae
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-07-05 16:48:26 +02:00
Christian Grothoff
91e0debfbe
implement #6181
2020-07-05 16:45:22 +02:00
Christian Grothoff
78b13737bb
fix status code
2020-07-05 16:45:22 +02:00
Christian Grothoff
556085ac80
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-07-05 16:43:23 +02:00
Christian Grothoff
035c505c71
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-07-05 16:42:37 +02:00
Christian Grothoff
70a8aca668
implement #6181
2020-07-05 16:37:42 +02:00
Christian Grothoff
0985dfd18f
fix status code
2020-07-05 16:37:41 +02:00
Christian Grothoff
5b01ccbfc6
sleep to ensure aggregator has work
2020-07-05 16:35:00 +02:00
Christian Grothoff
4f82885560
towards changing timestamp in deposit confirmation (tests failing)
2020-07-05 16:35:00 +02:00
Christian Grothoff
727b7b04f3
return fee as well
2020-07-05 16:35:00 +02:00
Christian Grothoff
4844023f69
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
2020-07-05 16:35:00 +02:00
Christian Grothoff
cde71b7fe7
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
2020-07-05 16:35:00 +02:00
Christian Grothoff
77ab94eb68
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later
2020-07-05 16:35:00 +02:00
Christian Grothoff
c31048b050
implement #6181
2020-07-05 16:34:59 +02:00
Christian Grothoff
5ac448738d
fix status code
2020-07-05 16:34:59 +02:00
Florian Dold
9c752b3d03
adjust LibEuFin binary names
2020-06-14 19:10:28 +05:30
Florian Dold
4f5df0c9e3
bank API test: make payto URI use receiver-name, according to standard
2020-06-13 20:50:05 +05:30
MS
599cba3105
nexus-exchange test.
...
give time to payments to settle, before requesting
/history/incoming and /history/outgoing.
2020-06-08 20:29:46 +02:00
MS
14b001fea0
place nexus/sandbox sqlite3 DBs under /tmp,
...
and fix their deletion before running the test.
2020-06-06 02:02:48 +02:00
MS
71eeb72b21
nexus-based tests
...
more preparation
2020-06-02 14:58:30 +02:00
MS
f6e1583016
launching nexus AND sandbox
2020-06-02 11:36:51 +02:00
MS
320c5fd740
Nexus-based tests.
...
Prefer the 'iban' method over the 'x-taler-bank',
regarding the payto:// URIs. Tests are still using
the loopback bank connection, though.
2020-06-02 10:21:12 +02:00
MS
549f8a7c7b
nexus preparation
2020-06-01 16:03:03 +02:00
MS
7f14b23914
Nexus testing.
...
Up to the point where Nexus gets launched and
the Exchange user & bank connection get created.
The test fails because the bank connection of
type "loopback" is not implemented in the nexus
yet.
2020-06-01 14:17:05 +02:00
MS
45943c22c2
GET hello endpoint from Taler Facade.
2020-05-29 18:39:33 +02:00
MS
b8226abe63
comment
2020-05-29 17:59:50 +02:00
MS
58a956d889
nexus test: create the admin user
2020-05-27 15:03:19 +02:00
MS
704bff4c53
fix nexus invocation
2020-05-27 14:52:13 +02:00
Marcello Stanisci
04d4922d71
fix nexus-test return code
...
Returning zero, so as not to block the 'make check'
experience. This is useful to check whether nexus-related
changes broke tests in a different place.
2020-04-17 15:30:24 +02:00
Marcello Stanisci
4f713b40e3
Prepare and launch Nexus for tests.
2020-04-17 15:30:24 +02:00
Christian Grothoff
d28f18f240
fix expected status code
2020-04-12 15:35:38 +02:00
Christian Grothoff
4b60d2540f
adapations related to GNUnet fixing #6149
2020-04-11 21:42:52 +02:00
Christian Grothoff
44272bf1ce
adapations to GNUnet API change
2020-04-11 21:06:30 +02:00
Christian Grothoff
88bb7f4428
fix FTBFS
2020-04-11 21:06:04 +02:00
Christian Grothoff
1b89e8380d
return signature from refund API
2020-04-10 16:49:54 +02:00
Christian Grothoff
84a40be0bc
fix #6170 and rest of #6164
2020-04-08 23:52:01 +02:00
Christian Grothoff
50bc862a68
adapt to new GNUnet sign API ( #6164 )
2020-04-08 18:18:20 +02:00
Christian Grothoff
bf8c5982a2
make exchange API more uniform in how information is returned
2020-04-05 22:05:38 +02:00
Christian Grothoff
299b4b78e0
return more error details for /wire and /keys to clients
2020-04-04 13:27:46 +02:00
Christian Grothoff
3404fda463
typos
2020-03-31 20:57:11 +02:00
Christian Grothoff
2b27d4ca8b
remove bogus warnings
2020-03-29 04:16:00 +02:00
Christian Grothoff
363e641f17
more files missing for dist target
2020-03-29 03:55:36 +02:00
Christian Grothoff
7f367110d0
more missing files for 'dist'
2020-03-29 03:41:12 +02:00
Christian Grothoff
8db48871d6
add missing files to dist
2020-03-29 03:22:55 +02:00
Christian Grothoff
89a4f5bba6
fix indentation
2020-03-29 01:58:38 +01:00
Christian Grothoff
eb32dd626a
fix leaks and bad RC logic wrt json reference copying
2020-03-28 23:32:02 +01:00
Christian Grothoff
677654f609
doxygen fix
2020-03-28 22:22:29 +01:00
Christian Grothoff
da1df35db3
reserve history amount includes fee, add it
2020-03-28 21:46:03 +01:00
Christian Grothoff
bc57f007e4
lookup in reverse order also inside of batch
2020-03-28 21:45:46 +01:00
Christian Grothoff
96c5cd4c42
do not re-use command label
2020-03-28 21:45:27 +01:00
Christian Grothoff
88957c55be
ignore report directories
2020-03-28 20:47:21 +01:00
Christian Grothoff
d5351641f8
implement #6049
2020-03-28 20:45:53 +01:00
Christian Grothoff
9d9b0e0e57
split recoup and revoke commands into two files for better readability
2020-03-28 20:42:20 +01:00
Christian Grothoff
2d297a1721
skip tests if ports are unavailable
2020-03-28 20:41:49 +01:00
Christian Grothoff
baaa8832b2
fix leak
2020-03-28 12:53:10 +01:00
Christian Grothoff
17cfbced1d
fix inconsistency in field naming
2020-03-27 17:32:39 +01:00
Christian Grothoff
f262d8abde
comment style fix
2020-03-27 16:46:20 +01:00
Florian Dold
e267cb985b
cover actual aggregation in exchange test
2020-03-27 20:47:30 +05:30
Florian Dold
1a15cd29e8
deposit command: create merchant key in a more appropriate place
2020-03-27 20:01:31 +05:30
Florian Dold
20933b3950
fix deposit idempotency test case
2020-03-27 19:54:16 +05:30
Florian Dold
6620a5b691
add test case (currently fails) for deposit idempotency
2020-03-27 19:14:55 +05:30
Christian Grothoff
d923f29144
removing warnings
2020-03-27 14:05:59 +01:00
Florian Dold
449e99bd51
test multiple transfers to same reserve
2020-03-27 18:05:21 +05:30
Florian Dold
0a047c155a
recoup test: cover recoup of fully spend coin
2020-03-27 16:52:42 +05:30
Florian Dold
e965659d36
recoup test: try recoup on non-revoked denomination
2020-03-27 16:35:37 +05:30
Florian Dold
a57fd6c4b3
fix test case (old one required recoup to *not* be idempotent
2020-03-23 12:28:08 +05:30
Christian Grothoff
9add4cf405
doxygen updates
2020-03-22 21:36:42 +01:00
Christian Grothoff
744322fdda
the big EC rename
2020-03-22 00:50:18 +01:00
Christian Grothoff
5ddedeeded
adjust tests to auditor changes
2020-03-21 17:37:06 +01:00
Christian Grothoff
36f4dbab3b
adjust tests to auditor changes
2020-03-21 17:36:01 +01:00
Christian Grothoff
68098bcade
fix test
2020-03-21 17:33:33 +01:00
Christian Grothoff
1b24e2f9bb
more statistics, make explicit table lock optional, can hurt performance badly
2020-03-20 18:38:57 +01:00
Florian Dold
6a46b13e80
make recoup idempotent and simplify response
2020-03-20 14:01:59 +05:30
Christian Grothoff
10c56bcea0
improving benchmarking logic, including more timings
2020-03-20 02:36:50 +01:00
Christian Grothoff
7a1c6769e4
enable using python bank with benchmark
2020-03-19 21:44:54 +01:00
Christian Grothoff
f76e7c46e6
make do_retry not retry forever in tests/benchmark
2020-03-19 19:33:20 +01:00
Christian Grothoff
749d9615d1
concurrency requires strtok_r
2020-03-19 19:17:56 +01:00
Christian Grothoff
15489275ba
make DB reset optional in API, use it in tests, but not in the benchmark
2020-03-19 17:56:23 +01:00
Florian Dold
278cec1fef
make refund test case fail to show broken implementation
2020-03-18 22:39:47 +05:30
Christian Grothoff
59a5b1ceb8
a first, untested stab at #6123 , committing intermediate result that passes (existing) tests
2020-03-17 22:13:15 +01:00
Christian Grothoff
c17909d820
add cmd line option to restrict timetravel, minor code cleanup of keystate logic
2020-03-17 17:33:30 +01:00
Christian Grothoff
4322bbf2f1
move common logic to parse currency into libtalerutil
2020-03-15 20:08:38 +01:00
Christian Grothoff
f8095d7297
fix shutdown logic of test
2020-03-15 00:36:15 +01:00
Christian Grothoff
dc02821d8f
fix regression introduced by addition of 'revoke' field
2020-03-13 19:13:36 +01:00
Christian Grothoff
8d5f42fe0c
add separate commands for closer/transfer steps, modify test cases to use new commands
2020-03-12 10:53:49 +01:00
Christian Grothoff
6e3765d852
more careful use of TALER_JSON_get_error_code(), limit to cases where we expect to get one
2020-03-10 18:51:08 +01:00
Christian Grothoff
f32193aae2
minor code cleanup
2020-03-10 17:11:12 +01:00
Christian Grothoff
fc79dd233a
fix typo, remove obsolete option, initialize mpub
2020-03-10 15:28:54 +01:00
Christian Grothoff
a9b3c564bd
rename BANK_excecute_wire_transfer to BANK_transfer, improve error handling when curl_easy_init() fails
2020-03-03 17:14:00 +01:00
Christian Grothoff
113f3891d1
removing dead code, using more named constants, checking return values better
2020-03-01 17:51:46 +01:00
Christian Grothoff
72764dc5f1
doxygen fixes
2020-02-29 17:13:43 +01:00
Christian Grothoff
0a2b049864
big rename fest related to #6067 API renaming
2020-02-29 16:42:10 +01:00
Christian Grothoff
de9ab28ab9
rename fest, make symbols better match new endpoint names
2020-02-27 23:46:53 +01:00
Christian Grothoff
cef3b713ac
nicer logging
2020-02-26 23:51:40 +01:00
Christian Grothoff
ec8e3fad20
fix shutdown logic if shutdown happens during startup
2020-02-26 23:21:08 +01:00
Christian Grothoff
42bc31744b
implement /config in fakebank and taler_bank_lib.h ( #6066 )
2020-02-04 21:59:43 +01:00
Christian Grothoff
e6d6987e56
capitalization of option changed
2020-02-04 21:49:18 +01:00
Florian Dold
26ad7c8191
spelling of 'mismatch'
2020-01-20 02:11:03 +01:00
Christian Grothoff
e46467510d
leak fixes
2020-01-19 22:24:04 +01:00
Christian Grothoff
4fac247bc7
use TALER_config_get_amount() consistently, require currency rounding option to exist instead of defaulting
2020-01-19 20:57:32 +01:00
Florian Dold
cb58740fbd
remove redundant METHOD option, we can derive it from PAYTO_URI
2020-01-19 19:12:47 +01:00
Florian Dold
6074790867
config syntax for accounts
2020-01-19 18:48:23 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL
2020-01-19 17:03:19 +01:00
Florian Dold
9f522baadc
add missing files and adjust .gitignore rules for testing move
2020-01-19 16:06:29 +01:00
Florian Dold
03bcd50d9a
move libtalertwistertesting into the exchange
2020-01-19 16:02:04 +01:00
Christian Grothoff
42ef95d002
duplicate code elimination
2020-01-19 15:38:44 +01:00
Florian Dold
72a629a8be
move testing logic and integration tests into separate directory
2020-01-19 15:23:33 +01:00