Christian Grothoff
bf8c5982a2
make exchange API more uniform in how information is returned
2020-04-05 22:05:38 +02:00
Christian Grothoff
17cfbced1d
fix inconsistency in field naming
2020-03-27 17:32:39 +01:00
Christian Grothoff
10c56bcea0
improving benchmarking logic, including more timings
2020-03-20 02:36:50 +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
7fee395bb6
harden URI validation logic
2020-03-16 16:13:21 +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
232606fb57
add IF NOT EXISTS for indices
2020-02-03 23:42:47 +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
Christian Grothoff
8ce6d32f63
beautification
2020-01-20 01:23:02 +01:00
Christian Grothoff
c48e4a8a06
comment on JSON canonicalization
2020-01-19 21:18:03 +01:00
Christian Grothoff
d22a52cc7a
fix copyright headers as per CA
2020-01-19 19:21:58 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL
2020-01-19 17:03:19 +01:00
Christian Grothoff
8dbc19758b
fix compiler warnings
2020-01-18 19:16:44 +01:00
Christian Grothoff
9317d6d69d
doxygen work
2020-01-18 13:23:17 +01:00
Florian Dold
d95f2a9e43
DCE, part one
2020-01-17 23:40:44 +01:00
Florian Dold
2e6d284e03
DCE
2020-01-16 08:53:03 +01:00
Christian Grothoff
f676be5c53
copyfix
2020-01-16 08:50:06 +01:00
Christian Grothoff
7c6853d830
simplify amount logic
2020-01-16 08:49:26 +01:00
Christian Grothoff
2d16cddfd9
die, dead #include, die
2020-01-13 18:19:21 +01:00
Christian Grothoff
4d6ef1da29
eliminate libtalerwire
2020-01-13 18:16:01 +01:00
Christian Grothoff
97f71c83a7
fix #6033 : remove master_pub field
2020-01-08 10:29:55 +01:00
Christian Grothoff
b999a6b2c5
note on where to change exchange code once wallet is done for #5991
2019-12-12 16:03:46 +01:00
Christian Grothoff
70a210ac4d
add another helper
2019-11-25 01:42:55 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules
2019-10-31 12:59:50 +01:00
Christian Grothoff
5fa4a0e7e1
fix warnings
2019-09-05 11:23:24 +02:00
Florian Dold
eb55997084
re-format code
2019-08-25 16:18:24 +02:00
Christian Grothoff
4bf425c902
remove currency field from databases
2019-08-17 21:35:21 +02:00
Florian Dold
7cce2fd62c
oops, first parse JSON
2019-06-27 00:47:42 +02:00
Florian Dold
9a69fd81ed
use GNUNET_memcmp
2019-06-26 23:35:39 +02:00
Florian Dold
87649e856a
wire signatures: produce better warning
...
Produce a better warning when the wire signature file is signed by a
different key than the one we're checking the signature with.
2019-06-26 23:33:15 +02:00
Christian Grothoff
9a5030b993
add test for json_wire.c logic
2019-06-26 20:43:08 +02:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies)
2018-10-06 15:05:06 +02:00
Florian Dold
911b158bb8
fix some wrong -l flags
2018-08-16 13:03:30 +02:00
Marcello Stanisci
b84ba7074b
New error code for a unknown reserve public key.
...
Specific to the /reserve/status API.
2018-05-22 12:42:02 +02:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
...
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing. The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".
This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts. Note that wire fees
are specified per wire method, not per wire account.
taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.
Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields. Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).
Various section and option names were adjusted to streamline the
configuration and make it more consistent overall. Documentation
was updated as well.
2018-04-02 14:29:44 +02:00
Florian Dold
d126b16624
serialize amounts as string instead of an object
2018-01-29 19:26:10 +01:00
Christian Grothoff
c5f9c0ca88
work on making auditor reports nicer ( #4962 )
2017-11-06 00:03:08 +01:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash
2017-10-06 20:02:28 +02:00
Christian Grothoff
1da03b95eb
fix indentation
2017-10-06 19:54:48 +02:00
Christian Grothoff
0c522791fe
bump versions for release
2017-06-06 14:03:53 +02:00
Christian Grothoff
a5fedfeeb8
remove redundant check
2017-05-09 13:26:34 +02:00
Christian Grothoff
5e8ef38680
fixing #4980
2017-04-18 21:05:27 +02:00
Christian Grothoff
19f4c50dab
rename and move TALER_EXCHANGE_json_get_error_code to TALER_JSON_get_error_code
2016-10-20 21:19:01 +02:00
Marcello Stanisci
59c6856284
fixing #4594
2016-07-07 17:55:25 +02:00
Christian Grothoff
aee021aa37
update ignore file, fix compiler warning
2016-04-06 11:27:51 +02:00
Christian Grothoff
737e3f4bf6
refactor to eliminate duplicated JSON parsing logic ( #4150 )
2016-03-19 19:16:35 +01:00
Christian Grothoff
0d1eced630
first refactoring of JSON logic to address #4150 and #4237
2016-03-19 15:23:11 +01:00