Commit Graph

439 Commits

Author SHA1 Message Date
962bfde214
wallet-core: fix withdrawTestBalance command 2022-09-13 17:41:47 +02:00
676ae5102b
fix test and logging 2022-09-13 16:10:42 +02:00
48540f6264
wallet-core: introduce easier syntax for transactions 2022-09-13 16:10:42 +02:00
13e7a67477
wallet-core: uniform retry handling 2022-09-13 16:10:41 +02:00
b645d793df
wallet-core: fix creation of refresh session after peer-{push,pull} 2022-09-12 20:52:01 +02:00
Sebastian
27201416c7
ref #7323 2022-09-12 10:58:09 -03:00
fc413bb5ec
wallet-core: make bank access API URL optional in runIntegrationTest 2022-09-12 14:09:28 +02:00
9b2d6d766f
include age commitment proof in refreshed coins 2022-09-08 14:02:09 +02:00
319d51dc42
bump DB major version 2022-09-06 23:19:53 +02:00
Sebastian
1e00724a0d
listExchangesDetailed to getExchangeDetailedInfo & ageRestriction taken from the denoms 2022-09-06 17:17:50 -03:00
3f5a76751b
wallet-core: make listExchanges return less data
Since the webextension UI depends on the full response, we have a
temporary listExchangesDetailled request.
See https://bugs.taler.net/n/7323 for details.
2022-09-05 21:09:28 +02:00
Sebastian
d7a55a165f
replace __VERSION__ with a string definition 2022-09-05 13:04:31 -03:00
Sebastian
e0e33a88db
adding informantion about the service worker version on the setting page 2022-09-05 13:04:31 -03:00
4a0512884d
upgrade typescript (and some related deps) 2022-09-05 16:20:01 +02:00
43b893b8c4
consider supported wire types when selecting coins
Also add an integration test to check for the correct wallet behavior.
2022-09-05 15:38:47 +02:00
27fb2d2970
wallet-core: fix format of purse deposits 2022-09-05 13:26:09 +02:00
300242637f
wallet-core: include age restriction in p2p signature, mark coins as spent 2022-09-05 12:55:46 +02:00
9fe0e74256
wallet-core: fix withdrawal of age-restricted denoms without age restriction 2022-09-01 22:43:57 +02:00
ec43b6a5bf
wallet-core: fix issue with crock encoding of age restrictions 2022-09-01 22:26:22 +02:00
Sebastian
94eeab8ad0
more information about p2p:
- added the contract terms on WgInfoBankPeerPush and WgInfoBankPeerPull, so we can show summary and expiration in the ui
 - added info: PeerInfoShort on Transaction* type
 - definition of completed p2p tx:
   - push debit: Amounts.cmp(sentAmount, pickedUpAmount) === 0. is this transfer already picked up? (not working)
   - pull debit: pi.paid, is this invoice already paid?
   - pull credit: wsr.timestampFinish, has someone already paid my invoice?
   - push credit: wsr.timestampFinish, have I already picked up this?
 - changed the txId of peer pull debit to have the incomingId instead of pursePub (allow deletion)
2022-09-01 08:42:45 -03:00
Sebastian
d84424202d
p2p tx rendering 2022-08-31 00:20:35 -03:00
Sebastian
6610a0b9d7
add senderWire to the withdrawal group again, group payto to avoid duplication 2022-08-29 13:23:22 -03:00
Sebastian
eef2d47020
exchange selection: timeline done 2022-08-26 01:09:47 -03:00
30e8fd83c2
wallet-core: fix revocation, re-introduce reserves object store 2022-08-26 01:18:01 +02:00
70d0199572
integration tests: various fixes 2022-08-25 23:35:29 +02:00
499e003ff8
specify bank access API separately in tests 2022-08-25 18:34:25 +02:00
22bc73ac4b
wallet-core: fix db index on withdraw URI 2022-08-25 17:49:24 +02:00
f3231ccdf9
wallet-core: put taler:// URIs in transactions list 2022-08-24 22:42:30 +02:00
a11ac57535
wallet-core: p2p support for transactions list 2022-08-24 22:17:19 +02:00
bf516a77e8
fix idb bug, p2p integration test 2022-08-24 21:07:13 +02:00
42c2b7508f
wallet-core: fix withdrawal idempotency 2022-08-24 19:44:24 +02:00
d32d2895ce
-get p2p pull integration test to run through 2022-08-24 11:11:02 +02:00
bc434ebb83
use fakebank for integration tests 2022-08-23 22:30:05 +02:00
f3ff5a7225
peer-to-peer pull payments MVP
p2p pull wip
2022-08-23 20:35:11 +02:00
Sebastian
d1980c39fc
moved wireInfo and denomInfo into taler-util so it can be used from the ui 2022-08-18 16:02:16 -03:00
Sebastian
f5441a682d
fix: for bitcoin withdrawal the exchange payto:// is not enough and the withdrawal payto should always have the reserve pub 2022-08-18 11:30:16 -03:00
Sebastian
17e627c2f0
default exchange 2022-08-17 16:12:44 -03:00
ac8f116780
implement peer to peer push payments 2022-08-16 17:55:12 +02:00
Sebastian
4409d8384b
add delivery info in the parse contract terms and a function to get info from a proposalId 2022-08-08 13:53:04 -03:00
Sebastian
84634a4ab4
removed the type check when accessing h_age_com 2022-07-21 10:32:30 -03:00
aff3100d89
proper handling of coin with age restriction
When a coin with age restriction is used for payment, the contract might
or might not require an attestation of minimum age.

When it does, we sent the signed minimum age along with the whole age
commitment (array of pubkeys).

Added:  When the contract doesn't require a minimum age, we still sent
the hash of the age commitment, as this is needed for the deposit of the
coin.
2022-07-21 11:35:31 +02:00
f11483b511
wallet-core: implement accepting p2p push payments 2022-07-12 17:41:14 +02:00
b214934b75
wallet-core: P2P push payments (still incomplete) 2022-07-08 11:08:30 +02:00
Sebastian
ccd289904d
- typo fix 2022-06-26 15:52:32 -03:00
716da3246b
wallet-core: correctly report 'confirmed' status of bank integrated withdrawal 2022-06-10 13:38:59 +02:00
f57dc7bf7a
wallet-core: implement and test forced coin/denom selection 2022-06-10 13:03:47 +02:00
Boss Marco
b00635c140
increase timeouts for retries 2022-06-08 10:58:54 +02:00
Boss Marco
f8c814cf95
reserve long polling longer, add withdrawOnly to bench1 2022-06-07 13:42:34 +02:00
Sebastian
adb0277f4e
-removing bad console log 2022-06-01 11:35:50 -03:00
d780e9b187
wallet-core: only attest age if required/possible 2022-06-01 11:54:45 +02:00