Commit Graph

480 Commits

Author SHA1 Message Date
1256c8704b
-logging 2022-10-07 12:47:31 +02:00
957f9a5efb
wallet-core: fix default auditor/exchange loading logic 2022-10-05 18:31:56 +02:00
99ace8b7d2
integration tests: make test-wallet-cryptoworker pass 2022-10-05 16:01:59 +02:00
70d37e4ed3
integration tests: test crypto worker
We test instantiations of both crypto workers that are available for
node.
2022-10-05 15:45:28 +02:00
13c07caef2
-fix typos 2022-09-23 22:30:50 +02:00
1d7290487a
-fix test 2022-09-23 22:26:13 +02:00
2337ddab61
wallet-core: fix withdrawal state machine 2022-09-23 21:47:38 +02:00
72336b149b
wallet-core: do not block when accepting a manual withdrawal 2022-09-23 20:38:26 +02:00
26cf19ab6c
wallet-cli: add --expect-success flag, exit with error on max retries 2022-09-21 19:53:38 +02:00
4fdc009753
-tag test 2022-09-21 12:48:11 +02:00
28b4489bea
wallet-core: make basic backup work again 2022-09-21 12:40:11 +02:00
16a5bb4083
wallet-core: make basic backup work again 2022-09-20 23:17:42 +02:00
a5525eab1e
taler-util: fix CLI parsing for numberic options 2022-09-19 17:46:30 +02:00
f63765b9f7
wallet-core: fix tipping with age restricted denoms 2022-09-19 17:08:04 +02:00
97267e7d1f
-test tagging 2022-09-19 12:57:42 +02:00
cffc4347a0
wallet-core: add wire method check in new coin selection 2022-09-19 11:28:47 +02:00
676ae5102b
fix test and logging 2022-09-13 16:10:42 +02:00
9b2d6d766f
include age commitment proof in refreshed coins 2022-09-08 14:02:09 +02:00
3ce5eb4bd8
allow age-restricted withdrawal from the CLI 2022-09-07 15:40:03 +02:00
dcc1bcee43
also accept payment in test 2022-09-07 14:49:10 +02:00
a37d201aa2
fix typo 2022-09-07 12:55:09 +02:00
03b2e064c2
-fix test setup 2022-09-05 22:33:51 +02:00
4240e1b767
add test for mixed age restrictions 2022-09-05 22:29:25 +02:00
Sebastian
d7a55a165f
replace __VERSION__ with a string definition 2022-09-05 13:04:31 -03:00
4a0512884d
upgrade typescript (and some related deps) 2022-09-05 16:20:01 +02:00
43b893b8c4
consider supported wire types when selecting coins
Also add an integration test to check for the correct wallet behavior.
2022-09-05 15:38:47 +02:00
b1f77f4662
add integration test for p2p age restrictions 2022-09-05 12:29:32 +02:00
4aaece0eff
remove abort-pay test
This test can't work anymore, as the merchant does batch deposits.
We should eventually add a different test as replacement that uses a
double-spent coin (via a forced coin selection).
2022-09-05 12:20:47 +02:00
Sebastian
36376bdeb6
reproduce issue #7318 2022-09-02 16:47:33 -03:00
30e8fd83c2
wallet-core: fix revocation, re-introduce reserves object store 2022-08-26 01:18:01 +02:00
70d0199572
integration tests: various fixes 2022-08-25 23:35:29 +02:00
499e003ff8
specify bank access API separately in tests 2022-08-25 18:34:25 +02:00
a11ac57535
wallet-core: p2p support for transactions list 2022-08-24 22:17:19 +02:00
bf516a77e8
fix idb bug, p2p integration test 2022-08-24 21:07:13 +02:00
fff3df81e4
test harness: log with logger API 2022-08-24 19:57:18 +02:00
42c2b7508f
wallet-core: fix withdrawal idempotency 2022-08-24 19:44:24 +02:00
d32d2895ce
-get p2p pull integration test to run through 2022-08-24 11:11:02 +02:00
bc434ebb83
use fakebank for integration tests 2022-08-23 22:30:05 +02:00
f3ff5a7225
peer-to-peer pull payments MVP
p2p pull wip
2022-08-23 20:35:11 +02:00
ac8f116780
implement peer to peer push payments 2022-08-16 17:55:12 +02:00
f11483b511
wallet-core: implement accepting p2p push payments 2022-07-12 17:41:14 +02:00
b214934b75
wallet-core: P2P push payments (still incomplete) 2022-07-08 11:08:30 +02:00
Sebastian
ccd289904d
- typo fix 2022-06-26 15:52:32 -03:00
f57dc7bf7a
wallet-core: implement and test forced coin/denom selection 2022-06-10 13:03:47 +02:00
Boss Marco
46861e6a21
fix bench1 2022-06-07 13:46:09 +02:00
Boss Marco
244b99cfbd
fix bench1 2022-06-07 13:45:11 +02:00
Boss Marco
f8c814cf95
reserve long polling longer, add withdrawOnly to bench1 2022-06-07 13:42:34 +02:00
59a2119dcb
integration tests: one variable for pybank/libeufin switch 2022-06-01 10:14:23 +02:00
2e6f3b3569
-error reporting, code formatting 2022-05-31 15:08:31 +02:00
72d936eaf9
-stdev for benchmarks 2022-05-25 14:17:56 +02:00
43d265dde5
wallet-core: age restriction benchmarking 2022-05-25 13:52:39 +02:00
07e1818679
Revert "no need to compile after install"
This reverts commit c3ba7fb523.
2022-05-24 18:00:25 +02:00
Sebastian
c3ba7fb523
no need to compile after install 2022-05-24 00:20:42 -03:00
b2931fbac6
wallet-core: clamp claim retry properly 2022-05-19 10:36:58 +02:00
Sebastian
d3a857743d
- linter 2022-05-18 14:38:57 -03:00
Sebastian
e4ea201943
feat: awaiting refund 2022-05-14 18:09:49 -03:00
Marco Boss
c02dbc833b
make batch withdrawal configurable in benchmarks 2022-05-10 08:39:35 +02:00
Marco Boss
935a119621
add bench3 for zipf and random merchant selection (by id) 2022-05-09 14:28:12 +02:00
9641299d6c
enable batch withdrawal in bench1 2022-05-06 15:36:16 +02:00
Sebastian
cad6d99453
more integration test for age restriction: trying to pay age-restricted contract with not-age-restricted coins and using age-restricted coins with not-age-restricted-contract 2022-05-05 12:59:43 -03:00
Sebastian
4491118494
add restricted option to manual withdraw 2022-05-04 16:26:53 -03:00
f16d2e52d5
wallet-core: implement batch withdrawal 2022-05-03 17:53:37 +02:00
a165afa682
wallet-core: implement age restriction support 2022-04-27 00:50:17 +02:00
Sebastian
8e468ae092
fix segwit api 2022-04-22 16:10:45 -03:00
68b4d0c4de
wallet-cli: allow generating segwit addresses 2022-04-18 21:23:48 +02:00
24b7110776
vendor CancellationToken 2022-03-28 20:24:09 +02:00
303c6e99b3
wallet: allow using RPC crypto in more places 2022-03-24 01:59:08 +01:00
9d38cb56a6
wallet: crypto worker fixes, better taler-crypto-worker integration 2022-03-24 01:10:41 +01:00
d881f4fd25
wallet: simplify crypto workers 2022-03-23 21:24:36 +01:00
c539d1803c
wallet: address crypto worker hang and warning about worker termination 2022-03-23 13:11:36 +01:00
739c2f9337
wallet: more time format fixes 2022-03-22 23:03:41 +01:00
5d23eb3635
wallet: improve error handling and error codes 2022-03-22 21:16:38 +01:00
f8d12f7b0d
wallet: t_s/d_us migration 2022-03-21 19:20:48 +01:00
c0be242292
wallet: db-less benchmarking 2022-03-15 17:51:11 +01:00
Sebastian
984cbb7ab7
save tos etag after forced refresh 2022-03-15 00:24:39 -03:00
332745862e
wallet: towards db-less benchmarking, some refactoring 2022-03-14 18:31:36 +01:00
d0376d9e68
more Makefile improvements 2022-03-08 13:14:33 +01:00
3aa0b812f4
wallet: fix withdrawal in timetravel test 2022-03-07 23:57:25 +01:00
0323868e10
fix tipping 2022-03-07 20:44:18 +01:00
0290c5fd37
address protocol changes in the exchange
The exchange now has a wad fee and truncates the payto hash in signatures
2022-03-07 12:09:38 +01:00
5c93f15157
towards implementing breaking exchange protocol changes 2022-02-21 12:40:57 +01:00
8920ea9c54
dependencies / tsconfig 2022-02-10 20:13:07 +01:00
14d18065f9
add clause-schnorr integration test (currently failing) 2022-02-03 01:49:44 +01:00
f5ff4afae6
clause schnorr 2022-02-03 01:35:21 +01:00
af3082f448
bump version, fix test 2022-01-27 20:30:08 +01:00
038aa948eb
fix contract terms normalization 2022-01-27 14:33:23 +01:00
a51abcffb0
make refund-gone test case pass again (see #7158) 2022-01-24 22:44:30 +01:00
26ee8e3c71
fix exchange-timetravel test case with latest exchange version 2022-01-24 21:14:28 +01:00
ee492b2552
fixes in integration tests, run fakebank with ram limit 2022-01-24 20:34:29 +01:00
Sebastian
ec059d42d7
replace abbrev-ref with short since abbrev will try to use branch name 2022-01-24 10:58:41 -03:00
Sebastian
97a1e09f6e
add git revision to --version 2022-01-24 10:57:20 -03:00
17c3ced648
make more use of the denom cache 2022-01-13 22:01:14 +01:00
a74cdf0529
fix DB indexing issues 2022-01-11 22:15:56 +01:00
a05e891d6e
towards new recoup API 2022-01-11 14:48:02 +01:00
a2591a29af
logging, bump version 2022-01-10 01:19:19 +01:00
a7b89247e4
wallet-core: towards exchange protocol v12 2022-01-05 20:29:55 +01:00
188ff0b453
upgrade rollup plugins, as older ones caused miscompilation 2022-01-05 18:40:43 +01:00
dc040ba41c
update dependencies to fix rollup issue 2022-01-05 16:48:22 +01:00
423af144ee
put 'setInsecureTrustExchange' behind env variable in benchmark 2021-12-09 12:00:10 +01:00
dbfc599540
wallet-core: use crypto worker for eddsa signing 2021-12-09 10:39:50 +01:00
684c53e105
wallet-core: trust exchange for exchange benchmark 2021-12-08 16:23:00 +01:00
5c4c25516d
wallet: support both protocol versions 2021-11-27 20:57:07 +01:00
Sebastian
403de8170e
bump version to 0.9 2021-11-26 12:55:41 -03:00
7fac3bd17d
logging / explicit wire deadline 2021-11-24 01:57:11 +01:00
ae8af3f27c
wallet: tipping protocol change / merchant version info 2021-11-23 23:51:12 +01:00
Boss Marco
525fcc48dc
Merge benchmark implementation for Grid5000 2021-11-18 13:52:24 +01:00
c33ed91971
wallet: experiment with C-based crypto worker for some primitives 2021-11-16 17:20:44 +01:00
Boss Marco
f8c0242f53
fix wallet.stop 2021-11-14 12:57:21 +01:00
ms
9692f589c6
Bring euFin-based tests to pass.
Note: timetravel-withdraw is now failing for both
pybank and eufin.  That is likely due to the wallet
not refreshing expired denominations.
2021-11-13 12:55:15 +01:00
Boss Marco
ba198eab4a
purge wallet after a specified amount of iterations 2021-11-12 17:28:11 +01:00
Boss Marco
612275df61
update time calculation 2021-11-10 15:14:55 +01:00
Boss Marco
8dadd89edb
timeEnd 2021-11-09 10:58:30 +01:00
Boss Marco
42cf0c445c
added timestamps to logs 2021-11-07 11:47:50 +01:00
Boss Marco
98064f0652
added some logging messages 2021-11-05 16:57:32 +01:00
6fc3aa0b31
taler-wallet: implement log level, use new wallet for every benchmark iteration 2021-11-05 13:10:15 +01:00
ms
c87be3707e
Implementing euFin-based harness.
- move stateless euFin API helpers to separate
  file, in order to avoid circular dependecy between
  harness.ts and libeufin.ts

- implement BankServiceInterface with euFin.  This
  one is not tested and disabled by default.
2021-11-04 13:49:23 +01:00
Boss Marco
8d9386ac00
start a new wallet for each iteration 2021-11-03 16:20:55 +01:00
ms
ea2acd1d3c
Testing harness.
No need to import modules dynamically, in order to
provide the euFin implementation of the BankServiceInterface.
2021-11-01 14:48:49 +01:00
ms
240a8c7427
fix IBAN generator 2021-10-29 15:07:43 +02:00
ms
1419751bfb
test harness: abstracting import of BankService 2021-10-29 15:07:16 +02:00
Boss Marco
dce86113b1
disable throttling for bench1 2021-10-27 15:56:28 +02:00
Boss Marco
4b05ba002c
remove string() 2021-10-26 11:04:02 +02:00
Boss Marco
fb23bab6fe
update bench1 config 2021-10-26 10:50:01 +02:00
ms
835ac85a28
Adapt euFin tests to Demobank model.
Mostly, this change removes any mention of
the currency when bank accounts are created.
2021-10-23 11:35:54 +02:00
cf25f5698e
wallet-cli: run benchmark in a loop 2021-10-20 13:27:47 +02:00
589c2a3382
wallet-cli: benchmarking 2021-10-20 13:06:31 +02:00
ms
f2492cac6d
Fix key-rotation test case. 2021-10-15 07:50:20 +02:00
ms
883ed972a4
Not tolerating != 200 responses during (libEufin) tests. 2021-10-15 07:50:20 +02:00
ms
c25b26983c
Pass Sandbox credentials to the CLI's env. 2021-10-15 07:50:19 +02:00
c532648694
implement fakebank withdrawal 2021-10-14 11:36:43 +02:00
e2fe2d6db1
add anastasis skeleton, put crypto in taler-util 2021-10-07 12:01:40 +02:00
ms
2c3456608e
Testing euFin 'bad gateway' handling. 2021-10-02 10:21:09 +02:00
ms
5dc9bc1ebb
testing 404 from Sandbox 2021-10-01 13:05:15 +02:00
ms
490620ad04
Adapt tests to Sandbox' new access control. 2021-09-17 16:02:34 +02:00
MS
a4489b80e3
testing Nexus balance accounting 2021-09-02 21:48:41 +00:00
MS
311f89c8ba
testing c52/c53 coordination,
and allow passing query parameters to the
"fetch transactions" API from Nexus.
2021-09-02 09:29:13 +00:00
ms
4e9d59e6f6
Exclude test (CAMT printer) without assertions. 2021-09-01 18:26:31 +02:00
ms
bf98724808
Use valid currency (EUR) for EBICS schema. 2021-09-01 18:17:52 +02:00
ms
8b73c30b1f
Avoid Sandbox (deprecated) POST /admin/payments/ API. 2021-09-01 17:51:52 +02:00
ms
79c14e77ec
Avoid Sandbox (deprecated) POST /admin/payments/ API. 2021-09-01 17:38:54 +02:00
ms
2cecdccb49
remove test without assertions 2021-09-01 15:53:32 +02:00
MS
1ca5677f8d
Need to "tick" before asking transactions to libeufin. 2021-09-01 11:45:47 +02:00
MS
812c7e7708
testing the statement generation 2021-08-29 23:47:51 -11:00
ms
fc334ecb60
make Camt test go debit 2021-08-24 17:42:09 +02:00
a09359bd39
implement freezing for payments 2021-08-24 15:08:34 +02:00
MS
7553ae7c74
test Camt generation 2021-08-23 23:46:40 -11:00
828e65b0eb
fix un-offered denom situation, test case almost works 2021-08-23 22:28:46 +02:00
MS
39cbad89bb
Testing Sandbox CLI wire transfer. 2021-08-23 03:31:48 -11:00
de0d004dd9
packaging fixes 2021-08-20 13:52:13 +02:00
45f1346990
minimatch
Signed-off-by: Florian Dold <florian@dold.me>
2021-08-20 13:18:51 +02:00