Commit Graph

953 Commits

Author SHA1 Message Date
9d238fc011
bump to 0.9.3-dev.3 2023-02-21 21:17:33 +01:00
b648238c41
harness: improve peer-pull integration test, check notifications 2023-02-21 21:02:36 +01:00
a3c7da975b
wallet-core: fix peer-pull-credit long-polling and peer-pull-debit pending operation status 2023-02-21 20:31:23 +01:00
2677140749
wallet-core: do not retry transaction if long-poll is active 2023-02-21 19:23:32 +01:00
ffeac825d1
bump to 0.9.3-dev.1 2023-02-21 17:48:58 +01:00
f955edc1f6
bump version to 0.9.2 2023-02-21 02:09:31 +01:00
4b642ea53e
wallet-core: group API types 2023-02-21 02:02:47 +01:00
4762018dc1
wallet-core: report refresh errors properly 2023-02-21 01:48:12 +01:00
e56d3ba8eb
taler-wallet-cli: make purse expiration configurable 2023-02-21 01:15:27 +01:00
a49959d2c8
wallet-core: support long-polling for peer push credit 2023-02-20 21:26:08 +01:00
3daa4dbb3f
wallet-core: fix retryTransaction, improve tx/op identifier parsing/construction 2023-02-20 20:14:46 +01:00
Sebastian
5ad96b178e
refund awating is empty when puchase is paid, returning last refund id 2023-02-20 13:23:49 -03:00
Sebastian
68f3c3b447
pretty 2023-02-20 12:37:05 -03:00
Sebastian
0b6b757f65
don't use outdated purchase info 2023-02-20 12:36:48 -03:00
85c5c6d7c7
wallet-core: fix DB migration logic when only an index is added 2023-02-20 15:07:30 +01:00
6b28885f0b
wallet-core: stubs for suspend/resume tx 2023-02-20 14:40:37 +01:00
c022f39428
-fix pending operation 2023-02-20 04:23:53 +01:00
2626ed6ad0
wallet-core: correct raw/effective amounts for check-peer-pull-credit 2023-02-20 04:00:46 +01:00
a6d78f12df
-deletion 2023-02-20 03:56:43 +01:00
bd9904f6a0
-implement getTransaction for p2p credit txns 2023-02-20 03:36:46 +01:00
d4fda1eea8
wallet-core: raw/effective amount for push transactions, fix transactions list for push/pull credit 2023-02-20 03:22:43 +01:00
ac9dc1845a
-rename 2023-02-20 01:47:49 +01:00
803d1bf7a7
wallet-core: rename ops with support for old names 2023-02-20 01:44:28 +01:00
fddc6eb4f2
-deep rename 2023-02-20 01:20:41 +01:00
357457018c
-missed rename 2023-02-20 01:17:18 +01:00
1747d3ac18
wallet-core: rename p2p requests to something more sensible 2023-02-20 01:16:31 +01:00
30b3949d2b
wallet-core: pending operation for peer push credit, save withdrawalGroupId 2023-02-20 00:38:24 +01:00
e6ed901626
wallet-core: various p2p payment fixes 2023-02-19 23:13:44 +01:00
8b83f729d7
-comments 2023-02-17 02:25:46 +01:00
99f27aaecd
-comments 2023-02-16 22:29:53 +01:00
fedc45144f
-missing files 2023-02-16 13:24:25 +01:00
a906263f74
use node16 module resolution 2023-02-16 03:23:42 +01:00
825d2c4352
make wallet-cli runnable under qtart 2023-02-16 02:50:29 +01:00
58c59a3e5e
walet-core: always show refresh transactions when in an error state 2023-02-14 13:38:12 +01:00
12fc0b3f2a
-include more info in refresh tx 2023-02-14 13:28:10 +01:00
bb8bf3cb55
wallet-core: more details in refresh transaction 2023-02-14 13:18:33 +01:00
b73accfe4a
-remove bad logging 2023-02-14 13:11:04 +01:00
e3bdfe61a8
-fix schema validation 2023-02-14 13:10:38 +01:00
55f868d5e8
wallet-core: allow inclusion of refreshes in transactions list 2023-02-14 13:02:59 +01:00
97fac057c2
wallet-core: report coins in dump-coins even when withdrawal transaction was deleted 2023-02-14 12:30:44 +01:00
6a4da88719
wallet-core: expose more info about refund query 2023-02-14 11:17:19 +01:00
22cb8adaa6
wallet-core,harness: introduce reserveIsReady flag, test tx lifeycle 2023-02-13 13:15:47 +01:00
79b77a0c3c
wallet-core: skeleton support for regional currency scopes 2023-02-12 21:13:30 +01:00
13f0442736
harness: finish kyc test
We mock the KYC gateway now, use the new notification-based wallet API
and the test is not experimental anymore.
2023-02-12 19:31:37 +01:00
04ab9f3780
wallet-core,harness: implement pay templating 2023-02-11 14:24:29 +01:00
1640859594
taler-wallet-cli: stop wallet properly 2023-02-10 19:47:59 +01:00
63bb6a4271
-resolve error introduced by merge 2023-02-10 19:25:04 +01:00
49608f0bbb
-only return coin indices for successfully withdrawn coins 2023-02-10 19:23:08 +01:00
Sebastian
c8336c8c2c
pretty 2023-02-10 12:53:27 -03:00
Sebastian
599c6fa954
fix: not saving planchet as kyc required 2023-02-10 12:53:02 -03:00
Sebastian
3ade15e5e5
fix: Cannot read properties of undefined (reading 'ev_sig') 2023-02-10 12:52:05 -03:00
18c30b9a00
wallet-core: implement partial withdrawal batching, don't block when generating planchets 2023-02-10 13:21:37 +01:00
3cf2d4cba9
wallet-core: expose withdrawal progress, towards huge withdrawal test 2023-02-10 00:07:33 +01:00
96101238af
harness,wallet-cli: notification-based testing with RPC wallet 2023-02-02 20:21:04 +01:00
Sebastian
ab9a5e1e8a
fix #7552, add next_url from the tip information when accepting tips 2023-02-01 13:00:12 -03:00
Sebastian
33c1759f16
fix accept tip response type 2023-01-31 11:42:46 -03:00
8791d4ea60
-remove debug logging 2023-01-27 13:32:27 +01:00
af4064ce7e
wallet-core: improve error message when store is missing 2023-01-27 12:38:24 +01:00
3cc26d00f8
put taler wallet RPC into taler-util, make it cross-platform 2023-01-26 12:48:35 +01:00
3aa077e097
bump versions 2023-01-24 16:46:36 +01:00
6816052615
update READMEs 2023-01-23 15:43:56 +01:00
0029013f8d
-space 2023-01-23 13:56:50 +01:00
3222617b81
wallet-core: make DB migration logic more tolerant 2023-01-23 13:56:22 +01:00
Sebastian
5f31dad2d3
also merge refund when getting transactionById 2023-01-20 15:43:37 -03:00
Sebastian
7ea8321ddd
introducing getBalanceDetail for getting all depositable/transferable amount for a currency 2023-01-20 15:41:55 -03:00
Sebastian
346056ca91
feat: adjust log level from developer page 2023-01-19 17:05:34 -03:00
Sebastian
4f376297dc
fix: order will stay in queryRefund state forever 2023-01-19 14:25:02 -03:00
Sebastian
e263fe3508
fix: do not count coins with other currency 2023-01-19 13:37:42 -03:00
Sebastian
fdc7b58277
Merge branch 'master' of git.taler.net:wallet-core 2023-01-18 17:32:34 -03:00
Sebastian
4bd9b1ba79
fix: missing total cost in peer pull payment 2023-01-18 17:31:34 -03:00
Sebastian
733d06c8d4
fix: using wrong variable 2023-01-18 17:29:36 -03:00
d7fe5b0cb5
wallet-core: add receiver name in fakebank test 2023-01-18 20:21:24 +01:00
de937d7159
-logging 2023-01-18 20:08:16 +01:00
598de5b0d5
wallet-core: Add 'deposited' field to deposit transaction
This field indicates whether the POST requests to deposit coins went
through with the exchange.

We also don't consider a deposit transaction as having lifeness when it
is already deposited and we're just querying for informational deposit
tracking information.
2023-01-18 19:33:01 +01:00
Sebastian
5e129abe9e
fix: withdrawal error when creating an invoice 2023-01-18 13:12:38 -03:00
Sebastian
b0258d1909
fix tx pending state 2023-01-18 12:36:49 -03:00
Sebastian
44570081f1
fix zeroOfCurrency 2023-01-18 12:36:36 -03:00
3bcac051ed
wallet-core: log insufficient balance details 2023-01-18 00:17:07 +01:00
Sebastian
2c14a180c1
re-use the same kyc function from withdrawal for deposits 2023-01-17 16:01:27 -03:00
Sebastian
eeea3e62a0
stronger type check to be sure that ErrorDetails is consistent 2023-01-17 16:01:26 -03:00
Sebastian
fc38d0da95
query transaction status for deposit 2023-01-15 17:48:41 -03:00
Sebastian
e034f1045c
removing merchantPub from signature 2023-01-15 17:47:56 -03:00
Sebastian
767f1a9d67
remove activeLongPoll on error and prevent activeLongPoll skip if forced 2023-01-13 16:34:07 -03:00
Sebastian
bc67ff0c7f
added not-yet-implemented and pretty 2023-01-13 16:05:17 -03:00
a31b8c3c31
wallet-core: store total p2p push cost in DB 2023-01-13 02:24:19 +01:00
a3f9e86805
wallet-core: compute full peer push payment fees 2023-01-13 01:45:33 +01:00
cbf848dd2a
wallet-core: return pending status instead of error
This allows clients to get the transaction ID of the confirmed payment.
2023-01-13 00:31:29 +01:00
Sebastian
72ca5ee8dd
more information if migration failed, and pretty 2023-01-12 15:51:36 -03:00
473cbc3908
wallet-core: refresh properly after non-abort refunds 2023-01-12 17:04:33 +01:00
1e378e4499
wallet-core: retries for peer pull payments 2023-01-12 16:57:51 +01:00
24694eae73
wallet-core: implement retries for peer push payments 2023-01-12 15:11:32 +01:00
1fceb13517
wallet-core: allow zero amounts in payments again 2023-01-12 11:22:43 +01:00
Sebastian
335d22b12b
when as number instead of string, fix codec used before declaration, pretty 2023-01-11 15:30:14 -03:00
3641e4cf0c
-check in integration test 2023-01-11 17:16:15 +01:00
143a4fe4ac
wallet-core: refresh when aborting payments 2023-01-11 17:14:49 +01:00
5fc0cb7927
-more to rename 2023-01-11 14:36:29 +01:00
c3fdbd291f
wallet-core: introduce abortPay request
This request supersedes the abortPayWithRefund request, as that's too
implementation-focused and does not describe well what's happening.

Also, abortPay can be forced to transition a transaction immediately
into an "aborted" state (either from "paying" or "aborting").
2023-01-11 14:33:35 +01:00
afd6f48b57
wallet-core: remember applied DB fixups 2023-01-11 14:20:23 +01:00
668d7a213e
wallet-core: implement database fixups 2023-01-11 14:19:24 +01:00
a82d8fab69
wallet-core: KYC mvp
Only hard withdrawal KYC is supporte so far, and no long-polling is done
yet.
2023-01-10 17:31:36 +01:00
Sebastian
da5b42025a
if the order is not found, marked the payment as failed 2023-01-10 11:24:46 -03:00
Sebastian
8a70edb2f8
add 'when' to error-detail and remove error as normal response when doing backup 2023-01-09 20:09:54 -03:00
Sebastian
14f3d1e06d
wallet-core pretty 2023-01-09 08:33:41 -03:00
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
3897bd4f01
wallet-core: spec/clarify explicit refresh transaction 2022-10-08 23:21:34 +02:00
526f4eba95
wallet-core: Clean up merchant payments DB schema 2022-10-08 23:07:07 +02:00
eace0e0e7a
-organize imports 2022-10-07 14:45:55 +02:00
f479ca0139
wallet-core: fix/deduplicate funding payto URI generation for withdrawals 2022-10-07 14:45:25 +02:00
a93a0cae13
wallet-core: fix busy wait when long-polling for manual withdrawal 2022-10-07 14:23:23 +02:00
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
efc4ac8dca
wallet-core: add missing worker-common.ts file 2022-10-05 15:18:14 +02:00
dd14e67c70
wallet-core: improve crypto worker code duplication
Also add new testCrypto call for later testing
2022-10-05 12:52:49 +02:00
4d232fd565
wallet-core: canonicalize base URL from bank on withdrawal 2022-10-05 11:11:51 +02:00
66ae0dd220
wallet-core: more info in error message 2022-10-05 10:22:32 +02:00
21fd8074cd
wallet-core: more info in types 2022-10-04 18:45:01 +02:00
3cecb7e4b4
wallet-core: better API docs 2022-10-04 15:30:18 +02:00
37d27ba437
restructure api types 2022-10-04 13:12:23 +02:00
3bf4ce7f13
wallet-core: return correct status from processReserveBankStatus 2022-09-30 13:22:00 +02:00
0a3f9979b2
firefox hotfix 2022-09-30 13:11:17 +02:00
0cf147ba98
wallet-core: don't run into busy loop if only long-polling tasks are left 2022-09-28 19:07:37 +02:00
37243d4d8c
Revert "fix: long polling doesnt wait"
This reverts commit 4382e090ab.
2022-09-28 19:04:42 +02:00
Sebastian
4382e090ab
fix: long polling doesnt wait 2022-09-28 13:38:36 -03:00
Sebastian
7ce1cea1c7
fix: missing crypto error handling improvement 2022-09-28 13:15:31 -03:00
25eb7624b3
wallet-core: improve crypto worker error handling 2022-09-26 14:40:11 +02:00
2337ddab61
wallet-core: fix withdrawal state machine 2022-09-23 21:47:38 +02:00
8d19b80153
wallet-core: backwards compatibility for bankAccounts store, naming conventions 2022-09-23 21:00:51 +02:00
72336b149b
wallet-core: do not block when accepting a manual withdrawal 2022-09-23 20:38:26 +02:00
Sebastian
fbf0502672
add bank account record 2022-09-23 15:18:49 -03:00
2489001d83
bump versions 2022-09-23 10:32:04 +02:00
4649469b58
wallet-core: DB improvements 2022-09-21 22:50:42 +02:00
a398959670
wallet-core: use more numeric fields 2022-09-21 22:50:42 +02:00
7d6bcd42ea
wallet-core: use numeric status field to allow range queries 2022-09-21 22:50:42 +02:00
Sebastian
2caef6dcf2
moving deposit group fee into taler util 2022-09-21 15:45:41 -03:00
26cf19ab6c
wallet-cli: add --expect-success flag, exit with error on max retries 2022-09-21 19:53:38 +02:00
28b4489bea
wallet-core: make basic backup work again 2022-09-21 12:40:11 +02:00
Sebastian
7adaeff0a5
pretty 2022-09-20 20:26:47 -03:00
Sebastian
415874fdfb
check age mask before 2022-09-20 20:26:47 -03:00
16a5bb4083
wallet-core: make basic backup work again 2022-09-20 23:17:42 +02:00
f63765b9f7
wallet-core: fix tipping with age restricted denoms 2022-09-19 17:08:04 +02:00
ffe6a95214
wallet-core: handle suspended coins properly in refresh 2022-09-19 14:42:04 +02:00
d34f8e48da
wallet-core: make coin availability accounting idempotent 2022-09-19 12:48:11 +02:00
d759c7e78a
-comment 2022-09-19 12:21:15 +02:00
f1f332e0a6
-also check for revoked 2022-09-19 12:21:00 +02:00
e4679fba51
wallet-core: only pay with coins of offered denominations 2022-09-19 12:19:58 +02:00
fd752f3171
wallet-core: hide transient pay errors 2022-09-19 12:13:31 +02:00
cffc4347a0
wallet-core: add wire method check in new coin selection 2022-09-19 11:28:47 +02:00
Sebastian
ba5f8ad386
p2p was not returning the value 2022-09-17 18:40:03 -03:00
Sebastian
860f10e6f0
pretty 2022-09-16 14:27:24 -03:00
4b72bbd017
wallet-core: fix mixed age restrictions 2022-09-16 17:51:07 +02:00
117baf0e5b
-fix compiler error 2022-09-16 17:41:13 +02:00
183c836614
-wallet-core: merge DenominationInfo and DenomInfo 2022-09-16 17:35:06 +02:00
16e7814445
-move declaration 2022-09-16 17:21:54 +02:00
d6c545a0ba
-prettier, fix type error 2022-09-16 17:04:32 +02:00
374d3498d8
-cleanup 2022-09-16 16:34:00 +02:00
b91caf977f
wallet-core: support age restrictions in new coin selection 2022-09-16 16:32:21 +02:00
2747bc260b
wallet-core: support forced coins in new coin selection algo 2022-09-16 16:31:16 +02:00
b7f7b95602
wallet-core: towards faster coin selection 2022-09-16 16:31:16 +02:00
Sebastian
5d08379139
working on #7357
getTransactionById is introduced:
 with that we move all transaction information building into a function
transactionId was added in every response that creates a tx
2022-09-16 11:13:09 -03:00
a66b636dee
wallet-core: restructure denomination record for easier querying 2022-09-14 21:27:03 +02:00
c021876b41
wallet-core: cache fresh coin count in DB 2022-09-14 20:40:38 +02:00
Sebastian
9d044058e2
fixing properly adding query params 2022-09-14 08:37:33 -03:00
Sebastian
f026a8d326
import a complete database from cli 2022-09-14 08:19:59 -03:00
962bfde214
wallet-core: fix withdrawTestBalance command 2022-09-13 17:41:47 +02:00
676ae5102b
fix test and logging 2022-09-13 16:10:42 +02:00
48540f6264
wallet-core: introduce easier syntax for transactions 2022-09-13 16:10:42 +02:00
13e7a67477
wallet-core: uniform retry handling 2022-09-13 16:10:41 +02:00
b645d793df
wallet-core: fix creation of refresh session after peer-{push,pull} 2022-09-12 20:52:01 +02:00
Sebastian
27201416c7
ref #7323 2022-09-12 10:58:09 -03:00
fc413bb5ec
wallet-core: make bank access API URL optional in runIntegrationTest 2022-09-12 14:09:28 +02:00
9b2d6d766f
include age commitment proof in refreshed coins 2022-09-08 14:02:09 +02:00
319d51dc42
bump DB major version 2022-09-06 23:19:53 +02:00
Sebastian
1e00724a0d
listExchangesDetailed to getExchangeDetailedInfo & ageRestriction taken from the denoms 2022-09-06 17:17:50 -03:00
3f5a76751b
wallet-core: make listExchanges return less data
Since the webextension UI depends on the full response, we have a
temporary listExchangesDetailled request.
See https://bugs.taler.net/n/7323 for details.
2022-09-05 21:09:28 +02:00
Sebastian
d7a55a165f
replace __VERSION__ with a string definition 2022-09-05 13:04:31 -03:00
Sebastian
e0e33a88db
adding informantion about the service worker version on the setting page 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
27fb2d2970
wallet-core: fix format of purse deposits 2022-09-05 13:26:09 +02:00
300242637f
wallet-core: include age restriction in p2p signature, mark coins as spent 2022-09-05 12:55:46 +02:00
9fe0e74256
wallet-core: fix withdrawal of age-restricted denoms without age restriction 2022-09-01 22:43:57 +02:00
ec43b6a5bf
wallet-core: fix issue with crock encoding of age restrictions 2022-09-01 22:26:22 +02:00
Sebastian
94eeab8ad0
more information about p2p:
- added the contract terms on WgInfoBankPeerPush and WgInfoBankPeerPull, so we can show summary and expiration in the ui
 - added info: PeerInfoShort on Transaction* type
 - definition of completed p2p tx:
   - push debit: Amounts.cmp(sentAmount, pickedUpAmount) === 0. is this transfer already picked up? (not working)
   - pull debit: pi.paid, is this invoice already paid?
   - pull credit: wsr.timestampFinish, has someone already paid my invoice?
   - push credit: wsr.timestampFinish, have I already picked up this?
 - changed the txId of peer pull debit to have the incomingId instead of pursePub (allow deletion)
2022-09-01 08:42:45 -03:00
Sebastian
d84424202d
p2p tx rendering 2022-08-31 00:20:35 -03:00
Sebastian
6610a0b9d7
add senderWire to the withdrawal group again, group payto to avoid duplication 2022-08-29 13:23:22 -03:00
Sebastian
eef2d47020
exchange selection: timeline done 2022-08-26 01:09:47 -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
22bc73ac4b
wallet-core: fix db index on withdraw URI 2022-08-25 17:49:24 +02:00
f3231ccdf9
wallet-core: put taler:// URIs in transactions list 2022-08-24 22:42:30 +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
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
Sebastian
d1980c39fc
moved wireInfo and denomInfo into taler-util so it can be used from the ui 2022-08-18 16:02:16 -03:00
Sebastian
f5441a682d
fix: for bitcoin withdrawal the exchange payto:// is not enough and the withdrawal payto should always have the reserve pub 2022-08-18 11:30:16 -03:00