Christian Grothoff
|
69dd5657fc
|
nicer error handling
|
2020-03-15 22:38:17 +01:00 |
|
Christian Grothoff
|
bddd7986d7
|
status => history
|
2020-03-15 22:36:51 +01:00 |
|
Christian Grothoff
|
7993c9b2fd
|
clean up /wire logic
|
2020-03-15 22:28:13 +01:00 |
|
Christian Grothoff
|
efdc91ead4
|
clean up link logic
|
2020-03-15 22:24:15 +01:00 |
|
Christian Grothoff
|
f29a7e3155
|
add dependency
|
2020-03-15 22:10:12 +01:00 |
|
Christian Grothoff
|
d06d0af2fe
|
code cleanup
|
2020-03-15 22:08:29 +01:00 |
|
Christian Grothoff
|
9ee86d4da4
|
major renaming of internal symbols for better consistency
|
2020-03-15 21:42:35 +01:00 |
|
Christian Grothoff
|
d3f7cc1184
|
clean up wirewatch logic
|
2020-03-15 21:20:56 +01:00 |
|
Christian Grothoff
|
c898a1e13b
|
clean up closer logic, improve error handling, simplify logic, add comments
|
2020-03-15 20:42:47 +01:00 |
|
Christian Grothoff
|
4322bbf2f1
|
move common logic to parse currency into libtalerutil
|
2020-03-15 20:08:38 +01:00 |
|
Christian Grothoff
|
d7cfb11fc6
|
fix new ag logic
|
2020-03-15 00:55:58 +01:00 |
|
Christian Grothoff
|
f8095d7297
|
fix shutdown logic of test
|
2020-03-15 00:36:15 +01:00 |
|
Christian Grothoff
|
b3a52548fd
|
Merge branch 'master' of git+ssh://git.taler.net/exchange
|
2020-03-14 23:47:30 +01:00 |
|
Christian Grothoff
|
87a8d2d243
|
remove unused code
|
2020-03-14 22:58:40 +01:00 |
|
Christian Grothoff
|
ce44b4a028
|
clean up aggregator logic, make it more robust against invariant failures
|
2020-03-14 22:56:14 +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
|
6aca928cf8
|
expand DB test to cover #6124 better (passed immediately, does not explain the failure)
|
2020-03-14 19:45:43 +01:00 |
|
Christian Grothoff
|
d9c3627bc5
|
run closer and transfer with aggregator, check if we actually did get deposit confirmations before running #24
|
2020-03-14 17:46:53 +01:00 |
|
Christian Grothoff
|
7ae575dccb
|
fix use after free
|
2020-03-14 16:24:44 +01:00 |
|
Christian Grothoff
|
f13f030777
|
reset is unnecessary, we did just drop and recreate the entire DB
|
2020-03-13 19:34:52 +01:00 |
|
Christian Grothoff
|
89739d1668
|
nicer log message
|
2020-03-13 19:34:24 +01:00 |
|
Christian Grothoff
|
dc02821d8f
|
fix regression introduced by addition of 'revoke' field
|
2020-03-13 19:13:36 +01:00 |
|
Christian Grothoff
|
e05ce36f30
|
implement test mode in taler-exchange-transfer
|
2020-03-13 15:19:47 +01:00 |
|
Christian Grothoff
|
9c20b62eb9
|
database setup logic is now external to httpd
|
2020-03-13 14:55:58 +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
|
b91fcbb92f
|
finish separation of aggreator into aggregation, closing and transfer processes (test cases still need to be updated)
|
2020-03-12 10:23:26 +01:00 |
|
Christian Grothoff
|
83631bc98f
|
split reserve closing from main aggregation logic
|
2020-03-12 10:11:24 +01:00 |
|
Christian Grothoff
|
a1db41e09a
|
aggregator clean up
|
2020-03-12 08:17:46 +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
|
f32193aae2
|
minor code cleanup
|
2020-03-10 17:11:12 +01:00 |
|
Christian Grothoff
|
883c063f43
|
tolerate recoup information not being present
|
2020-03-10 15:34:04 +01:00 |
|
Christian Grothoff
|
fc79dd233a
|
fix typo, remove obsolete option, initialize mpub
|
2020-03-10 15:28:54 +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
|
65062e4354
|
no longer create tables on startup of exchange aggregator/httpd
|
2020-03-09 23:53:26 +01:00 |
|
Christian Grothoff
|
c20078010b
|
fix comments, naming consistency issues
|
2020-03-07 14:35:32 +01:00 |
|
Christian Grothoff
|
962990c7ce
|
share master private key verification logic between taler-exchange-wire and taler-exchange-keyup
|
2020-03-07 12:58:40 +01:00 |
|
Christian Grothoff
|
20a7d8fc08
|
merge taler-wire and taler-bank-transfer tools, they are very related and otherwise duplicate lots of logic; also enable both credit and debit histories to be shown
|
2020-03-07 12:23:32 +01:00 |
|
Christian Grothoff
|
42bc3bc437
|
nicer IO error handling in exchangedb logic
|
2020-03-07 00:39:39 +01:00 |
|
Christian Grothoff
|
ffcadbff8c
|
code cleanup (comments, scoping, naming, indentation)
|
2020-03-07 00:28:07 +01:00 |
|
Christian Grothoff
|
82d7b63ff5
|
move comments into database for auditor DB
|
2020-03-06 09:04:24 +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
|
a3013d9e3d
|
minor cleanup
|
2020-03-03 19:10:40 +01:00 |
|
Christian Grothoff
|
0d30e53585
|
remove dead field, avoid unnecessary heap allocation
|
2020-03-03 19:06:11 +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
|
9abee82d3c
|
remove dead prototype
|
2020-03-03 16:08:26 +01:00 |
|
Christian Grothoff
|
ac5635776e
|
remove /config from API, as that is not part of the wire gateway specification
|
2020-03-03 15:44:11 +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
|
32ba50a0f0
|
fix potential NPE
|
2020-03-03 12:34:24 +01:00 |
|
Christian Grothoff
|
5d67cb9c4f
|
fix typo
|
2020-03-03 12:32:55 +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
|
c11475c081
|
work around indentation bug of uncrustify
|
2020-03-01 14:05:38 +01:00 |
|
Christian Grothoff
|
f4ce758d68
|
scope minimization, more consistent naming of variables
|
2020-03-01 14:02:30 +01:00 |
|
Christian Grothoff
|
13eed90b73
|
use global ENABLE_SANITY_CHECKS constant also in response generation logic
|
2020-03-01 13:53:56 +01:00 |
|
Christian Grothoff
|
9b688d7cb0
|
scope reduction, commenting
|
2020-03-01 13:52:34 +01:00 |
|
Christian Grothoff
|
9ec23c6239
|
bump year
|
2020-03-01 13:45:56 +01:00 |
|
Christian Grothoff
|
31958f3ae8
|
fix log msg
|
2020-03-01 13:45:19 +01:00 |
|
Christian Grothoff
|
3818cb8f52
|
reduce scope
|
2020-03-01 13:44:44 +01:00 |
|
Christian Grothoff
|
440c3dc1f0
|
fix missing NULL termination on array
|
2020-03-01 13:44:13 +01:00 |
|
Christian Grothoff
|
f457e1332d
|
use memcpy/memcmp instead of str-functions where applicable
|
2020-03-01 13:36:40 +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
|
d11a13c825
|
de-duplicate url.c
|
2020-03-01 13:04:06 +01:00 |
|
Christian Grothoff
|
effa6451a2
|
fix FIXME
|
2020-03-01 12:21:03 +01:00 |
|
Christian Grothoff
|
538ca960a1
|
bad FIXME, we should not
|
2020-03-01 12:14:54 +01:00 |
|
Christian Grothoff
|
da1af142c7
|
new REST API => version bump
|
2020-03-01 11:30:02 +01:00 |
|
Christian Grothoff
|
72764dc5f1
|
doxygen fixes
|
2020-02-29 17:13:43 +01:00 |
|
Christian Grothoff
|
cdc8c5b57b
|
limit redirects
|
2020-02-29 16:54:58 +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
|
30320fa66e
|
skip also here over part of URI that was already parsed
|
2020-02-26 23:51:30 +01:00 |
|
Christian Grothoff
|
8062ca0136
|
proper generation of /refreshes/ requests
|
2020-02-26 23:43:58 +01:00 |
|
Christian Grothoff
|
502c9a0fc3
|
more precise logging
|
2020-02-26 23:43:32 +01:00 |
|
Christian Grothoff
|
c520b0b86f
|
fix failure to remove rc from JSON
|
2020-02-26 23:43:23 +01:00 |
|
Christian Grothoff
|
ec8e3fad20
|
fix shutdown logic if shutdown happens during startup
|
2020-02-26 23:21:08 +01:00 |
|
Christian Grothoff
|
5d843e2cf4
|
fix uninitialized local
|
2020-02-26 23:20:48 +01:00 |
|
Christian Grothoff
|
582ce77d93
|
updating libtalerexchange to new REST API (#6067)
|
2020-02-26 22:24:22 +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
|
30b24448c8
|
do not NPE if encountering reserve_close for which we have no summary
|
2020-02-25 14:21:14 +01:00 |
|
Christian Grothoff
|
47e8190e9d
|
fix pp update logic to not insert multiple pps
|
2020-02-25 14:20:41 +01:00 |
|
Christian Grothoff
|
548a0cc09d
|
do not NPE if encountering reserve_close for which we have no summary
|
2020-02-25 14:12:28 +01:00 |
|
Christian Grothoff
|
227467c394
|
comment on what not to DELETE
|
2020-02-24 18:29:52 +01:00 |
|
Christian Grothoff
|
badbe6d8ea
|
also drop signkeys table
|
2020-02-24 18:29:09 +01:00 |
|
Christian Grothoff
|
b77637ce9f
|
add additional DB constraints
|
2020-02-24 18:09:10 +01:00 |
|
Christian Grothoff
|
d2bc28aee6
|
add missing flags for coverage analysis
|
2020-02-24 13:49:15 +01:00 |
|
Christian Grothoff
|
7eb0f35dca
|
rename
|
2020-02-24 12:37:09 +01:00 |
|
Christian Grothoff
|
7d214bd979
|
rename
|
2020-02-24 12:37:00 +01:00 |
|
Christian Grothoff
|
93562574ab
|
0000 is reserved for versioning
|
2020-02-24 12:36:05 +01:00 |
|
Christian Grothoff
|
d9ce8554e0
|
0000 is reserved for versioning
|
2020-02-24 12:35:41 +01:00 |
|
Christian Grothoff
|
7ee3c485bd
|
die more nicely if we are called when we should not be
|
2020-02-24 12:21:46 +01:00 |
|
Christian Grothoff
|
bb0952ac8d
|
fix some auditor assertions (see #6106)
|
2020-02-23 22:01:27 +01:00 |
|