Commit Graph

689 Commits

Author SHA1 Message Date
woodser
d1e5910502 non-mature currencies have chargeback risk too 2024-04-29 11:22:49 -04:00
woodser
94ab3c1f9b show reserved amount in maker's offer details 2024-04-29 11:22:49 -04:00
woodser
e63141279c refactoring based on congestion testing
retry creating and processing trade txs on failure
do not use connection manager polling to reduce requests
use global daemon lock for wallet sync operations
sync wallets on poll if behind
use local util to get payment uri to avoid blocking
all peers share multisig hex on deposits confirmed
import multisig hex when needed
2024-04-29 11:22:49 -04:00
woodser
895acc9d7c do not fetch trade txs directly from daemon 2024-04-27 17:14:21 -04:00
woodser
6455171dea disable payment sent/received buttons until acked 2024-04-22 04:56:49 -04:00
woodser
3a66c9cd24 import multisig hex off main thread on payment sent message 2024-04-22 04:56:49 -04:00
woodser
e4b80ef14b do not update from pool on shared wallet sync 2024-04-22 04:56:49 -04:00
woodser
adccf27385 set deposit tx confirmations from wallet instead of daemon request 2024-04-22 04:56:49 -04:00
woodser
f0862b7aeb synchronize reserving funds for open offer to fix race condition 2024-04-22 04:56:49 -04:00
woodser
9d9635ff50 refactor wallet poll loops to further minimize requests 2024-04-22 04:56:49 -04:00
woodser
5c0d9a1ae5 remove timeout confirming payment sent/received & revert state on error 2024-04-21 06:27:30 -04:00
woodser
0ead6d8f83 adjust public and provided monero nodes 2024-04-21 06:27:30 -04:00
woodser
b08d6833a8 public nodes option entails provided nodes 2024-04-21 06:27:30 -04:00
woodser
8097b0f499 use cached txs in xmr wallet service instead of querying wallet 2024-04-21 06:27:30 -04:00
woodser
a107acbdb4 add more mainnet nodes for diversity and reliability 2024-04-18 14:19:52 -04:00
woodser
ca2d7704ab fixes from congestion testing
- refactor main wallet polling
- restart main wallet if connection changes before initial sync
- use cached wallet state throughout app
- avoid rescanning spent outputs until payout tx expected
- allow payment sent/received buttons to be clicked until arrived
- apply timeout to payment sent/received buttons
- load DepositView asynchronously
- remove separate timeout from OpenOffer
- tolerate error importing multisig hex until necessary
2024-04-18 14:19:52 -04:00
woodser
f7ac9ae37a show sync progress before sync starts on startup 2024-04-13 10:28:50 -04:00
woodser
b86e916dcb invoke error handler once on trade failure 2024-04-13 10:28:50 -04:00
woodser
9062bc9159 log error initializing main wallet 2024-04-13 10:28:50 -04:00
woodser
ccf2757418 increase trade protocol step timeout to 2m 2024-04-13 10:28:50 -04:00
woodser
2ba37d98fe shut down XmrWalletService with timeout 2024-04-13 10:28:50 -04:00
woodser
3e112485ba warn if trade wallet is more than 10 blocks behind monerod 2024-04-08 08:00:42 -04:00
woodser
b3ec46e769 register multiple pub keys for alerts and private notifications 2024-04-08 08:00:42 -04:00
woodser
fd328ceeea update sync progress in realtime with native wallet 2024-04-07 15:24:30 -04:00
woodser
7d7660414a trade fees are adjustable and persisted in offer payload 2024-04-07 08:33:39 -04:00
woodser
59fbd805a5 update offer state on same thread to fix blocking 2024-04-07 08:33:39 -04:00
woodser
60d82520c0 handle closing, stopping, deleting native and rpc wallet 2024-04-05 06:29:51 -04:00
woodser
01dd6a8af9 support using monero native libraries (experimental) 2024-04-01 19:28:00 -04:00
woodser
7eabde63f3
stop trade protocol if timeout while creating reserve or deposit tx 2024-03-25 10:31:36 -04:00
woodser
db12f1c2cb apply timeout for arbitrator to sign offer and init trade 2024-03-23 10:37:07 -04:00
woodser
10a5b55dfe check for trade timeout after arbitrator request and reserve tx 2024-03-23 10:37:07 -04:00
woodser
9661e6fba8 log details on invalid maker signature 2024-03-23 10:37:07 -04:00
woodser
897c010e0c save wallet on multisig import and create tx 2024-03-23 10:37:07 -04:00
woodser
60c2c12a95 show address for display with onion or localhost 2024-03-21 11:13:32 -04:00
woodser
1647a582f5 update chat views from upstream, support sending logs
Co-authored-by: jmacxx <47253594+jmacxx@users.noreply.github.com>
2024-03-21 11:13:32 -04:00
woodser
3c7841ae28
fix chat message listeners by returning source observable list (#830) 2024-03-18 10:47:43 -04:00
woodser
216260da85 cancel offer waits for result 2024-03-15 11:17:29 -04:00
woodser
4a57b26469 get txs after sync to update from pool 2024-03-15 11:17:29 -04:00
woodser
8d7bb250c5 get updated balances from Balances.java 2024-03-15 11:17:29 -04:00
napoly
82eb081089
Create task to generate key pairs (#823) 2024-03-14 12:12:42 -04:00
woodser
307689d372
fix build warning for trade.getChatMessages() (#807) 2024-03-09 17:50:08 -05:00
napoly
c777133d36
Support for open JDK 21 by updating dependencies (#647) 2024-03-09 10:36:37 -05:00
woodser
623196bcb0 fix trade wallet name 2024-02-28 06:58:26 -05:00
woodser
0c9a3ac0a4 rename trade wallets with short id and short uid 2024-02-27 12:09:44 -05:00
woodser
1dc2e8337c documentation fixes 2024-02-27 08:00:25 -05:00
woodser
98ffb5f34c remove trade after cleared and shut down 2024-02-26 11:23:06 -05:00
woodser
2c0275e336 do not sync trade wallet on deletion if deposit not requested 2024-02-26 11:23:06 -05:00
woodser
be90b317f2 advance trade state on payment sent ack 2024-02-25 08:22:56 -05:00
woodser
23db847065 shut down open offer pool off ui thread to avoid blocking 2024-02-19 16:50:53 -05:00
woodser
eaf096adeb cache wallet state to avoid requests on main thread 2024-02-19 16:50:53 -05:00