Commit graph

626 commits

Author SHA1 Message Date
woodser
1a0fab8c47 validate sender hostname and update address on dispute opened message 2024-02-02 06:16:41 -05:00
woodser
6f51d333ec resend payment sent & received messages from trade thread on startup 2024-02-02 06:16:41 -05:00
woodser
1a5a754f18 set mailbox message comparator in trade manager to fix npe 2024-01-29 08:41:04 -05:00
woodser
481b6c871a backup wallets on shut down, skip when open on windows 2024-01-29 08:41:04 -05:00
woodser
8600c0cb0d shut down http connections with 5s timeout 2024-01-28 06:45:05 -05:00
woodser
64aa052d83 decrease trade and offer manager shut down timeout to 60s 2024-01-27 09:07:46 -05:00
woodser
eb323f6d65 force restart trade wallet on connection refused during poll 2024-01-27 09:07:46 -05:00
woodser
2a2eb0c82f check if trade shut down started within lock 2024-01-27 09:07:46 -05:00
woodser
33bd4587c4 remove offers from books off user thread 2024-01-27 09:07:46 -05:00
woodser
41290a1f3f remove stacktrace on error polling trade wallet 2024-01-27 09:07:46 -05:00
woodser
221a63077c do not backup trade wallet if arbitrator for space saving 2024-01-27 09:07:46 -05:00
woodser
8776fecef0 use wallet lock with xmr address entries 2024-01-27 09:07:46 -05:00
woodser
821d949fa7 check offer availability off user thread 2024-01-25 12:29:32 -05:00
woodser
29a488d3af update balances off user thread 2024-01-25 12:29:32 -05:00
woodser
40650103d9 get wallet height off user thread 2024-01-25 12:29:32 -05:00
woodser
d0a489198b delete trade wallet backup if empty and payout unlocked, else schedule 2024-01-25 12:29:32 -05:00
woodser
19d3e2853d skip trade protocol message processing if shutting down 2024-01-23 20:45:20 -05:00
woodser
e4e8f5d311 fix npe syncing wallet normally for duration 2024-01-23 20:45:20 -05:00
woodser
6dc9842253 open dispute on trade thread 2024-01-23 20:45:20 -05:00
woodser
892eaa440a fix trade initialization error handling and run off trade thread 2024-01-22 05:21:29 -05:00
woodser
ea4359d164 run arbitrator protocol on trade thread 2024-01-22 05:21:29 -05:00
woodser
847e9e8701 save trade wallet on shutdown with timeout 2024-01-22 05:21:29 -05:00
woodser
b88bec580e update translations for wallet seed backup 2024-01-21 05:25:22 -05:00
woodser
a6b8723ebe persist wallet creation date when created 2024-01-21 05:25:22 -05:00
woodser
036f40e861 remove lock synchronization in connection service to avoid blocking 2024-01-21 05:25:22 -05:00
woodser
93c87462c6 fix CI tests by skipping daemon sync check for local testnet 2024-01-19 10:29:38 -05:00
woodser
e956114239 shut down OpenOfferManager thread pool before completing shut down 2024-01-19 05:45:46 -05:00
woodser
7beae49dd2 cancel pending price request on select new provider 2024-01-19 05:45:46 -05:00
woodser
75e85179b4 fixes for local monerod 2024-01-19 05:45:46 -05:00
woodser
947caca647 do not resend payment sent message to arbitrator after ack 2024-01-17 10:17:50 -05:00
woodser
857179f42d do not reprocess dispute closed message after illegal argument exception 2024-01-17 10:17:50 -05:00
woodser
7383ece7b3 delete backup wallets ~5 days after trade wallet 2024-01-15 10:44:43 -05:00
woodser
df27902577 add HavenoUtils.isSeedNode() 2024-01-15 10:44:43 -05:00
woodser
022028bb41 fix npe cleaning up arbitrator's mailbox messages 2024-01-13 07:28:03 -05:00
woodser
ad77912171 fix invalid pub key warning on process mailbox messages 2024-01-13 07:28:03 -05:00
woodser
2966f8461c update balances on freeze/thaw, register open offer before processing 2024-01-13 07:28:03 -05:00
woodser
036ddef52c update only buyer's payment sent message state property on startup 2024-01-13 07:28:03 -05:00
woodser
bcb951ca40 do not check best connection when connection is fixed 2024-01-13 07:28:03 -05:00
woodser
5c28428436 do not re-complete task to send deposits confirmed message 2024-01-12 06:52:01 -05:00
woodser
2b9d0ef5a6 fix payment sent message state property after improper shut down 2024-01-12 06:52:01 -05:00
woodser
db155283be repeatedly acquire lock on trade shut down and fix timeout 2024-01-10 09:35:25 -05:00
woodser
d26ddac5c0 rename proto type from CONFIRMED_IN_UI* to CONFIRMED* 2024-01-10 09:35:25 -05:00
woodser
6c83fc4cf8 avoid fetching wallet subaddresses individually by caching 2024-01-09 06:59:45 -05:00
woodser
c28ffb70ff update state from wallet notifications on UserThread 2024-01-09 06:59:45 -05:00
woodser
a6f6f5c00a protocols skip resending payment sent/received if shut down 2024-01-09 06:59:45 -05:00
woodser
c06a85b929 clear and shut down inactive trades, move more to trade threads 2024-01-06 12:52:21 -05:00
woodser
c14f37b595 invoke main wallet listeners in thread pool 2024-01-06 12:52:21 -05:00
woodser
52a44d020e update trades on UserThread in TradeManager to fix npe 2024-01-06 12:52:21 -05:00
woodser
0d60df2aa7 refactor trade and connection threading to new ThreadUtils 2024-01-06 12:52:21 -05:00
woodser
497de47965 do not set daemon connection to null on disconnect 2024-01-06 12:52:21 -05:00