Commit Graph

403 Commits

Author SHA1 Message Date
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
Sebastian
403de8170e
bump version to 0.9 2021-11-26 12:55:41 -03:00
Sebastian
f07436aa49
new exchange-added notifiaction and including tos information in the wxApi.listExchange api 2021-11-24 08:58:48 -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
Sebastian
60cfb0e78f
add reservePub to the withdrawal transaction info 2021-11-19 14:51:35 -03:00
Sebastian
4941546886
version 10 2021-11-19 14:51:35 -03:00
9f0429cb2f
wallet: implement exchange protocol v9 2021-11-17 10:23:30 +01:00
c33ed91971
wallet: experiment with C-based crypto worker for some primitives 2021-11-16 17:20:44 +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
ab6fd6c8c7
move HTTP status codes to taler-util 2021-11-03 13:17:57 +01:00
Sebastian
83b63d1cc0
FIXING: Insufficient Rollup version: @rollup/plugin-commonjs requires at least rollup@2.38 but found rollup@2.37.1. 2021-11-02 12:44:22 -03:00
589c2a3382
wallet-cli: benchmarking 2021-10-20 13:06:31 +02:00
269022a526
move some more crypto to taler-util package 2021-10-18 21:48:45 +02:00
c532648694
implement fakebank withdrawal 2021-10-14 11:36:43 +02:00
Sebastian
fbf501e727
fixing tos request 2021-10-13 14:26:18 -03:00
Sebastian
78fb5f79a8
fix browser packaging 2021-10-11 10:22:53 -03:00
e2fe2d6db1
add anastasis skeleton, put crypto in taler-util 2021-10-07 12:01:40 +02:00
Sebastian
bff5b3f59c
FIX: skip checking noncePriv eq if the URI doesn't specify a noncePriv value 2021-10-01 13:35:25 -03:00
Sebastian
62b64cb453
make no sense to send the noncePriv if the proposal is already paid 2021-09-20 00:17:45 -03:00
Sebastian
315b167bee
issue #5860 2021-09-17 15:49:07 -03:00
ms
490620ad04
Adapt tests to Sandbox' new access control. 2021-09-17 16:02:34 +02:00
Sebastian
9f00987380
added integration with the wallet-core to get info about the last tos approved 2021-09-13 15:32:15 -03:00
Sebastian
217f34397f
first approach to new design for withdraw 2021-09-08 15:35:44 -03:00
Sebastian
147da7c160
removing blocked scope due to babel/issues/8709#issuecomment-421538014 2021-08-24 13:24:56 -03:00
4c41e70565
DB schema cleanup 2021-08-24 15:43:06 +02:00
a09359bd39
implement freezing for payments 2021-08-24 15:08:34 +02:00
408d8e9fc8
towards handling frozen refreshes 2021-08-24 14:30:33 +02:00
828e65b0eb
fix un-offered denom situation, test case almost works 2021-08-23 22:28:46 +02:00
a3687d84ba
separate node entry points
Signed-off-by: Florian Dold <florian@dold.me>
2021-08-20 13:18:55 +02:00
a576fdfbf8
backup 2021-08-19 19:26:37 +02:00
f5a8ae33e3
cleanup / formatting 2021-08-19 18:34:23 +02:00
8929086ebf
logging 2021-08-19 16:06:09 +02:00
c0e6b6d0f6
run pending operations at least once, style fixes 2021-08-19 15:12:33 +02:00
defc393d6e
add missing file 2021-08-19 13:56:00 +02:00
3ce740d87d
store 'list issue date' of denoms, cleanup 2021-08-19 13:48:45 +02:00
2f945b2aeb
merchant test cases 2021-08-12 21:01:40 +02:00
df77676977
convert performance.now to integer before converting to BigInt 2021-08-12 19:20:48 +02:00
fb0f8043ea
reset deposit lastError 2021-08-07 18:19:04 +02:00
f40593185a
remove extra slash 2021-08-07 18:02:16 +02:00
c077c0d8c0
consider deposit operations for pending operations 2021-08-07 17:59:06 +02:00
e9da70b5b8
construct deposit URL correctly 2021-08-07 17:40:31 +02:00
06db37640e
perf: do bulk read 2021-08-06 17:15:46 +02:00
05e52d4e11
perf and logging improvements 2021-08-06 16:27:18 +02:00
9026b0aaad
merchant test: pass h_contract 2021-08-06 11:45:08 +02:00
Jonathan Buchanan
4f88d7f896
taler-wallet-core ios compatibility 2021-07-30 17:35:38 -04:00
Sebastian
7c2d2a3e15
simplest implementation to remove one provider, also added a user-defined name for provider 2021-07-15 15:05:15 -03:00
72f7664c70
comment 2021-07-13 14:13:38 +02:00
e2287d6d5b
make TextEncoder/Decoder creation lazy for polyfill to work 2021-07-13 14:10:38 +02:00
1c0cce3f58
tolerate zero-value payments 2021-07-12 15:55:31 +02:00
2a48caa341
improve error messages in DB transactions 2021-07-12 15:54:25 +02:00
0b854299d1
formatting 2021-07-12 15:13:04 +02:00
Sebastian
ebfc79756f
add providers filter to runBackupCycle 2021-07-07 13:28:10 -03:00
Sebastian
7ba3327322
exported backup types from wallet core 2021-07-01 11:33:48 -03:00
42fe576320
implement backup scheduling, other tweaks 2021-06-25 13:27:06 +02:00
3603a68669
sync: handle HTTP 304 correctly 2021-06-23 13:06:32 +02:00
eaced5ca63
set gzip timestamp to 0 in backup blob 2021-06-23 11:46:10 +02:00
6c14268c1a
skip existing coins when applying a pay coin re-selection 2021-06-23 10:18:40 +02:00
09d1dd83ec
prevent conflicting coin allocation with concurrent payments 2021-06-22 18:43:11 +02:00
39c4b42daf
implement long-polling for auto-refunds 2021-06-22 15:30:19 +02:00
c51b372abe
comment 2021-06-22 14:55:54 +02:00
e35c2f581b
simplify task loop, test coin suspension 2021-06-22 13:52:28 +02:00
7383b89cab
get rid of cyclic imports 2021-06-22 12:18:12 +02:00
Sebastian
d42a74565e
fix #6042 2021-06-21 10:08:35 -03:00
Sebastian
7f3ce304cb
missing globalThis Polyfill, remove duplicate url util 2021-06-20 16:14:56 -03:00
99550b0011
hide internal wallet state, keep it internal to package 2021-06-17 21:06:54 +02: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
a4902de891
temporary fix for exchange operations 2021-06-17 18:06:25 +02:00
Sebastian
1c7423dbad
fix support with webpack{4,5} in browser environment
added missing .js extension to the imports
split index
use browser field in package json
2021-06-17 12:49:47 -03:00
a70d37ef16
towards factoring out cyclic dependencies 2021-06-17 15:49:05 +02:00
453656b240
clean up imports 2021-06-17 14:31:13 +02:00
5df7ddba97
use the new wallet core API interface in all tests 2021-06-17 13:35:08 +02:00
b4b0d3ff61
allow any string as forgettable field salt 2021-06-16 12:04:06 +02:00
1124c709ac
use same salt derivation as C code for forgettable fields 2021-06-16 11:44:05 +02:00
52b8785d95
adjust imports 2021-06-15 19:01:05 +02:00
f0d5fe3ed6
split out wallet core API types 2021-06-15 18:58:11 +02:00
d41ae5eb97
separate wallet state from wallet client 2021-06-15 18:52:43 +02:00
ef636c022b
implement force-retrying transactions 2021-06-14 19:37:35 +02:00
b4f97f4592
make CSPRNG work on ES6 2021-06-14 18:19:18 +02:00
1cde390c23
fix up imports, no more esm in tests 2021-06-14 16:08:58 +02:00
cc795f350a
store ToS acceptance timestamp, remove unused backup attributes 2021-06-14 11:45:19 +02:00
6e11b69cf5
allow changing the wallet device ID 2021-06-14 11:21:29 +02:00
af2ad00d84
store exchange public key with signature on denomination 2021-06-11 13:26:18 +02:00
7d15ce3d88
make retryInfo optional 2021-06-11 13:18:33 +02:00
e77510106f
simplify retry timeout handling 2021-06-11 11:15:08 +02:00
8ad36d89f5
simplify pending transactions, make more tests pass again 2021-06-10 16:32:37 +02:00
7b7e3b4565
transaction fixes 2021-06-10 10:37:49 +02:00
67e5d68b93
fix merchant instance creation in some tests 2021-06-10 10:00:36 +02:00
0ee44c3a58
add missing await 2021-06-09 16:47:45 +02:00
2d4a53f522
return transaction context 2021-06-09 16:20:50 +02:00
029b07be4b
imports 2021-06-09 15:43:48 +02:00
3d2b7b2a65
formatting: re-run prettier 2021-06-09 15:26:18 +02:00
5c26461247
database access refactor 2021-06-09 15:24:19 +02:00
Sebastian
1d55c551bb
moving strings from wallet-core to web-extension 2021-06-08 17:18:24 -03:00
Sebastian
2e1438eb04
moving logger into taler-util 2021-06-08 17:18:24 -03:00
Sebastian
e1b363c7dd
delete database when pressing reset-db 2021-06-04 12:42:35 -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
a68af80514
typo 2021-05-21 13:32:49 +02:00
6b1aea426a
tombstone processing in backup import 2021-05-21 11:47:24 +02:00
bb10e038c9
also allow deleting individual refunds, tombstoned by their execution time 2021-05-20 19:03:49 +02:00
9a861b80ef
allow deletion via API 2021-05-20 18:27:35 +02:00
6f1b7f5b99
implement more deletion operations 2021-05-20 17:11:44 +02:00
6fc9a052b7
implement deletion of withdrawal transactions 2021-05-20 16:24:41 +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
e7e337605e
remove unused interfaces 2021-05-17 12:58:18 +02:00
f4ec5b1a32
implement currencies subcommand 2021-05-12 16:18:32 +02:00
b1500241f7
tombstones 2021-05-12 15:26:15 +02:00
4fdcaab632
model more backup provider errors 2021-05-12 14:16:01 +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
f4b5f3cff8
implement debug flag for allowing late withdrawal 2021-04-14 18:21:23 +02:00
14f13250a0
forgettable information validation WIP 2021-04-14 14:36:46 +02:00
94f251fc39
add validation for forgettable JSON 2021-04-13 17:17:43 +02:00
e719f7981e
implement DD18 (forgettable fields in contract terms) 2021-04-12 19:21:16 +02:00
4fa88007f9
get coin re-selection after accidental double spending to work 2021-04-07 19:29:51 +02:00
2be1c3c8bd
re-add tests, more coin selection tests 2021-03-27 20:48:44 +01:00
93128f9358
fix coin selection 2021-03-27 19:35:44 +01:00
51f2ad9b6d
use static helpers for amounts 2021-03-17 18:21:43 +01:00
07cdfb2e4e
towards wallet-core / util split 2021-03-17 17:56:37 +01:00
42a4d666f4
sort is done after candidate selection 2021-03-15 13:45:24 +01:00
44b1896b9e
improved pay coin selection
support for multiple exchanges and healing a previous selection
2021-03-15 13:44:25 +01:00
fb3da3a28d
towards recovering from accidental double spends 2021-03-11 13:08:41 +01:00
1392dc47c6
finish first complete end-to-end backup/sync test 2021-03-10 17:11:59 +01:00
ac89c3d277
restructure sync, store errors 2021-03-10 12:00:30 +01:00
1a0610f222
WIP: wallet backup integration test 2021-03-03 21:20:05 +01:00