Christian Grothoff
6cc516427b
minor code clean up, renaming for consistency
2020-03-04 11:47:22 +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
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
Christian Grothoff
db669ee495
payback -> recoup stranglers
2020-01-18 23:49:37 +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
Christian Grothoff
d61c2e400a
kill another FIXME
2020-01-16 23:49:34 +01:00
Christian Grothoff
19922fa046
pointless to check denom_sig, do not return
2020-01-16 22:21:18 +01:00
Christian Grothoff
9443c10d7f
major refactoring, eliminating wire-plugins and moving towards new bank API. main code compiles, testcases known to fail, code sure not to fully work yet
2020-01-11 15:20:17 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules
2019-10-31 12:59:50 +01:00
Christian Grothoff
b46fe9aa21
reindenting with uncrustify
2019-10-05 15:42:08 +02:00
Christian Grothoff
ebd2e7d763
fix leaks and unnecessary fetch of RSA signature on refresh/reveal
2019-09-15 12:39:15 +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
Christian Grothoff
ccfe99a82d
more denom sig checking in auditor
2019-07-27 20:43:52 +02:00
Christian Grothoff
2f0015b803
add locking to avoid transaction retries
2019-06-05 21:26:27 +02:00
Christian Grothoff
466a7b7018
DCE
2019-06-04 11:33:06 +02:00
Christian Grothoff
69c1ca4d23
check return value, always
2019-06-03 00:42:32 +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
13cf7ee0cb
refactor for GNUNET_memcmp
2019-04-30 21:30:33 +00:00
ng0
a02af1f505
Refactor test_exchangedb for GNUNET_memcmp
2019-04-15 20:23:53 +00:00
ng0
074b011d01
exchangedb/exchangedb_test: GNUNET_memcmp
2019-04-09 17:00:15 +00:00
ng0
9f18ec58bc
Refactor for GNUNET_memcmp
2019-04-08 18:15:16 +00:00
Marcello Stanisci
368f3a9a66
Minor changes to make tests pass/no-skip again.
2018-11-19 23:02:37 +01:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies)
2018-10-06 15:05:06 +02:00
Christian Grothoff
efd65a63ac
fix preflight check failure
2018-08-19 18:40:13 +02:00
Christian Grothoff
190a1fadaf
re-init logging so we can tell by PID who it is
2018-08-19 17:19:27 +02:00
Christian Grothoff
0df2028f96
make transactions smaller to try to reduce rollbacks
2018-08-19 16:01:57 +02:00
Marcello Stanisci
9942032ae9
Add "general_id" for merchants into the DB system.
2018-07-18 11:29:30 +02:00
Marcello Stanisci
4630d92bd0
Test last change.
2018-07-10 15:56:26 +02:00
Marcello Stanisci
6801c690b7
Test last change.
2018-07-10 15:37:56 +02:00
Marcello Stanisci
109a4a5aa1
KYC DB methods: store a wire transfer.
2018-07-10 13:08:53 +02:00
Marcello Stanisci
5e25d7dbcf
Improve KYC status callback.
...
More parameters for this callback.
2018-07-09 21:15:47 +02:00
Marcello Stanisci
01158a4817
Method to mark a merchant as NOT KYC-checked.
2018-07-09 10:55:31 +02:00
Marcello Stanisci
cd2538efb5
Method to retrieve the KYC status of a merchant.
2018-07-09 10:37:12 +02:00
Marcello Stanisci
7c94a71def
Method to mark merchant as KYC-checked.
2018-07-09 10:05:59 +02:00
Marcello Stanisci
c13973626b
KYC db methods.
...
Add method to insert a merchant into the monitored
entries, and associates a "FALSE" KYC status to it.
2018-07-09 09:44:16 +02:00
Christian Grothoff
aea82d3dcd
allow auditor to operate per-account
2018-04-02 21:12:18 +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
Christian Grothoff
a166ca7fec
fix #5281 for exchange: do preflight check that an old transaction is no longer running by accident
2018-03-12 11:33:10 +01:00
Christian Grothoff
5587732f52
fix auditor to properly verify wire fee signatures and more gracefully handle arithmetic amount issue
2018-01-04 00:41:19 +01:00
Christian Grothoff
d9f16db0ef
add testcase for 'select_refunds_by_coin'
2018-01-03 01:10:23 +01:00
Christian Grothoff
5540747ca2
patch to address #5183 : always round time before giving it to DB, tolerate DB answering without rounded time
2017-11-30 17:17:37 +01:00
Christian Grothoff
499247a480
fixing #5178
2017-11-29 20:23:08 +01:00
Christian Grothoff
029d3239e1
test select_deposits_missing_wire, fix uninitialized wire_deadline in deposit listing
2017-11-19 22:01:29 +01:00
Christian Grothoff
7935349d35
check return value from create_denom_key_pair in test
2017-10-06 22:19:13 +02:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash
2017-10-06 20:02:28 +02:00
Christian Grothoff
c42d544736
convert rest of exchangedb plugin API to fix #5010-issues
2017-06-24 16:15:42 +02:00
Christian Grothoff
2d662e3f8e
fix #5010 for taler-exchange-aggregator
2017-06-24 12:15:11 +02:00
Christian Grothoff
9aa2e94812
working on #5010 for aggregator
2017-06-24 00:41:41 +02:00