Commit Graph

946 Commits

Author SHA1 Message Date
557213f9c4
wallet-core,harness: get p2p tests to pass again 2023-08-30 09:54:47 +02:00
1ad2f4cbe9
wallet-core: do p2p coin selection based on coin availability records 2023-08-29 20:35:49 +02:00
a386de8a9c
wallet-core: split coin selection and instructed amount conversion 2023-08-29 18:33:51 +02:00
5852b5cf2e
wallet-core: update deposit signature 2023-08-29 14:22:43 +02:00
5aa883b5d1
repo: make incremental builds faster, don't use TypeScript build mode
(build mode should not be necessary since pnpm handles dependencies inside the repo)
2023-08-29 13:55:14 +02:00
a0d92d086f
taler-wallet-core: bump exchange version number 2023-08-29 13:54:01 +02:00
ebb1c58e7a
wallet-core: remove usage of /wire 2023-08-29 13:44:50 +02:00
55bdc161b5
taler-harness: add exchange-purse test 2023-08-29 09:46:43 +02:00
b13bd85215
taler-harness: remove axios usage, renovate some tests 2023-08-29 09:03:19 +02:00
6cc3fb3d04
harness: modernize some tests 2023-08-24 18:30:03 +02:00
9be4034cc0
harness: shared test environment WIP 2023-08-23 14:40:23 +02:00
2051aded50
-formatting / don't use deprecated method 2023-08-23 14:06:37 +02:00
0a05f6d903
wallet-core: always use batch withdrawal 2023-08-22 16:37:27 +02:00
b9f908db58
-logging 2023-08-22 16:37:16 +02:00
828e4ad3ef
wallet-core: use sqlite for in-memory DB 2023-08-22 08:55:33 +02:00
8c670bd06d
wallet-core: simplify/optimize async condition 2023-08-22 08:54:28 +02:00
f9d1c4a89e
wallet-core: wake up task loop on tx status changes 2023-08-22 08:54:05 +02:00
b2d0ad57dd
sqlite3 backend for idb-bridge / wallet-core 2023-08-22 08:01:13 +02:00
44aeaba7b4
wallet-core: introduce tiny digits 2023-08-05 23:56:07 +02:00
0547df9538
-remove logging 2023-08-05 23:36:32 +02:00
6286699f26
-validation 2023-08-05 23:34:37 +02:00
308a4282cb
wallet-core: mock implementation of GetCurrencyInfo 2023-08-05 23:34:37 +02:00
c12a366d49
adjustment of age-commitment and -proof generation
age-withdraw requires that the public keys in the age groups that
are too large for the commitment are derived from a published public
key.
2023-08-03 21:47:59 +02:00
ee47aa4837
fix integration tests
Instead of using the deprecated runUntilDone, we now wait
for specific notifications.

The old way doesn't work, since p2p push transactions are not considered
done until the counterparty has accepted the payment.
2023-08-03 19:24:04 +02:00
57e86b759e
rename tip->reward in URI 2023-08-03 19:03:24 +02:00
0b5d0cdc71
fix version substitution 2023-08-03 18:58:44 +02:00
fdbd55d2bd
-towards tip->reward rename 2023-08-03 18:35:07 +02:00
475fdb502b
organize imports 2023-08-02 16:27:59 +02:00
Sebastian
22a3017d52
removing import assert since it breaks with linaria 2023-08-02 09:49:14 -03:00
Sebastian
efed6b32c5
fix #7717 2023-08-02 07:40:28 -03:00
0b60602833
wallet-core: task loop logging 2023-07-24 14:18:14 +02:00
Sebastian
9c17b7cd92
add missing kyc url for manual withdrawal and add support for 451 case: aml-required 2023-07-21 17:09:04 -03:00
Sebastian
e90f1b4206
move amount and time function to util 2023-07-21 15:50:03 -03:00
Marc Stibane
8c2fed4e1c
some logging INFO -> TRACE 2023-07-12 18:06:06 +02:00
Sebastian
d759f08225
repurchase detection
- check that the old transaction is not refunded
 - if the old purchase was deleted fallback to no-repurchase detected
2023-07-10 14:09:18 -03:00
Sebastian
e0c4c2155f
do not expose the noncePriv 2023-07-10 09:42:14 -03:00
cf55f3f371
bump versions to 0.9.3-dev.17 2023-07-07 14:23:45 +02:00
8b06874f42
wallet-core: support passing transactionId to confirmPay 2023-07-06 20:17:59 +02:00
Sebastian
d98f048fd6
fix 7741: add sessionid 2023-07-03 14:01:23 -03:00
Sebastian
5d76573ac0
#7741 share payment
save shared state in backup
if purchase is shared check before making the payment of before claim the order
already confirmed order can return without effective if coin selection was not made
sharePayment operation
2023-07-03 12:42:44 -03:00
5695ae0a9f
wallet-core: use testingWaitTransactionsFinal to wait for transactions 2023-07-01 01:43:29 +02:00
f93ab03a1b
wallet-core: get rid of internal runUntilDone usages 2023-07-01 00:52:14 +02:00
7a18e12a17
wallet-core: towards event-based waiting in runIntegrationTestV2 2023-06-30 23:01:48 +02:00
bac2ac01b8
wallet-core: fix pending operation query for p2p tx 2023-06-30 22:59:50 +02:00
9cfc138e75
wallet-core: use canonicalized base URL when querying exchange 2023-06-30 22:00:20 +02:00
e0d4f7e4af
wallet-core: properly make coins visible after refresh 2023-06-30 16:29:35 +02:00
d4ee961387
wallet-core: rename OperationAttempt->TaskRun, do not allow task result values anymore 2023-06-30 16:14:58 +02:00
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