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
dc596f1f4d
implement latest recoup protocol
2022-01-12 15:51:56 +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
c493a3069e
wallet-core: reset reserve retry when resetting withdrawal retry
2021-12-13 11:28:15 +01:00
Sebastian
60cfb0e78f
add reservePub to the withdrawal transaction info
2021-11-19 14:51:35 -03:00
e2fe2d6db1
add anastasis skeleton, put crypto in taler-util
2021-10-07 12:01:40 +02:00
ms
490620ad04
Adapt tests to Sandbox' new access control.
2021-09-17 16:02:34 +02:00
42fe576320
implement backup scheduling, other tweaks
2021-06-25 13:27:06 +02:00
Sebastian
7f3ce304cb
missing globalThis Polyfill, remove duplicate url util
2021-06-20 16:14:56 -03:00
Sebastian
954ed23911
using block inside case of switch breaks when building with babel 7
...
see https://github.com/babel/babel/issues/8709
2021-06-17 13:16:15 -03:00
a70d37ef16
towards factoring out cyclic dependencies
2021-06-17 15:49:05 +02:00
e77510106f
simplify retry timeout handling
2021-06-11 11:15:08 +02:00
0ee44c3a58
add missing await
2021-06-09 16:47:45 +02:00
5c26461247
database access refactor
2021-06-09 15:24:19 +02:00
Sebastian
2e1438eb04
moving logger into taler-util
2021-06-08 17:18:24 -03:00
5e6cc41b7a
fix issues with circular imports
...
Parts of this commit are from a patch by sebasjm. The circular imports
caused an issue with webpack. While we don't use webpack in the wallet,
the wallet should still be importable by webpack.
Some packages were importing their dependencies via "index.js", which
re-exports public exports of the package. This resulted in circular
dependencies which were resolved correctly by rollup, but not by
webpack.
2021-06-02 13:56:29 +02:00
02f1d4b081
support multiple exchange details per base URL
2021-06-02 13:24:28 +02:00
1fb1827002
fix trust check
2021-05-20 13:17:04 +02:00
851ac5602c
add UIDs for deletion tombstones to auditor/exchange trust management
2021-05-20 13:15:11 +02:00
f4ec5b1a32
implement currencies subcommand
2021-05-12 16:18:32 +02:00
debc2254fd
towards backup based on add/remove set instead of clocks
2021-05-12 13:35:04 +02:00
Christian Grothoff
9b89387535
fix spelling issues
2021-04-27 23:42:25 +02:00
4fa88007f9
get coin re-selection after accidental double spending to work
2021-04-07 19:29:51 +02:00
07cdfb2e4e
towards wallet-core / util split
2021-03-17 17:56:37 +01:00
19eb72e277
logging, cosmetic fixes
2021-01-14 18:00:00 +01:00
6293de7bfa
fix reserve state machine bug, use simpler denominations in revocation test
2021-01-14 17:24:44 +01:00
84d5b5e5ef
export complete backup, derive planchets in withdrawal
2020-12-17 12:21:03 +01:00
bafb52edff
don't store reserve history anymore, adjust withdrawal implementation accordingly
2020-12-16 17:59:04 +01:00
0828e65f88
fix static types
2020-11-27 11:23:06 +01:00
Christian Grothoff
c5b25d1cbd
update error codes
2020-11-08 01:20:50 +01:00
Florian Dold
aae06c680f
DB tweaks
2020-09-08 21:03:10 +05:30
Florian Dold
6c0be1cc95
DB cleanup
2020-09-08 20:29:47 +05:30
Florian Dold
b9e43e652e
fix tipping and adjust DB
2020-09-08 19:27:08 +05:30
Florian Dold
c7a2abedba
don't unnecessarily repeat reserve processing after recoup
2020-09-04 03:10:36 +05:30
Florian Dold
9ec6018efe
test recoup, fix bug in reserve state machine, fix bug in recoup-refresh
2020-09-04 02:20:20 +05:30
Florian Dold
8c33e05bf0
harmonized error codes
2020-09-01 18:27:22 +05:30
Florian Dold
421e613f92
throttling diagnostics and request timeouts
2020-08-20 16:27:20 +05:30
Florian Dold
a8fb16021d
handle withdrawals aborted by the bank, add test
2020-08-20 14:34:56 +05:30
Florian Dold
953cd9dc41
nuke some console.log statements, test wallet testing functionality in integration test
2020-08-14 15:53:50 +05:30
Florian Dold
599c8380f2
make withdrawal requests sequentially, clean up withdrawal logic a bit
2020-08-13 15:15:01 +05:30
Florian Dold
ffd2a62c3f
modularize repo, use pnpm, improve typechecking
2020-08-03 13:01:05 +05:30