Commit Graph

929 Commits

Author SHA1 Message Date
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
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