Commit Graph

674 Commits

Author SHA1 Message Date
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
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
747bfcc267
bump db version 2022-11-02 19:07:46 +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
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
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