Commit Graph

650 Commits

Author SHA1 Message Date
417c07f3f4
wallet-core: insufficient balance details for p2p payments 2023-01-06 13:55:08 +01:00
c2c35925bb
wallet-core: allow failure result in peer payment coin selection 2023-01-06 11:08:45 +01:00
80639429a2
wallet-core: test insufficient balance response, also use it for deposit groups 2023-01-06 10:32:44 +01:00
92f1b5928c
wallet-core: implement insufficient balance details
For now, only for merchant payments
2023-01-05 18:45:54 +01:00
f4e1e8e6e7
-minor insufficient balance tweaks 2023-01-04 15:44:36 +01:00
7d02e42123
wallet-core: define insufficient balance details 2023-01-04 15:18:58 +01:00
60374078f4
wallet-core: test crypto dispatcher, fix timeout handling 2023-01-04 13:24:24 +01:00
f26cbe7c1f
-qjs fixes 2023-01-04 09:55:10 +01:00
d48ea17c63
-logging, skip defaults in test 2023-01-02 21:00:43 +01:00
d98711cb51
use native KDF / hash state if available 2022-12-23 13:19:41 +01:00
0b6002bbbc
crypto rename 2022-12-21 18:31:54 +01:00
Sebastian
15d76cf77c
add WALLET_HTTP_REQUEST_GENERIC_TIMEOUT to error map 2022-12-20 13:43:42 -03:00
68811cc5f5
-missing file, internal benchmark 2022-12-08 15:02:05 +01:00
a1c5f00aed
wallet: fix p2p coin selection
The p2p coin selection didn't work properly when all available denoms
are needed.

Thanks to Florian Jung for finding the issue and suggesting a fix.
2022-12-06 19:45:04 +01:00
Sebastian
dcddc4c53a
revert the Lost payment result 2022-11-25 12:18:52 -03:00
Sebastian
c121eb875e
fix: ageRestriction option was missing 2022-11-25 12:12:14 -03:00
Sebastian
e05ba843a0
fix 7465 2022-11-24 23:16:01 -03:00
Sebastian
dc08d7d20e
fixing import db when pkey is number 2022-11-22 15:15:40 -03:00
Sebastian
d8088e30da
fix #7394 2022-11-18 11:29:24 -03:00
Sebastian
6dc4fda73a
fix #7477 2022-11-17 17:07:24 -03:00
Sebastian
1a63d56bfd
fix #7411, also making the backup payment visible 2022-11-16 16:05:13 -03:00
233a354b47
fixes and polyfills for quickjs 2022-11-11 20:52:53 +01:00
344b4f62a2
quickjs preparations, clearer worker(-factory) names 2022-11-10 13:54:39 +01:00
Sebastian
5c742afbdf
feature: 7440 add expiration to p2p 2022-11-08 13:00:34 -03:00
66460e5650
repo: bump versions to v0.9.0 2022-11-04 12:44:34 +01:00
747bfcc267
bump db version 2022-11-02 19:07:46 +01:00
4321cdadb9
bump versions 2022-11-02 19:06:24 +01:00
cc2122b50c
wallet-core: fix coin allocation when doing refresh 2022-11-02 19:05:06 +01:00
566248aec4
wallet-core: add byStatus indices for peer payment object stores 2022-11-02 18:31:05 +01:00
8442452c33
wallet-core: get rid of AmountJson in public API 2022-11-02 18:24:54 +01:00
d50294f76e
wallet-core: DB FIXMEs (amount format) 2022-11-02 18:23:17 +01:00
6c3ef31d9a
wallet-core: DB FIXMEs 2022-11-02 17:09:59 +01:00
14456bb942
wallet-core: address DB FIXMEs 2022-11-02 17:02:42 +01:00
91e069c742
bump versions 2022-11-02 15:00:05 +01:00
1e6e1a22cd
wallet-core: fix exchange management test case, surface exchange update error info in list 2022-11-02 14:23:26 +01:00
fe011321a4
wallet-core: compute residual amount for recoup properly 2022-11-02 13:40:03 +01:00
87bc4a6fcd
wallet-core: fix recoup issue 2022-11-02 12:50:34 +01:00
aab3f917c4
-harness fixes for kyc 2022-11-01 17:52:51 +01:00
504d9f09b4
wallet-core: remove kyc and wad fee 2022-11-01 17:26:24 +01:00
ab48d3df6e
-rename 2022-11-01 15:36:10 +01:00
d63a773bf5
wallet-core: report supportedAgeGroups 2022-11-01 15:31:48 +01:00
8e1622a915
wallet-core: better KYC error message 2022-11-01 13:39:42 +01:00
a121fbe5de
remove source-map-support usage, as node supports it natively
We can just use NODE_OPTIONS=--enable-source-maps now.
2022-11-01 12:39:52 +01:00
dab739a63e
wallet-core: use PeerContractTerms 2022-11-01 11:41:28 +01:00
Sebastian
e80e3f28fe
dev-experiment should call method directly 2022-10-31 15:16:52 -03:00
5a91fbe2b7
bump versions 2022-10-31 17:11:00 +01:00
78b4ab19a3
wallet-core: use string amounts for deposit response 2022-10-31 17:08:42 +01:00
780eb20227
wallet-core: fix deposit with age restrictions 2022-10-31 16:51:01 +01:00
Sebastian
93ef4dace0
sync worker doesn't use require and ESM doesn't allows it 2022-10-31 00:23:38 -03:00
Sebastian
2f17d81802
require and __filename is not supported for ESM 2022-10-31 00:07:54 -03:00
Sebastian
3f2db7707f
using new wallet api (typed interface) 2022-10-25 12:23:52 -03:00
Sebastian
7a80d33414
get rid of typescript empty object warning 2022-10-24 10:39:12 -03:00
d87f3c242c
taler-wallet-embedded: tweak init response, rollup bundling, add test 2022-10-23 19:05:54 +02:00
1ab63a1840
wallet-core: we don't rollup wallet-core anymore 2022-10-23 19:00:14 +02:00
Sebastian
892b3b500a
fix: transfor from backup proporsal status to purchase status and fix denom query 2022-10-21 12:24:23 -03:00
Sebastian
f4b92578b0
fix: support for empty denom_selection when recoverying from backup 2022-10-21 12:14:06 -03:00
Sebastian
5ba7956f49
unlockBackup was not unlocking: not updating when backup state is ready also nextBackupTimestap = now tries to backup in a loop 2022-10-21 11:08:10 -03:00
Sebastian
5da924a760
storePayReplaySuccess should also considre PayingReplay 2022-10-21 11:06:31 -03:00
Sebastian
4dac65e557
mapping missing purchase state with backup state 2022-10-21 11:04:36 -03:00
Sebastian
e63f202e36
better workaround with duplication 2022-10-21 10:11:41 -03:00
Sebastian
683c89ab71
workaround: Failed transaction was started here 2022-10-21 09:26:53 -03:00
c2e7510cec
embedded wallet: improve 'init' request
Allow specifying crypto worker type, pass through version info from
'initWallet'.
2022-10-19 15:44:28 +02:00
ec7a3c8133
wallet-core: bump DB version 2022-10-19 15:43:00 +02:00
f697b20a91
wallet-core: return versions in init response 2022-10-19 15:36:57 +02:00
81d6f2c796
wallet-core: remove bogus log 2022-10-18 14:01:55 +02:00
Sebastian
57892db20a
extends parseId to include tmb 2022-10-17 13:50:17 -03:00
Sebastian
995b6b4e96
sync parseTx with the new makeTx 2022-10-17 13:36:39 -03:00
Sebastian
d1f43ca5f2
added v6 migration skip and removed rowId field when rowId is undefined (otherwise autoincrement value won't work) 2022-10-17 11:44:23 -03:00
e5e469575b
wallet-core: API types refactoring 2022-10-17 01:03:36 +02:00
e4f2587cab
webextension: introduce typesafe wallet-core API client 2022-10-16 23:11:34 +02:00
ea1aff81df
wallet-cli: tweaks to withdrawal CLI 2022-10-16 22:58:53 +02:00
b52b074a8d
wallet-core: show instructed amount as raw amount for withdrawal 2022-10-16 22:18:24 +02:00
8d4a7d6103
wallet-core: CLI improvements, ToS fetching fixes 2022-10-16 20:15:55 +02:00
fbb7dd9e7e
wallet-core, wallet-cli: add status to exchange list, add detail query to CLI 2022-10-15 21:26:36 +02:00
d98d49aa58
wallet-core: address another DB FIXME 2022-10-15 16:25:44 +02:00
a41d1ee53e
wallet-core: put signing keys in separate object store 2022-10-15 16:03:48 +02:00
bd88dcebbc
wallet-core: simplify exchanges list response 2022-10-15 12:59:26 +02:00
e075134ffc
wallet-core: simplify coin record
we only track the allocation now, not the remaining amount
2022-10-15 11:53:16 +02:00
4d70391f3d
wallet-core: address another DB FIXME 2022-10-14 23:01:41 +02:00
3a2b96f3c2
wallet-core: address DB FIXME 2022-10-14 22:56:29 +02:00
b36807aa0f
-fix ID parsing 2022-10-14 22:49:32 +02:00
0c8e56c324
wallet-core: properly separate different types of IDs 2022-10-14 22:47:11 +02:00
eec6695be0
wallet-core: DB tweaks, consistent file naming convention 2022-10-14 22:38:40 +02:00
a57fcb144d
wallet-core: pull out ToS into separate object store 2022-10-14 22:10:10 +02:00
f1cba79c65
wallet-core: DB tweaks 2022-10-14 22:10:10 +02:00
398e79d0d6
-remove obsolete README section 2022-10-14 22:10:10 +02:00
6acddd6d70
wallet-core: get rid of duplicated withdrawal info API 2022-10-14 18:48:03 +02:00
ca8da4ed38
wallet-core: only allow enabling dev mode via separate request 2022-10-13 15:24:47 +02:00
83d4a1addc
use node16 for wallet-core, delete unused taler-config-lib package 2022-10-13 15:14:49 +02:00
b0223d662a
use node16 module resolution for taler-util 2022-10-13 14:52:18 +02:00
eb5b075c01
update deps, move idb-bridge to node16 module resolution 2022-10-13 14:24:20 +02:00
ded00b680a
wallet-core: implement enabling/disabling dev mode 2022-10-12 22:27:50 +02:00
3da1e82a24
wallet-core: skeleton for dev-experiments 2022-10-12 21:20:22 +02:00
8bfa77200e
wallet-core: handle missing purchase status cases 2022-10-12 21:19:14 +02:00
Sebastian
610df1c9cf
create a fee description timeline for global fee and wire fees 2022-10-12 15:58:10 -03:00
Sebastian
cb44202440
adding global fee info from exchange 2022-10-12 14:37:26 -03:00
Sebastian
f184ecb06b
pretty 2022-10-10 14:54:14 -03:00
Christian Grothoff
eb71c788ac
-fix typos 2022-10-10 17:50:00 +02:00
19f3e6321d
wallet-core: put contract terms into separate object store 2022-10-09 02:23:06 +02:00
8ac5080607
wallet-core: more DB and refund fixes 2022-10-08 23:45:49 +02:00