Commit Graph

329 Commits

Author SHA1 Message Date
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
9d66078852
wallet-core: do not rely on reserve history for withdrawals 2022-03-10 16:30:24 +01:00
6ee0354940
wallet: improve retry handling for payments, update error codes 2022-03-08 23:09:20 +01:00
d5a933e4cb
wallet-core: handle reserve retries better
We now always increment the next retry timeout before doing anything
else, so that it is impossible to accidentally retry immediately.

This fixes a bug where we previously made many, very frequent requests
to the bank integration API.
2022-03-08 20:39:56 +01:00
1d1c847b79
wallet: throttle all http requests
even from browsers / service workers
2022-03-08 19:19:29 +01:00
3e6f6eb3d7
wallet-core: remove old+wrong backwards compatibility code path 2022-03-08 12:32:29 +01:00
6df9202935
fix recoup protocol breakage 2022-03-07 21:49:11 +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
5fbe82b374
disable setupRefreshPlanchet C crypto worker call 2022-02-21 16:17:59 +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
5844a3065c
DB reset must be async 2022-02-03 14:36:37 +01:00
d2f17c8dac
bump version(s) 2022-01-27 14:33:41 +01:00
26ee8e3c71
fix exchange-timetravel test case with latest exchange version 2022-01-24 21:14:28 +01:00
171d070a83
make tipping work with latest merchant protocol 2022-01-24 20:51:47 +01:00
Sebastian
882d6b3710
last activity -> pending; fix downloadTos 2022-01-24 14:12:12 -03:00
Sebastian
ac60a0559c
forcing update when querying the terms, and fixing bug in request header parsing 2022-01-16 18:37:42 -03:00
Sebastian
f8ae2671c1
de-duplicating imports and fixing another typescript minor issues 2022-01-16 17:55:00 -03:00
Sebastian
bf0cb6ab13
splitting syncWorker with the factory so the former do not require nodejs runtime 2022-01-16 17:54:59 -03:00
Sebastian
8b0294ee41
better description of coin test selection and using c8 for coverage runtime 2022-01-14 12:50:38 -03:00
17c3ced648
make more use of the denom cache 2022-01-13 22:01:14 +01:00
cd2473e1ad
cache denomination lookups 2022-01-13 12:08:40 +01:00
Sebastian
cea0ac02b6
import db from the wallet web extension 2022-01-13 01:34:17 -03:00
Sebastian
4b289cde5d
adding a max timeout since retry counter can be very high 2022-01-13 01:34:16 -03:00
Sebastian
f6ec105b72
fixing high cpu usage after some time
retryinfo was not being updated and not being used by exchangeCheckRefresh pending operation
2022-01-13 01:34:16 -03:00
Sebastian
5eeb00e158
importDb feature in wallet core 2022-01-13 01:34:16 -03:00
9f6e398884
do withdrawal with fewer DB accesses 2022-01-12 16:54:38 +01:00
dc596f1f4d
implement latest recoup protocol 2022-01-12 15:51:56 +01:00
dbdad96b27
revert empty balance 2022-01-11 22:17:40 +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
Sebastian
83b9d32b78
filter out exchanges with other currency when doing currency selection for deposit 2022-01-10 16:07:27 -03: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
Sebastian
2e71117f59
deposit from wallet webex: wip 2021-12-23 15:17:36 -03:00
2237058bcc
style 2021-12-13 11:28:57 +01:00
c493a3069e
wallet-core: reset reserve retry when resetting withdrawal retry 2021-12-13 11:28:15 +01:00
38d8239f93
idb-bridge: use lodash cloneDeep 2021-12-09 18:19:48 +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
02bbf08283
wallet-core: fix computation of timestamp for exchange update 2021-12-08 01:52:24 +01:00
668ffa7302
wallet-core: implement exportDb API call 2021-12-01 18:16:47 +01:00
9f60e3d7ec
wallet: use correct denoms as refresh targets 2021-12-01 18:07:55 +01:00
dbbe1b0a61
fix recoup error handling 2021-12-01 12:23:17 +01:00
5c4c25516d
wallet: support both protocol versions 2021-11-27 20:57:07 +01:00