Commit Graph

945 Commits

Author SHA1 Message Date
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
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
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
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
5ac448738d
fix status code 2020-07-05 16:34:59 +02:00
MS
f6e1583016
launching nexus AND sandbox 2020-06-02 11:36:51 +02:00
Christian Grothoff
c7ae928ffc
add ec 2020-05-04 10:07:32 +02:00
Christian Grothoff
78031b2711
more error codes 2020-05-01 18:38:21 +02:00
Christian Grothoff
0774fd7020
fix #6213 2020-04-23 11:59:12 +02:00
Christian Grothoff
ab752e9591
also validate merchant IBANs before signing 2020-04-19 22:31:00 +02:00
Marcello Stanisci
4f713b40e3
Prepare and launch Nexus for tests. 2020-04-17 15:30:24 +02:00
Christian Grothoff
b93fba2cc1
API updates and new error codes for merchant implementation of #6173 2020-04-12 20:46:33 +02:00
Christian Grothoff
9e3371ae9b
adapt withdraw2 API to support new tip-pickup design (#6173) 2020-04-12 19:22:45 +02:00
Christian Grothoff
00350bc228
remove c_hash from planchet detail where it does not logically belong 2020-04-12 16:44:28 +02:00
Christian Grothoff
2d83516871
add missing comment 2020-04-10 21:59:31 +02:00
Christian Grothoff
1b89e8380d
return signature from refund API 2020-04-10 16:49:54 +02:00
Christian Grothoff
70a794b6f9
add error codes 2020-04-10 16:49:45 +02:00
Christian Grothoff
543fe4ae36
make code compiler without warnings with latest libmicrohttpd API 2020-04-09 00:59:55 +02:00
Christian Grothoff
84a40be0bc
fix #6170 and rest of #6164 2020-04-08 23:52:01 +02:00
Christian Grothoff
b22ec7570e
this signature was pretty much always obsolete 2020-04-07 18:43:36 +02:00
Christian Grothoff
aa65247662
make version field const 2020-04-07 11:47:47 +02:00
Christian Grothoff
9eb741b05b
more error codes 2020-04-06 19:49:37 +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
5059da7108
more error codes 2020-04-04 16:50:13 +02:00
Christian Grothoff
82b6c0887d
more error codes 2020-04-04 16:46:25 +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
643b3e3be3
update error codes 2020-04-03 21:14:40 +02:00
Christian Grothoff
61cfaa5981
update error codes for merchant 2020-04-02 20:22:45 +02:00
Christian Grothoff
d1bf26929e
typo 2020-04-01 23:12:00 +02:00
Christian Grothoff
3404fda463
typos 2020-03-31 20:57:11 +02:00
Christian Grothoff
677654f609
doxygen fix 2020-03-28 22:22:29 +01:00
Christian Grothoff
e16f463adb
resolved FIXMEs 2020-03-28 22:00:21 +01:00
Christian Grothoff
ae9f751a7c
do return fees in history 2020-03-28 20:46:57 +01:00
Christian Grothoff
d5351641f8
implement #6049 2020-03-28 20:45:53 +01:00
Florian Dold
e267cb985b
cover actual aggregation in exchange test 2020-03-27 20:47:30 +05:30
Florian Dold
6620a5b691
add test case (currently fails) for deposit idempotency 2020-03-27 19:14:55 +05:30
Christian Grothoff
f052527ea5
fix recoup-refresh audit logic 2020-03-26 20:54:41 +01:00
Christian Grothoff
c032c5fc40
fix EC codes for merchant 2020-03-23 10:18:08 +01:00
Christian Grothoff
db4af18a99
fix ec 2020-03-23 10:11:14 +01:00
Christian Grothoff
9add4cf405
doxygen updates 2020-03-22 21:36:42 +01:00
Christian Grothoff
adef4a91ca
the big EC rename, part II 2020-03-22 01:06:53 +01:00
Christian Grothoff
744322fdda
the big EC rename 2020-03-22 00:50:18 +01:00
Christian Grothoff
36f4dbab3b
adjust tests to auditor changes 2020-03-21 17:36:01 +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
5e98c0652a
fix macro causing syntax issues 2020-03-19 19:33:10 +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
Christian Grothoff
86f2d65daf
style, indentation and type fixes for lib/ 2020-03-17 17:47:53 +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
c597af8334
adjust types to match latest GNUnet API 2020-03-17 01:09:16 +01:00
Christian Grothoff
cd83daaeae
simplify refund processing, add additional checks for matching currency 2020-03-16 20:23:45 +01:00
Christian Grothoff
7fee395bb6
harden URI validation logic 2020-03-16 16:13:21 +01:00
Christian Grothoff
4322bbf2f1
move common logic to parse currency into libtalerutil 2020-03-15 20:08:38 +01:00
Christian Grothoff
d292b8edca
code cleanup and additional error checking logic for #6124, but no actual semantic change 2020-03-14 20:18:47 +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
83631bc98f
split reserve closing from main aggregation logic 2020-03-12 10:11:24 +01:00
Florian Dold
1896c1dfb5
fix EC typo (by importing generated header) 2020-03-12 00:39:45 +05:30
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
f6684c1ae3
actually look at recoup/revocations in libtalerexchange and expose the result to clients; make exchange API follow specification 2020-03-10 14:25:57 +01:00
Christian Grothoff
c20078010b
fix comments, naming consistency issues 2020-03-07 14:35:32 +01:00
Christian Grothoff
ffcadbff8c
code cleanup (comments, scoping, naming, indentation) 2020-03-07 00:28:07 +01:00
Christian Grothoff
52d41311ac
new coins => fresh coins, also move comments into the database itself 2020-03-05 23:49:47 +01:00
Christian Grothoff
a49bfef2fb
rename for consistency 2020-03-05 23:02:38 +01:00
Christian Grothoff
7dd52a0892
clean up comments, renaming for clarity 2020-03-05 22:38:19 +01:00
Christian Grothoff
642992f9c3
more renaming 2020-03-04 12:10:11 +01:00
Christian Grothoff
c6874cdb1b
fix comments 2020-03-04 12:04:28 +01:00
Christian Grothoff
7f37017e91
more renaming 2020-03-04 11:51:00 +01:00
Christian Grothoff
6cc516427b
minor code clean up, renaming for consistency 2020-03-04 11:47:22 +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
97fb6b0091
fixing memory leak, comments, renaming callback type to make it more concise 2020-03-03 16:35:20 +01:00
Christian Grothoff
3ba839dee5
remove /config from API, as that is not part of the wire gateway specification 2020-03-03 15:40:51 +01:00
Christian Grothoff
440c3dc1f0
fix missing NULL termination on array 2020-03-01 13:44:13 +01:00
Christian Grothoff
1eb292fe1f
check well-formedness of URI when signing, check return value of function for error 2020-03-01 13:31:46 +01:00
Christian Grothoff
2906aeb459
add ENABLE_SANITY_CHECKS #define instead of using '1' 2020-03-01 13:14:46 +01:00
Christian Grothoff
f979ee9aca
add ENABLE_SANITY_CHECKS #define instead of using '1' 2020-03-01 13:13:33 +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
fb9324338d
phase 1 of #6067: update exchange HTTPD to new API style 2020-02-26 17:00:41 +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
9bfeec352b
fix #6065 2020-02-04 20:57:11 +01:00
Florian Dold
975d9c9d15
make sure request_uid is actually unique
Allowing duplicate request_uid for different transfer details means that
somebody might eventually rely on this, which is bad.  They should
really be unique, it makes tracing easier.
2020-01-21 16:13:22 +01:00
Florian Dold
c87eb30e78
some comments on aggregator 2020-01-20 00:07:45 +01:00
Florian Dold
801592b460
doxygen fix 2020-01-19 23:05:22 +01:00
Florian Dold
12468e1fd8
denom->amount 2020-01-19 22:01:27 +01:00
Christian Grothoff
c48e4a8a06
comment on JSON canonicalization 2020-01-19 21:18:03 +01:00
Christian Grothoff
6f3c682722
rename: TALER_config_get_denom->amount 2020-01-19 20:39:27 +01:00
Christian Grothoff
59398cfd76
separate util.c and url.c 2020-01-19 20:33:07 +01:00
Christian Grothoff
600592dbf6
fix rounding, extend test 2020-01-19 20:11:32 +01:00
Christian Grothoff
d22a52cc7a
fix copyright headers as per CA 2020-01-19 19:21:58 +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