Commit Graph

962 Commits

Author SHA1 Message Date
002ab0dab7
wallet-core: try to abort withdrawals wallet-side with the bank 2023-06-06 17:07:09 +02:00
f9c33136b4
wallet-core: use status consistently for querying for pending tasks 2023-06-06 16:47:32 +02:00
2d243b67c8
wallet-core: missing put operation 2023-06-06 15:55:20 +02:00
8671dc37c8
build system: use --build argument for tsc 2023-06-06 15:30:37 +02:00
f56a563533
build system: get rid of prepare scripts
These don't seem to be the right location to compile packages.
The newest version of pnpm runs all those scripts on "pnpm install",
even if we filter for only one package.  That results in a build
performance issue.
2023-06-06 15:25:53 +02:00
265d88b6b7
wallet-core: fix long-polling check 2023-06-06 15:23:25 +02:00
570c9dcbad
wallet-core: fix peer-push-debit transition helper 2023-06-06 15:01:59 +02:00
474a171f5e
wallet-core: deterministic p2p contract encryption 2023-06-06 15:00:15 +02:00
1befd39671
bump typescript version 2023-06-06 11:54:37 +02:00
da927b5e48
wallet-core: handle Gone in peer-pull-debit 2023-06-05 18:38:17 +02:00
bdb67c83a9
-fix import 2023-06-05 18:01:32 +02:00
9fca44893a
wallet-core: handle more p2p abort cases nicely 2023-06-05 17:58:25 +02:00
e671880b9e
wallet-core: use long-polling for P2P kyc 2023-06-05 13:33:14 +02:00
fda5a0ed87
wallet-core: restructure p2p impl 2023-06-05 11:45:16 +02:00
f3d4ff4e3a
wallet-core: fix payment abort state machine 2023-06-05 10:29:04 +02:00
369016c5a2
-fully remove 2023-06-02 16:11:51 +02:00
b1ce901df2
wallet-core: remove waiting-for-retry and some other notifications that we don't use 2023-06-02 16:03:07 +02:00
1ee9ef80bd
wallet-core: fix tipping state machine issues 2023-06-02 15:53:46 +02:00
2a92ca8732
wallet-core: report possible actions in transactions list 2023-05-30 15:58:28 +02:00
000359a5e7
finish implementation of abort / cancelAborting on all tx types 2023-05-30 12:28:21 +02:00
d1dade4426
-type error 2023-05-30 09:35:58 +02:00
0323067c07
wallet-core: add missing resume/suspend implementations 2023-05-30 09:33:38 +02:00
246f914ca6
wallet-core: missing suspended states 2023-05-30 09:33:38 +02:00
dad7d48ed2
wallet-core: fix withdrawal abort 2023-05-26 14:12:11 +02:00
96d9ea3840
taler-util,wallet-core: make AbsoluteTime opaque 2023-05-26 13:52:00 +02:00
cd8f76db61
taler-util,wallet-core: implement TalerPreciseTimestamp
Fixes #7703
2023-05-26 12:19:32 +02:00
557dcec30d
-organize imports 2023-05-26 11:13:54 +02:00
5df212c66d
wallet-core: dispatch cancelAborting for withdrawal 2023-05-26 10:43:49 +02:00
5b665c7d80
wallet-core: move deposit transaction deletion 2023-05-25 19:31:14 +02:00
fe8749c3f8
wallet-core: implement cancelAbortingTransaction for deposit groups 2023-05-25 19:26:40 +02:00
8624d798b7
wallet-core: fix issues with aborting deposits 2023-05-25 19:11:03 +02:00
485f7d3603
-fix method 2023-05-25 18:23:47 +02:00
a4112bae9e
wallet-core: implement request to return sample transactions 2023-05-25 12:19:00 +02:00
0b4d900088
wallet-core: return transactionId whenever a transaction is created 2023-05-25 11:59:55 +02:00
c3ef842df0
wallet-core: add pay-merchant suspended states 2023-05-25 11:52:20 +02:00
5f325aa4d3
wallet-core: more notifications 2023-05-25 11:22:10 +02:00
0406160869
wallet-core: DD37 fixes and FIXME comments for merchant payments 2023-05-25 11:13:25 +02:00
7b2aa57b18
-comment 2023-05-24 15:09:42 +02:00
126e9e7457
wallet-core: use/allow txids as tombstone 2023-05-24 15:07:29 +02:00
7eef3f57d2
-type 2023-05-24 15:01:59 +02:00
318f544184
wallet-core: implement deletion for new refund implementation 2023-05-24 14:59:54 +02:00
a2ef2e391a
wallet-core: remove legacy non-DD37 tx status fields 2023-05-24 14:46:03 +02:00
f475f98f86
wallet-core: fix getTransactionById for refunds 2023-05-24 14:20:48 +02:00
f14c7e5f2a
wallet-core: remove deprecated txid parsing 2023-05-24 14:09:25 +02:00
4627c0781c
wallet-core: report number of coins in withdrawal details 2023-05-24 12:58:33 +02:00
ea953f2b77
wallet-core: use division for withdrawal coin selection 2023-05-24 12:54:07 +02:00
da87ce41a6
wallet-core: logging to diagnose perf/hang issue 2023-05-24 12:27:24 +02:00
Sebastian
708cf016e4
nominal typing for taskId, also fixing transactionId reference 2023-05-22 13:13:40 -03:00
acf0dda83f
wallet-core: return purchase information in refund if available 2023-05-16 19:03:22 +02:00
72d0230a2e
-fix minor state name 2023-05-16 16:48:51 +02:00
359b9860a6
wallet-core: remove legacy operation names 2023-05-11 14:29:55 +02:00
1d718dda1d
-optional 2023-05-11 13:05:49 +02:00
07bf3d5b8f
wallet-core: iban workaround 2023-05-11 13:04:15 +02:00
6308c7ea6b
wallet-core: return txid when starting refund via URI 2023-05-10 17:30:42 +02:00
1c39b2befa
bump versions 2023-05-09 18:20:10 +02:00
2f3db5bcf1
bump versions 2023-05-08 09:37:39 +02:00
b9d658f50b
-spelling consistency 2023-05-07 22:43:45 +02:00
99b844b465
-test fixes 2023-05-07 22:16:33 +02:00
7f0edb6a78
wallet-core: refund DD37 refactoring 2023-05-07 21:51:02 +02:00
cbf0f83954
wallet-core: remove allowed auditors from contract terms 2023-05-05 13:29:49 +02:00
60805f3ff8
DD37 wip 2023-05-05 13:21:58 +02:00
1b0bec0363
wallet-core: support new exchange wire account signature 2023-05-03 10:01:51 +02:00
23fca6d867
wallet-core: report pay-merchant DD37 state 2023-05-02 13:24:51 +02:00
16d30adf0d
-withdrawal notifications 2023-05-02 10:59:50 +02:00
c4f5c83b8e
wallet-core: implement withdrawal tx transitions 2023-05-02 10:05:05 +02:00
0425b92dd7
wallet-core: adjust to breaking merchant API change 2023-04-25 23:58:17 +02:00
fd86791e42
-DD37 wip 2023-04-25 23:58:17 +02:00
ce41337bd1
wallet-core: derive DD37 for tipping 2023-04-24 21:39:28 +02:00
e4407f8259
-refunds for deposit aborts 2023-04-24 20:30:01 +02:00
Sebastian
b3cdd3409e
improved log, added allow-http flag and prevent thrott 2023-04-24 13:13:20 -03:00
Sebastian
205d7364ed
wallet effective config 2023-04-24 12:53:20 -03:00
Sebastian
e4bf114f60
fixme in wire status 2023-04-24 12:14:08 -03:00
eff3920bd5
wallet-core: further towards deposit DD37 2023-04-23 22:49:42 +02:00
321252040e
-fix test-exchange-deposit 2023-04-22 22:17:08 +02:00
da59c85d2d
get rid of deprecated bankBaseUrl in more places 2023-04-22 18:36:56 +02:00
15feebecfe
wallet-core: towards DD37 for deposits 2023-04-22 14:17:49 +02:00
e331012c9f
-fix harness type errors 2023-04-21 22:46:04 +02:00
e81ae0f3e5
wallet-harness: make sure events are not lost in deposit test 2023-04-21 22:02:40 +02:00
Sebastian
45bbe7ba12
add wallet config on the top 2023-04-19 12:58:35 -03:00
Sebastian
d483a3f557
fix #7704 2023-04-19 12:42:47 -03:00
b567ba4668
wallet-core: work around missing timestamp in legacy transaction 2023-04-13 15:58:38 +02:00
b96464fe09
Revert "wallet-core: check master public key in /wire response"
This reverts commit 7944a36e30.
2023-04-13 15:04:08 +02:00
7944a36e30
wallet-core: check master public key in /wire response 2023-04-13 14:16:06 +02:00
3022777363
-missing import 2023-04-13 11:48:06 +02:00
c581cff749
wallet-core: implement 'generateDepositGroupTxId' request 2023-04-13 11:26:46 +02:00
43ae414a55
-re-add missing fields, fix types 2023-04-06 12:47:34 +02:00
3cf6d15eae
taler-harness: new test 2023-04-05 18:19:14 +02:00
2823b1cdf4
wallet-core: towards DD37 for deposits 2023-04-05 17:38:41 +02:00
d5c5c7463e
wallet-core: also return top-level fee gap estimate 2023-04-05 11:06:22 +02:00
Sebastian
7090807fcb
fix broken tests 2023-04-04 15:11:27 -03:00
f658718b94
-fix type 2023-04-04 15:41:30 +02:00
28d8c257e5
bump version to 0.0.3-dev.11 2023-04-04 15:26:15 +02:00
07d8498abc
wallet-core: implement runIntegrationTestV2 2023-04-04 15:26:14 +02:00
cefec08ce7
wallet-core: check for broken transactions 2023-04-04 15:26:14 +02:00
Sebastian
543795f7fc
save posConfirmation after payment 2023-04-03 12:13:13 -03:00
Sebastian
b08bb05a40
save wire fee instead of effective amount 2023-03-31 14:50:59 -03:00
Sebastian
b0cc65e17f
move coin selection function to coinSelection.ts and added a test placeholder, and some fixes:
* selectCandidates was not save wire fee
 * selectCandidates show check wire fee time range
2023-03-31 12:27:17 -03:00
Sebastian
74dba9506d
show wire details when the deposit has been wired 2023-03-29 15:14:24 -03:00
329b766ae7
bump Taler component versions 2023-03-29 19:45:45 +02:00
a17a08ae28
implement IBAN validation 2023-03-29 18:50:07 +02:00
Sebastian
efbde0e160
handle kyc error on invoice and transfer 2023-03-29 00:06:24 -03:00
5f681813cf
-typos 2023-03-13 10:42:46 +01:00
Sebastian
f404878063
fix: summary empty string also means that summary is required 2023-03-10 01:26:05 -03:00
b8a11e69f5
wallet-core: really report estimatedAmountEffective in PeerPullCredit 2023-02-24 03:49:13 +01:00
9d3d2a43c7
bump versions to 0.9.3-dev.5 2023-02-23 20:16:32 +01:00
3cdee428dd
bump versions to 0.9.3-dev.4 2023-02-23 16:09:55 +01:00
582b6ae5f4
wallet-core: report correct amountEffective in peer-pull-credit even before withdrawal is active 2023-02-23 16:07:14 +01:00
dd9e4555ba
wallet-core: fixup for legacy peer-push-debit transaction 2023-02-23 15:52:32 +01:00
7985b0a33f
taler-harness: deployment tooling for tipping 2023-02-23 00:52:17 +01:00
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