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
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
Christian Grothoff
db669ee495
payback -> recoup stranglers
2020-01-18 23:49:37 +01:00
Christian Grothoff
ff35a1d229
deduplicate doxyfiles, integrate with build
2020-01-18 23:19:48 +01:00
Florian Dold
824e6ce9d7
doxygen fixes, remove redundant parameters
2020-01-18 20:20:24 +01:00
Florian Dold
34e6425f9d
doxygen fixes / redundant parameter elimination
2020-01-18 20:04:03 +01:00
Christian Grothoff
c5c04cb51f
fix -Wextra warnings
2020-01-18 17:53:54 +01:00
Florian Dold
0f214150db
make parameter const
2020-01-18 17:44:06 +01:00
Christian Grothoff
47deacaa15
doxygen
2020-01-18 17:06:32 +01:00
Christian Grothoff
644049274c
doxygen
2020-01-18 16:41:24 +01:00
Christian Grothoff
c87722791d
doxygen
2020-01-18 14:36:49 +01:00
Christian Grothoff
5583b7a059
libraries were folded, fold headers as well
2020-01-18 14:24:55 +01:00
Christian Grothoff
5146d62b14
doxygen
2020-01-18 14:16:40 +01:00
Christian Grothoff
9c45958a55
doxygen
2020-01-18 14:13:28 +01:00
Christian Grothoff
9317d6d69d
doxygen work
2020-01-18 13:23:17 +01:00
Christian Grothoff
dac255329f
doxygen
2020-01-18 13:23:17 +01:00
Christian Grothoff
5abe350a05
doxygen
2020-01-18 12:34:17 +01:00
Florian Dold
8e0180b257
remove more redundant args
2020-01-18 04:39:52 +01:00
Florian Dold
5d19229561
dce: redundant args
2020-01-18 04:31:55 +01:00
Florian Dold
0cebe32fc6
dce: redundant arg
2020-01-18 04:20:29 +01:00
Florian Dold
47698761d0
remove redundant arg
2020-01-18 04:12:51 +01:00
Florian Dold
22bd615fa9
remove redundant exchange_account_url
2020-01-18 04:10:02 +01:00
Florian Dold
add346eb6c
remove redundant bank_url field
2020-01-18 04:00:35 +01:00
Florian Dold
08a447985c
small steps towards removing hard-coded exchange account
2020-01-18 03:50:54 +01:00
Florian Dold
d2d7791c69
DCE: only keep x-taler-wire processing functions we actually use/need
2020-01-18 01:13:53 +01:00
Florian Dold
c805e9cf20
DCE: we never have to derrive the wire_gateway_url from the payto URI
2020-01-18 00:43:29 +01:00
Florian Dold
d95f2a9e43
DCE, part one
2020-01-17 23:40:44 +01:00
Christian Grothoff
b322614eb2
doxygen
2020-01-17 23:01:17 +01:00
Christian Grothoff
108bf01f11
doxygen fixes
2020-01-17 22:24:18 +01:00
Christian Grothoff
646ec32adb
doxygen fixes
2020-01-17 22:17:48 +01:00
Christian Grothoff
985db277f1
doxygen fixes
2020-01-17 22:13:40 +01:00
Christian Grothoff
e57dcc4b52
doxy fix
2020-01-17 22:06:44 +01:00
Christian Grothoff
005272da43
address EC FIXMEs
2020-01-17 21:53:37 +01:00
Christian Grothoff
81d3b454e1
point out duplication, fix hard-coded '2'
2020-01-17 20:50:48 +01:00
Florian Dold
33877b2c55
address fixme, fix use-after-free in testing traits
2020-01-17 20:50:18 +01:00
Christian Grothoff
90c411bc19
sort out URL types more nicely
2020-01-17 20:42:24 +01:00
Christian Grothoff
fad5a22680
fix FIXME: clarify field semantics
2020-01-17 20:27:17 +01:00
Christian Grothoff
376277f7e8
remove bogus comment
2020-01-17 20:07:57 +01:00
Christian Grothoff
11c5283711
prepare API to enable verification of fees in coin history check
2020-01-17 19:54:16 +01:00
Christian Grothoff
ae30ff9f7e
bogus comment, fields no longer exist, logic problem ditto
2020-01-17 19:34:24 +01:00
Florian Dold
7378b5a081
amount rounding a la Christian
2020-01-17 18:59:15 +01:00
Christian Grothoff
67bfd94009
resolve another FIXME
2020-01-17 17:52:20 +01:00
Christian Grothoff
096de63d04
resolved
2020-01-17 17:47:50 +01:00
Christian Grothoff
27457d94e4
use properly typed merchant pub/priv key in trait
2020-01-17 17:46:13 +01:00
Christian Grothoff
0328ab313b
use more specific SELECT in exchange aggregator on refunds instead of filtering in application logic later
2020-01-17 15:43:04 +01:00
Florian Dold
84f3b9b287
payto fixes
2020-01-17 15:03:27 +01:00
Christian Grothoff
0145609890
fix FIXME: total up irregular paybacks and add to report
2020-01-17 15:00:32 +01:00
Christian Grothoff
540b22ce1c
implement rh caching
2020-01-17 12:52:33 +01:00
Christian Grothoff
7995678e77
fix error code use
2020-01-17 03:42:36 +01:00
Florian Dold
cc862fb279
payto fixes WIP
2020-01-17 02:23:48 +01:00
Christian Grothoff
8ea2af444f
more work towards DB versioning
2020-01-17 01:55:01 +01:00
Florian Dold
6faf6fc732
payto fixes WIP
2020-01-17 01:23:32 +01:00
Christian Grothoff
d61c2e400a
kill another FIXME
2020-01-16 23:49:34 +01:00
Christian Grothoff
0305cf5f9e
move function to libtalerexchangedb, as planned
2020-01-16 22:40:12 +01:00
Christian Grothoff
a19939baec
fix comments
2020-01-16 22:26:25 +01:00
Christian Grothoff
19922fa046
pointless to check denom_sig, do not return
2020-01-16 22:21:18 +01:00
Christian Grothoff
dd6bad739a
debig
2020-01-16 21:26:53 +01:00
Marcello Stanisci
1e26fc824c
Finishing CMD to insert denomination and deposit into database.
2020-01-16 18:38:04 +01:00