Christian Grothoff
5abe350a05
doxygen
2020-01-18 12:34:17 +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
7378b5a081
amount rounding a la Christian
2020-01-17 18:59:15 +01:00
Christian Grothoff
a9ae2171b8
reuse TALER_url_join
2020-01-16 21:57:40 +01:00
Florian Dold
a358360fb3
remove wallet-specific code
2020-01-16 13:48:35 +01:00
Florian Dold
da5b3ba8ae
round amounts based on config, do unit test for rounding
2020-01-15 15:17:25 +01:00
Christian Grothoff
b37fff0d5b
ftbfs
2020-01-15 14:58:10 +01:00
Christian Grothoff
4547bfb318
fix fakebank account vs. full payto confusion
2020-01-15 11:48:49 +01:00
Florian Dold
4c488a1d0e
buffer lib has moved to GNUnet
2020-01-15 11:46:05 +01:00
Christian Grothoff
bf3c7dd10f
expand test suite
2020-01-14 23:59:16 +01:00
Christian Grothoff
0805c62aee
split off buffer logic
2020-01-14 23:57:35 +01:00
Christian Grothoff
1d9049ab99
add payto URL test, fix payto parser implementation
2020-01-14 23:54:43 +01:00
Christian Grothoff
2edee5ac4a
refactor uri parsing logic, prepare for unit test
2020-01-14 15:57:36 +01:00
Christian Grothoff
7b1909bc99
make fakebank and banklib match specifified new API
2020-01-13 22:01:45 +01:00
Christian Grothoff
4d6ef1da29
eliminate libtalerwire
2020-01-13 18:16:01 +01:00
Florian Dold
499cff87bf
remove patch_private_key, as it doesn't make any sense
...
In particular, we were patching the EdDSA private keys, which are
*hashed* before doing the curve multiplication. Thus clearing the bits
*before* the hashing doesn't make any sense at all. These bits are
cleared anyway when deriving the public key.
2019-11-28 00:24:05 +01:00
Christian Grothoff
77b0e836d1
fix off by one: reserve space for 0-termination
2019-11-09 21:36:19 +01:00
Florian Dold
29fac256fa
fix path concatenation
2019-11-01 17:09:52 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules
2019-10-31 12:59:50 +01:00
Christian Grothoff
36efe024f5
fix type and indentation
2019-10-29 17:56:00 +01:00
Florian Dold
d6ca052d27
implement buffer API and use it for URL construction
2019-10-17 19:20:15 +05:30
Florian Dold
c944a5703a
add helper function to detect http/https on an MHD connection
2019-10-05 22:32:31 +05:30
Christian Grothoff
b46fe9aa21
reindenting with uncrustify
2019-10-05 15:42:08 +02:00
Florian Dold
5e859bae09
make URL joining more restrictive to avoid mistakes
2019-09-23 17:23:54 +02:00
Christian Grothoff
f552d0c8fb
add libasan to the LD_PRELOAD path if it was in gnunet-config
2019-09-15 11:57:59 +02:00
Marcello Stanisci
4428469556
FPRINTF -> fprintf
2019-09-13 13:01:28 +02:00
Christian Grothoff
5fa4a0e7e1
fix warnings
2019-09-05 11:23:24 +02:00
Christian Grothoff
b9dee3a1d5
fix compiler warnings, add assertions
2019-09-05 11:11:30 +02:00
Christian Grothoff
4dcd2294f6
update to match recent GNUnet changes
2019-09-01 15:04:53 +02:00
Florian Dold
eb55997084
re-format code
2019-08-25 16:18:24 +02:00
Christian Grothoff
dbea8baaff
detect plain http server
2019-08-21 18:28:26 +02:00
Christian Grothoff
4bf425c902
remove currency field from databases
2019-08-17 21:35:21 +02:00
Christian Grothoff
30903b9386
reduce code duplication
2019-06-18 13:20:43 +02:00
Christian Grothoff
de9fdf860a
replace denom_pub with denom_pub_hash in exchange API to reduce bandwidth
2019-05-02 21:16:51 +02:00
ng0
d55c2acbd5
refactor util/test_crypto.c for GNUNET_memcmp
2019-04-08 14:58:21 +00:00
Marcello Stanisci
1f007d83fd
4692. Fix global return code.
2019-02-11 19:55:00 +01:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies)
2018-10-06 15:05:06 +02:00
Christian Grothoff
657afbb5d6
leave it to GNUnet
2018-08-11 06:31:20 +02:00
Christian Grothoff
17b9f39a86
disable SECMEM for Taler exchange, it causes massive lock contention and then scalability issues
2018-08-11 05:54:10 +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
111f8f2381
url joining: grow strings correctly
2018-01-31 18:37:40 +01:00
Florian Dold
f806eebb83
oops, add missing file
2018-01-31 18:16:59 +01:00
Florian Dold
458b317727
more tests, fix varargs invocation
2018-01-31 17:57:21 +01:00
Florian Dold
3859a40f24
url construction helpers
2018-01-31 17:47:01 +01:00
Christian Grothoff
2d08d612f6
refuse endian conversion for invalid amounts
2018-01-01 23:07:36 +01:00
Christian Grothoff
499247a480
fixing #5178
2017-11-29 20:23:08 +01:00
Christian Grothoff
169962d769
lets use 52, the number of bits stored
2017-11-02 18:42:12 +01:00
Christian Grothoff
84998f9d05
fix #5167
2017-11-02 17:40:14 +01:00
Christian Grothoff
2f2930f1ba
major API refactoring, adding planchet generation and coin extraction APIs to the Taler crypto library, thereby simplifying code in withdraw, refresh, tipping, payback and testcases; slight API incompatibilities to previous versions are introduced
2017-10-31 14:02:54 +01:00