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
Christian Grothoff
176113a62a
fix some auditor assertions (see #6106 )
2020-02-23 21:52:18 +01:00
Christian Grothoff
a66b9e1b8a
fix loglevel
2020-02-23 19:55:59 +01:00
Christian Grothoff
65434a0e00
fix return value in auditor logic, and check it as well; adding FIXME to mark improperly handled case
2020-02-23 19:55:21 +01:00
Christian Grothoff
919861aea8
use flags in correct place
2020-02-17 20:05:40 +01:00
Christian Grothoff
730a9b966f
check return value
2020-02-17 20:00:03 +01:00
Christian Grothoff
dcb8972085
expand mime list
2020-02-17 18:38:02 +01:00
Christian Grothoff
b6c2aad49e
fix
2020-02-17 18:35:14 +01:00
Christian Grothoff
ecb39ef51c
fix
2020-02-17 18:34:39 +01:00
Christian Grothoff
d798da08d6
fix uninit ret
2020-02-13 20:43:07 +01:00
Christian Grothoff
1448f97b51
keep the const though, that was an improvement
2020-02-11 23:02:22 +01:00
Christian Grothoff
357dbc0235
revert bank API change, we will not do this here after all
2020-02-11 23:01:49 +01:00
Christian Grothoff
c25b805f62
first draft implementation of new bank account balance in history logic (untested)
2020-02-11 16:01:45 +01:00
Christian Grothoff
3ad698d018
merging
2020-02-11 15:40:37 +01:00
Christian Grothoff
de0d987e34
start with new history API implementation
2020-02-11 15:39:39 +01:00
Christian Grothoff
cdaf1ce69b
rename SQL files to make filenames consistent with versioning name
2020-02-09 16:34:40 +01:00
Christian Grothoff
ae5583f044
avoid duping configuration, start to use PQ_connect_with_cfg
2020-02-09 15:53:28 +01:00
Christian Grothoff
001f155208
make script a bit nicer
2020-02-08 19:06:19 +01:00
Christian Grothoff
f70596ff4c
adding UNIX socket and restart tests ( #5309 )
2020-02-08 18:38:15 +01:00
Christian Grothoff
37c2915769
do not report missing reserve closures of amount 0.0
2020-02-08 17:55:22 +01:00
Christian Grothoff
db46491db9
fix uninitialized session
2020-02-08 17:49:56 +01:00
Christian Grothoff
964cd7a459
adding test for #6054 (duplicate WTID)
2020-02-08 17:41:27 +01:00
Christian Grothoff
9e0a813b38
implement auditor's exchange signing key caching ( #6052 )
2020-02-05 21:12:03 +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
Christian Grothoff
9bfeec352b
fix #6065
2020-02-04 20:57:11 +01:00
Christian Grothoff
5a11839002
add timetravel option for testing/debugging
2020-02-04 15:47:57 +01:00
Christian Grothoff
d47241e0e1
fix double continuation scheduling
2020-02-04 00:04:29 +01:00
Christian Grothoff
232606fb57
add IF NOT EXISTS for indices
2020-02-03 23:42:47 +01:00
Christian Grothoff
f4f86d2b01
increse log level on errors
2020-01-26 18:51:25 +01:00
Christian Grothoff
282e4f59ee
address bank_api_credit comment/FIXME from Florian, also adapt debit logic accordingly
2020-01-26 17:48:13 +01:00
Florian Dold
26c9563ef0
return TALER_EC_INVALID instead of TALER_EC_NONE when error JSON doesn't contain code
2020-01-23 15:44:33 +01:00
Florian Dold
0fe82acc1b
better naming, comments and more logging for incoming history
2020-01-22 13:53: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