Commit Graph

724 Commits

Author SHA1 Message Date
woodser
7e3d89797e recover from failed payout tx 2024-05-15 09:33:54 -04:00
nsec1
1b864368e1
Update p2p package #756 (#884) 2024-05-15 06:52:36 -04:00
woodser
091ffd98eb set trade wallet sync tolerance to 5 blocks 2024-05-13 07:11:59 -04:00
woodser
a9f7a06e1f make configurable if arbitrator assigns trade fee address 2024-05-11 11:20:47 -04:00
woodser
3cdd88b569 support --ignoreLocalXmrNode startup flag 2024-05-09 18:39:55 -04:00
woodser
f4de560764 process payout tx if not confirmed, send deposit responses once 2024-05-08 18:08:25 -04:00
woodser
f1b8cd1e2e thaw reserved inputs and re-freeze offer inputs on create tx errors 2024-05-08 09:12:35 -04:00
woodser
5d7991e4f7 repeat refresh offer on TTL error 2024-05-08 09:12:35 -04:00
woodser
203386f03d wait to observe published tx on error with payment received 2024-05-08 09:12:35 -04:00
woodser
d64ee42154 skip processing payout tx if already published 2024-05-08 09:12:35 -04:00
woodser
adf7348515 bump reprocessing delay to 5s 2024-05-08 09:12:35 -04:00
woodser
0ea056104c support invalid offer state 2024-05-08 09:12:35 -04:00
woodser
7887c450c7 arbitrator sends deposit responses on error or timeout 2024-05-08 09:12:35 -04:00
woodser
a6d827c369 latch trade awaits trade initialization 2024-05-08 09:12:35 -04:00
woodser
4ec5339e5d release wallet lock processing payout tx 2024-05-08 09:12:35 -04:00
woodser
b179203dd2 repeat wallet attempts after 2s 2024-05-08 09:12:35 -04:00
woodser
4761b71105 remove repeated popups on offer taken error 2024-05-08 09:12:35 -04:00
woodser
399d4e0512 thaw outputs off main thread on cancel offer 2024-05-08 09:12:35 -04:00
woodser
78ec06b851 add trade init steps and reset timeout 2024-05-07 21:37:49 -04:00
woodser
6fb846d783 refactor trade protocol error handling and wallet deletion 2024-05-07 21:37:49 -04:00
woodser
78ae449e18 use dns seed nodes from MainNetParams on stagenet 2024-05-05 11:30:22 -04:00
woodser
f99fab8515 repeat try withdraw tx and fix amount details 2024-05-05 08:33:49 -04:00
woodser
ceff34672d recover from deleted wallet cache 2024-05-04 09:16:01 -04:00
woodser
b50238a805 log cleanup 2024-05-04 09:16:01 -04:00
woodser
e96b875232 use more cached wallet state instead of direct queries 2024-05-04 09:16:01 -04:00
woodser
a5883d7bcd arbitrator assigns trade fee address 2024-05-04 09:16:01 -04:00
woodser
eefcf0191f trade step timeout is 60s on testnet 2024-04-30 15:34:51 -04:00
woodser
2341e73da2 defer dispute payout tx if awaiting peer ack or closed 2024-04-30 13:52:04 -04:00
woodser
f8480a1a4d remove unused import 2024-04-30 13:07:36 -04:00
woodser
e2f19c280e defer dispute payout tx if awaiting peer ack 2024-04-30 12:53:12 -04:00
woodser
467b678ea7 check if dispute payout published on submit failure, thread fixes 2024-04-30 11:18:04 -04:00
woodser
a3f2cd875c update balances on same thread 2024-04-30 11:18:04 -04:00
woodser
5531d4eea1 increase max tx attempts to 5 2024-04-29 11:22:49 -04:00
woodser
8e24ebfc23 import multisig hex locks on daemon due to refresh call 2024-04-29 11:22:49 -04:00
woodser
bd1be1041a increase timeout for sign offer request ack to 30s 2024-04-29 11:22:49 -04:00
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