Commit Graph

949 Commits

Author SHA1 Message Date
b2fd948a54
-logging 2023-06-29 19:53:45 +02:00
424e39edda
-oops, obvious missing return 2023-06-29 12:13:52 +02:00
93ab00e601
wallet-core: fixup for coin availability (visible coins) 2023-06-28 17:22:33 +02:00
Sebastian
ce3c3d7839
check currency so it wont compare coins that are not related 2023-06-28 11:36:21 -03:00
db9d6dd394
wallet-core: do not notify twice on withdrawal creation 2023-06-28 14:47:20 +02:00
79e520c415
wallet-core: only report balance-change when withdrawal finishes 2023-06-28 11:18:03 +02:00
5bbf41ce1c
wallet-core: handle 'never' timestamp in purse status 2023-06-28 11:10:35 +02:00
4e3e17edd1
wallet-core: dead code elimination 2023-06-28 10:57:24 +02:00
35ae9f2c22
wallet-core: emit balance-change notifications, do less implicit background work 2023-06-28 10:49:41 +02:00
18a3d764de
wallet-core: fix withdrawal error reporting 2023-06-26 19:51:01 +02:00
5af24c1e88
wallet-core: fix some deposit transitions 2023-06-26 19:38:57 +02:00
a844136489
wallet-core: make changes to available amount atomic
W.r.t. transactions
2023-06-26 19:27:42 +02:00
Sebastian
87fc6ebf48
if checkmasterpub is specified, throw if master pub is not equal to the expected value 2023-06-26 14:22:34 -03:00
4b61945f6b
wallet-core: return numCoins in checkPeerPullCredit response 2023-06-26 12:57:00 +02:00
eae3571607
wallet-core: allow confirmPeerPullDebit via txId 2023-06-26 12:53:32 +02:00
fca893038d
wallet-core: fix deposit tx states, long-poll on kyc 2023-06-26 12:48:20 +02:00
fbab16ef23
wallet-core: allow deleting a peer-push-credit transaction in dialog state 2023-06-24 17:54:15 +02:00
1f31ebc3cc
wallet-core: allow confirming peer-push-credit via txid 2023-06-24 17:49:53 +02:00
Sebastian
8b85fe1775
wait 5 minutes before trigger wire transfer, prevent the exchange to make more than 1 wire transfer if the deposit takes times 2023-06-21 10:24:01 -03:00
5eb339b836
wallet-core: fix withdrawal KYC transitions and use long-polling 2023-06-21 12:21:48 +02:00
Sebastian
5c5586df99
more real cases 2023-06-20 17:50:43 -03:00
77849fdf5d
-minor rename 2023-06-20 19:43:39 +02:00
98a351aa4c
repo: bump to 0.9.3-dev.16 2023-06-20 19:42:44 +02:00
8d20ab87fa
wallet-core: consistently rename to failTransaction 2023-06-20 19:41:42 +02:00
Sebastian
1e9f1fb7a9
remove calculate plan (for now) implemented simpler API 2023-06-20 14:30:02 -03:00
e5a8ae7d60
wallet-core: remove redundant/unused notifications 2023-06-20 16:07:20 +02:00
26b30a462a
wallet-core: be less spammy with self-transitions and logging 2023-06-20 15:10:51 +02:00
9c708251f9
wallet-core: emit DD37 self-transition notifications with errors 2023-06-20 11:40:06 +02:00
54f0c82999
wallet-core: fix peer-(push,pull)-debit withdrawal states 2023-06-19 16:03:06 +02:00
bcff03949b
wallet-core: implement coin selection repair for p2p payments 2023-06-19 12:02:43 +02:00
Sebastian
ed01d407e7
add test to compare withdrawing KUDOS:25 with demo config 2023-06-16 09:50:19 -03:00
Sebastian
444c5427f4
remove some type literal and pretty 2023-06-16 09:40:45 -03:00
Sebastian
d0d7685f16
add test to coin selection algorithm 2023-06-15 13:07:31 -03:00
Sebastian
f7058a86c9
watch test 2023-06-15 13:07:13 -03:00
Sebastian
8b74bda065
get operation plan impl, no test 2023-06-13 16:46:16 -03:00
d8d214942c
wallet-core: truncate withdrawal errors 2023-06-06 17:25:17 +02:00
698f356659
wallet-core: check base URL reported by exchange 2023-06-06 17:18:53 +02:00
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