Commit Graph

3776 Commits

Author SHA1 Message Date
Christian Grothoff
575c10027b
also offer API for receiving rounded relative time via JSON 2020-07-05 22:00:01 +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
042e5cafd7
merge 2020-07-05 16:51:54 +02:00
Christian Grothoff
6eb32a65bf
fix error reporting/handling 2020-07-05 16:50:51 +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
Christian Grothoff
5220e8394f
synchronize with latest GANA 2020-07-05 16:50:15 +02:00
Christian Grothoff
dc9f41a794
clarify with/without wire fee issue, sanity checks on currencies 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
Christian Grothoff
25ecc97717
add TALER_MHD_parse_internal_json_data() 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
a32a5ef25a
add TALER_yna_to_string() 2020-07-05 16:50:14 +02:00
Jonathan Buchanan
0c4eca0d48
moved yna to exchange 2020-07-05 16:50:14 +02:00
Jonathan Buchanan
acd8d318c0
taler_error_codes.h auto generated from gnunet/gana.git as a submodule 2020-07-05 16:50:13 +02:00
Jonathan Buchanan
9bbaff19c1
fixed endianness in taler_sq_lib 2020-07-05 16:50:13 +02:00
Jonathan Buchanan
83319e1782
implemented the other functions for taler_sq_lib 2020-07-05 16:50:13 +02:00
Jonathan Buchanan
ef0e79927c
created taler_sq_lib 2020-07-05 16:50:13 +02:00
Christian Grothoff
44c70269e2
update ECs 2020-07-05 16:50:13 +02:00
Christian Grothoff
6eabe1ab4f
more ECs 2020-07-05 16:50:13 +02:00
Christian Grothoff
0361508358
ecs 2020-07-05 16:50:13 +02:00
Christian Grothoff
af28c9b449
fix auditor drop 2020-07-05 16:50:12 +02:00
Christian Grothoff
9ed9c01878
fix drop call 2020-07-05 16:50:12 +02:00
Christian Grothoff
7f10627a31
update 2020-07-05 16:50:12 +02:00
Christian Grothoff
15daa78127
return fee as well 2020-07-05 16:50:12 +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
e9d80d764a
return fee as well 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
ef97d426b1
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-07-05 16:46:41 +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
baab185d87
more ecs 2020-07-05 16:44:10 +02:00
Christian Grothoff
142f6edaff
use unregister 2020-07-05 16:44:09 +02:00
Christian Grothoff
4119dbd1aa
update 2020-07-05 16:44:09 +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
19f51f558b
make tests skip until we have a wallet to regen the DB 2020-07-05 16:35:00 +02:00
Christian Grothoff
18aba845fa
void basedb due to signature format change 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
Christian Grothoff
9d3336f8f7
v8 bump 2020-07-05 16:34:59 +02:00
Christian Grothoff
b145c1728b
fix error reporting/handling 2020-07-05 16:32:15 +02:00
Christian Grothoff
025c2f5667
move rewind command to exchange, add proper support for rewinding in batches, modify API to rewind to label 2020-07-03 20:57:01 +02:00
Christian Grothoff
d5ba2437f1
fix FIXME by exposing deposit permission signing in API instead of doing it inside of the testing logic 2020-06-27 18:49:12 +02:00
Christian Grothoff
d0d71dab81
fix #6236 2020-06-27 18:30:25 +02:00
Christian Grothoff
0063680445
synchronize with latest GANA 2020-06-25 10:40:56 +02:00
Christian Grothoff
b3411dc65c
Merge branch 'protocolv8' of git+ssh://git.taler.net/exchange into protocolv8 2020-06-23 10:30:37 +02:00
Christian Grothoff
48d4690fbd
clarify with/without wire fee issue, sanity checks on currencies 2020-06-23 10:30:31 +02:00
Jonathan Buchanan
29d163d58c
traits for int64_t and json_t 2020-06-22 16:04:54 -04:00
Jonathan Buchanan
697f522c79
testing traits for uint32_t and GNUNET_TIME_Relative 2020-06-22 03:13:10 -04:00
Christian Grothoff
ffc3f20daa
Merge branch 'protocolv8' of git+ssh://git.taler.net/exchange into protocolv8 2020-06-21 23:07:09 +02:00
Christian Grothoff
7d845b0c96
add TALER_MHD_parse_internal_json_data() 2020-06-21 23:05:51 +02:00
Jonathan Buchanan
1aa16875f1
TALER_TESTING_cmd_admin_add_incoming_with_ref finds reserve_pub if reserve_priv doesn't exist 2020-06-16 21:37:17 -04:00
Florian Dold
9c752b3d03
adjust LibEuFin binary names 2020-06-14 19:10:28 +05:30
Christian Grothoff
6b6814a205
add TALER_yna_to_string() 2020-06-14 15:15:53 +02:00
Florian Dold
4f5df0c9e3
bank API test: make payto URI use receiver-name, according to standard 2020-06-13 20:50:05 +05:30
Jonathan Buchanan
0276abcd9a
moved yna to exchange 2020-06-12 15:16:40 -04:00
MS
1039a1c2f4
IBAN parser skips BIC part. 2020-06-10 17:56:58 +02:00
MS
ab1fc20a45
avoid assert() upon malformed IBANs 2020-06-10 16:15:48 +02:00
MS
3d1dc57bd8
IBAN parsing test. 2020-06-10 11:02:04 +02:00
Florian Dold
2256f31947
log full config section in error message instead of just the wire method 2020-06-10 12:45:27 +05:30
Jonathan Buchanan
111445993c
taler_error_codes.h auto generated from gnunet/gana.git as a submodule 2020-06-08 14:55:50 -04:00
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
Jonathan Buchanan
979692298f
fixed endianness in taler_sq_lib 2020-06-03 12:40:15 -04:00
Jonathan Buchanan
1490cd0ec4
implemented the other functions for taler_sq_lib 2020-06-02 14:20:55 -04:00
Jonathan Buchanan
21ac29b76b
created taler_sq_lib 2020-06-02 11:57:39 -04: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
Christian Grothoff
6801e8e560
update ECs 2020-05-31 17:39:26 +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
Christian Grothoff
903c421f55
more ECs 2020-05-22 13:01:19 +02:00
Christian Grothoff
879383e5ad
ecs 2020-05-22 11:19:24 +02:00
Christian Grothoff
5f993f573d
fix auditor drop 2020-05-19 02:23:57 +02:00
Christian Grothoff
cc8eecca91
fix drop call 2020-05-19 02:13:17 +02:00
Christian Grothoff
9e0cb7d91f
merge 2020-05-19 01:18:37 +02:00
Christian Grothoff
863e7b4f5d
more ecs 2020-05-19 01:16:34 +02:00
Christian Grothoff
3355509eda
use unregister 2020-05-19 01:16:34 +02:00
Christian Grothoff
9e05798330
update 2020-05-19 01:16:34 +02:00
Christian Grothoff
5a4547388b
return fee as well 2020-05-19 01:16:29 +02:00
Christian Grothoff
f88fd4640f
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-05-19 01:16:06 +02:00
Christian Grothoff
353c4e2fa0
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-05-19 01:15:30 +02:00
Christian Grothoff
65c3c71ca9
sleep to ensure aggregator has work 2020-05-19 01:05:58 +02:00
Christian Grothoff
7217b8d065
towards changing timestamp in deposit confirmation (tests failing) 2020-05-19 01:05:58 +02:00
Christian Grothoff
0dfe7c23cb
return fee as well 2020-05-19 01:05:58 +02:00
Christian Grothoff
a177098a4a
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-05-19 01:05:58 +02:00
Christian Grothoff
3910cb7415
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-05-19 01:05:58 +02:00
Christian Grothoff
bfeb9ac5d0
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-05-19 01:05:57 +02:00
Christian Grothoff
eb965ac709
make tests skip until we have a wallet to regen the DB 2020-05-19 01:05:57 +02:00
Christian Grothoff
cf596d66f5
void basedb due to signature format change 2020-05-19 01:05:57 +02:00
Christian Grothoff
c7086fccd3
implement #6181 2020-05-19 01:05:57 +02:00
Christian Grothoff
fcc5e81df0
fix status code 2020-05-19 01:05:57 +02:00
Christian Grothoff
77195fe6fa
v8 bump 2020-05-19 01:05:57 +02:00
Christian Grothoff
65a782f6b1
more ecs 2020-05-18 19:10:47 +02:00
Christian Grothoff
18e62d8513
use unregister 2020-05-16 11:14:44 +02:00
Christian Grothoff
178e549be3
merge 2020-05-11 10:03:34 +02:00
Christian Grothoff
c1108af962
update 2020-05-11 10:01:40 +02:00
Christian Grothoff
93464191f5
sleep to ensure aggregator has work 2020-05-11 10:01:40 +02:00
Christian Grothoff
141d4b154a
towards changing timestamp in deposit confirmation (tests failing) 2020-05-11 10:01:40 +02:00
Christian Grothoff
28dff45363
return fee as well 2020-05-11 10:01:40 +02:00
Christian Grothoff
275ff5e8aa
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-05-11 10:01:40 +02:00
Christian Grothoff
62e3310774
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-05-11 10:01:40 +02:00
Christian Grothoff
1038107e63
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-05-11 10:01:40 +02:00
Christian Grothoff
a368f427d1
make tests skip until we have a wallet to regen the DB 2020-05-11 10:01:40 +02:00
Christian Grothoff
f93bf0b72b
void basedb due to signature format change 2020-05-11 10:01:40 +02:00
Christian Grothoff
a8cd04da3f
implement #6181 2020-05-11 10:01:39 +02:00
Christian Grothoff
1d7a2a33c5
fix status code 2020-05-11 10:01:39 +02:00
Christian Grothoff
6725053b22
v8 bump 2020-05-11 10:01:39 +02:00
Christian Grothoff
eaa21af98e
sleep to ensure aggregator has work 2020-05-08 19:47:15 +02:00
Christian Grothoff
7ab9d526f2
towards changing timestamp in deposit confirmation (tests failing) 2020-05-07 20:22:02 +02:00
Christian Grothoff
af52541eac
return fee as well 2020-05-05 22:17:16 +02:00
Christian Grothoff
c7ae928ffc
add ec 2020-05-04 10:07:32 +02:00
Christian Grothoff
02eeee79d8
add ec 2020-05-04 10:07:02 +02:00
Christian Grothoff
e4aa60fc4e
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-05-03 20:12:18 +02:00
Christian Grothoff
1ed77a9f2e
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-05-03 20:07:49 +02:00
Christian Grothoff
35bfdbef19
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-05-03 19:54:36 +02:00
Christian Grothoff
922d3be4eb
make tests skip until we have a wallet to regen the DB 2020-05-01 19:48:11 +02:00
Christian Grothoff
b81da19a9f
void basedb due to signature format change 2020-05-01 19:44:45 +02:00
Christian Grothoff
52f370c8e4
implement #6181 2020-05-01 19:41:14 +02:00
Christian Grothoff
e9c62a69dc
fix status code 2020-05-01 19:22:32 +02:00
Christian Grothoff
e72d9f8bb9
v8 bump 2020-05-01 18:40:08 +02:00
Christian Grothoff
78031b2711
more error codes 2020-05-01 18:38:21 +02:00
Florian Dold
4583ce4ef3
/terms also must have CORS headers 2020-05-01 14:02:29 +05:30
Christian Grothoff
e2e8d62574
need array terminator 2020-04-24 20:57:04 +02:00
Christian Grothoff
6772037321
fix invariant check 2020-04-24 00:52:33 +02:00
Christian Grothoff
de61e06eb1
fix #6198 2020-04-23 16:06:21 +02:00
Christian Grothoff
8b99abbe62
CSE elimination, fix #6218 2020-04-23 15:26:17 +02:00
Christian Grothoff
7666542ab6
fix #6219 2020-04-23 15:22:41 +02:00
Christian Grothoff
051ccdf0e7
fix #6215~15757 2020-04-23 12:05:27 +02:00
Christian Grothoff
c79a95c7d2
write overflow check nicer (#6215) 2020-04-23 12:02:52 +02:00
Christian Grothoff
0774fd7020
fix #6213 2020-04-23 11:59:12 +02:00
Christian Grothoff
727eccbe64
add invariant checks for #6214 2020-04-23 11:55:10 +02:00