Commit graph

944 commits

Author SHA1 Message Date
woodser
0644d0b74a fixes to sync with progress start and target height 2024-08-07 08:47:27 -04:00
woodser
7461da9722 request connection switch on poll if txs not updated within 3 minutes 2024-08-07 07:13:37 -04:00
woodser
d300ce8ce7 announce connection change on refresh period change 2024-08-07 06:57:43 -04:00
woodser
fa25843684 save wallet on each poll 2024-08-07 06:57:43 -04:00
woodser
0105c1436a sync wallet directly within 100 blocks of target height 2024-08-07 06:57:43 -04:00
woodser
443c2f4cdb sync on wallet lock before checking if wallet is behind 2024-08-07 06:57:43 -04:00
woodser
3dfaa2fc52 fix concurrent modification exception in disputes list 2024-08-07 06:57:43 -04:00
woodser
d9a3feba8d use lock for importing multisig hex 2024-08-07 06:57:43 -04:00
woodser
ca7d596175 refactor base wallet so trades can sync with progress timeout, etc 2024-08-07 06:57:43 -04:00
woodser
1b5c03bce8 refactor syncing wallet with progress and switching connections 2024-08-07 06:57:43 -04:00
woodser
dbb3d4f891 offer key images are null when not initialized 2024-08-07 06:57:43 -04:00
woodser
00ceeeba5f do not allow arbitrators to open disputes 2024-08-03 11:37:54 -04:00
woodser
9004c7f32a fix re-signing offers with inexact amount reserved 2024-08-03 11:37:45 -04:00
woodser
2e57e6197d release lock processing offers before callback 2024-08-03 11:37:45 -04:00
woodser
76f8f85487 republish offers unless deactivated or canceled 2024-08-03 11:37:45 -04:00
woodser
8d8aa65d1d remove warning checking if can take offer by arbitrator signature 2024-08-03 11:37:45 -04:00
woodser
0df4f63d53 show top error on failure to open main wallet 2024-08-03 11:37:29 -04:00
woodser
3b0080dbba support re-opening dispute if payout fails 2024-08-03 11:37:20 -04:00
woodser
79cd9f3e82 re-export multisig hex on create multisig tx or open dispute 2024-08-03 11:37:20 -04:00
woodser
c63cf2f0a0
remove duplicate historical trade stats after fuzzing 2024-07-28 09:20:50 -04:00
woodser
5ca9cb8dff
increase wallet sync progress timeout to 60s 2024-07-24 09:42:00 -04:00
woodser
1e70c70579
fix publishing duplicate trades after randomization 2024-07-23 08:05:41 -04:00
woodser
bdcf8a2182
fix npe force closing wallet on startup 2024-07-23 08:03:36 -04:00
woodser
629e1508f2
do not request connection change on trade poll error except rescan 2024-07-20 21:41:20 -04:00
woodser
b03c873a06
search by payment method in filter and tweak ui 2024-07-20 21:39:10 -04:00
PW
7c8753c17b
Make offers filterable via offer ID or Node address 2024-07-20 21:29:57 -04:00
woodser
b61f1fabcd disable synchronizing on daemon for performance 2024-07-20 18:20:10 -04:00
woodser
13d6eaee7d recover from offer funds being unexpectedly unavailable 2024-07-20 18:20:10 -04:00
woodser
fc3407cd50 ignore switch connection request within 10s, 2 per min 2024-07-20 18:20:10 -04:00
woodser
eb8025f6e8 skip wallet checks on deletion if deposit not requested 2024-07-20 18:20:10 -04:00
woodser
5d739f912c remove dedicated connection change thread for trade 2024-07-20 18:20:10 -04:00
woodser
82d586ab78 remove trade on error force closes and shuts down thread 2024-07-20 18:20:10 -04:00
woodser
291622e452 switch to current connection on connection changed 2024-07-20 18:20:10 -04:00
woodser
9b26682646 fixes checking for missing wallet data 2024-07-20 18:20:10 -04:00
woodser
09fd8710b1 do not set offer state to pending after canceled 2024-07-20 18:20:10 -04:00
woodser
ebcadb7bed reinitialize main wallet on same thread as connection change 2024-07-20 18:20:10 -04:00
woodser
cb132e727a limit switch connection requests to 3 per minute 2024-07-20 18:20:10 -04:00
woodser
0b3763f900 fix 'not enough money' bug by trying any subaddress 2024-07-19 08:22:48 -04:00
woodser
7308206a10 set trade role from utility class in api #1146 2024-07-18 07:18:25 -04:00
woodser
caaf9f7b5b limit logging of poll errors to once every 4 minutes 2024-07-18 07:18:15 -04:00
woodser
8b7e95f614 reduce logging on failure to sign offer 2024-07-17 15:35:33 -04:00
woodser
d69dcae875 preserve offers unless invalid #1115 2024-07-17 15:35:33 -04:00
woodser
06b0c20bad switch to next best monerod on various errors 2024-07-17 15:35:22 -04:00
woodser
33bf54bcac recover from payment received message not processed 2024-07-17 15:35:22 -04:00
woodser
1c381de806 add mainnet monero nodes 2024-07-17 15:35:22 -04:00
woodser
78a2476bb8 decrease startup timeout to 4 mins 2024-07-17 15:35:22 -04:00
woodser
96bcd7547d ignore error syncing with progress on shut down 2024-07-17 15:35:22 -04:00
woodser
9c359b5e29
support deleting payment accounts #1136 2024-07-16 16:11:50 -04:00
fa2a5qj3
0a469db8f6
randomize completed trade info, fixes #1099 2024-07-16 16:08:55 -04:00
woodser
91e442d642 simplify the filter object message 2024-07-16 07:52:02 -04:00
woodser
23a7fb3d16 cache wallet info last on poll 2024-07-13 11:49:33 -04:00
woodser
c2b816e5f0 log when offer's signing arbitrator is unavailable 2024-07-13 11:49:21 -04:00
woodser
082c8c4290 Revert "randomize completed trade info, fixes #1099"
This reverts commit db6cb237bf.
2024-07-13 07:38:36 -04:00
fa2a5qj3
db6cb237bf randomize completed trade info, fixes #1099 2024-07-10 10:29:04 -04:00
woodser
7c2af064a3 fix case for paypal extra info 2024-07-08 11:54:00 -04:00
walkerp07
05b00727a5 Add an "extra_info" text area for CashApp 2024-07-08 11:36:30 -04:00
walkerp07
8bf8144709 Add an "extra_info" text area for PayPal 2024-07-08 11:36:30 -04:00
woodser
5d39eecd4f fix 'not enough money' error on reserve exact offer amount #1089 2024-07-08 08:47:12 -04:00
woodser
8ce91aa0c1 fix error on shut down updating p2p connections table 2024-07-01 12:21:58 -04:00
woodser
c01d63490f
fix null price feed listener 2024-07-01 08:41:17 -04:00
fa2a5qj3
856faafd1c
fix IPv6 connectivity to XMR nodes #1076 2024-06-30 08:56:39 -04:00
woodser
1debdde33e
skip wallet polls if daemon not synced (#1080) 2024-06-30 07:36:25 -04:00
sraver
c3b93b6e75
replace miner fee toggles with 'send max' link for withdraw #1033
Co-authored-by: sraver <pyrdnx@pm.me>
Co-authored-by: woodser <woodser@protonmail.com>
2024-06-30 07:36:06 -04:00
PW
7acba27b9d
Do not select payment account currencies by default 2024-06-25 07:39:43 -04:00
woodser
c29cdb8b0f import multisig hex individually if one is invalid 2024-06-23 13:47:42 -04:00
woodser
8cdd65e7dd install monero bins to local app directories and exclude from backup 2024-06-23 13:47:42 -04:00
woodser
748f698314 add logging on failure to install monero binaries 2024-06-23 13:47:42 -04:00
muklavon
ee540d075b Update displayStrings_tr.properties
Corrected minor translation error.
2024-06-23 13:46:44 -04:00
muklavon
ac332dfd76 Update displayStrings_tr.properties
Minor translation errors corrected
2024-06-23 13:46:44 -04:00
muklavon
40e8c8b82c Update LanguageUtil.java
Just a minor debug
2024-06-23 13:46:44 -04:00
muklavon
fbb9c0f490 Update displayStrings_tr.properties
Adjusted some sentences.
2024-06-23 13:46:44 -04:00
muklavon
17c559d000 Update LanguageUtil.java
Turkish language moved to uncommented section.
2024-06-23 13:46:44 -04:00
muklavon
4fcd36edc4 Turkish Translation Added 2024-06-23 13:46:44 -04:00
woodser
cb0b6665f7 add and remove offers on user thread to fix illegal state #1031 2024-06-23 13:46:34 -04:00
woodser
26a5ffcb31 fallback from custom node to provided nodes on startup error #923
Co-authored-by: nsec1 <167650977+nsec1@users.noreply.github.com>
2024-06-23 13:46:22 -04:00
woodser
4494af8bc0 disable tor for private ip addresses to fix #1026 2024-06-23 13:46:09 -04:00
woodser
69a1e67da2 remove incomplete trades from trade summary to fix #1029 2024-06-23 13:43:23 -04:00
woodser
5108c22a29 seller creates unsigned payout tx on stale data error 2024-06-23 13:42:24 -04:00
woodser
1f0e326a16 log warning on error installing monero bins to fix grpc client 2024-06-19 13:26:11 -04:00
woodser
9b3d78bd4b fix ui forms for paypal, cash app, venmo 2024-06-09 08:32:20 -04:00
woodser
7abbe1c36f remove regional cake wallet nodes 2024-06-09 07:15:06 -04:00
woodser
fea804086b support paypal, cashapp, venmo
Co-authored-by: preland <89992615+preland@users.noreply.github.com>
2024-06-09 07:14:56 -04:00
woodser
ca125dbc48 seller publishes trade statistics without checking peer capabilities 2024-06-07 07:38:15 -04:00
woodser
99f41e0feb update to monero-java 0.8.29 to fix #995 2024-06-07 07:37:59 -04:00
woodser
88290c9dff fix invalid signature when sign offer re-requested after timeout 2024-06-07 07:29:34 -04:00
woodser
f6c35ba6f3 support extra info for australia payid account #976 2024-06-07 07:29:01 -04:00
woodser
f252265ede seller signs payout tx unless illegal state, avoid recreating payout tx 2024-06-07 07:28:49 -04:00
woodser
dd28c237c9 get or create maker payout address entry on trade init #978 2024-06-04 08:19:34 -04:00
woodser
b963fd501f fix contract mismatch taking sepa offer with sepa instant account #981 2024-06-04 08:15:10 -04:00
woodser
0919d92ce4 increase max question length for InteracETransfer to 160 characters #969 2024-06-03 10:19:19 -04:00
woodser
afcf5dd365 make filter object message more clear 2024-06-03 10:19:19 -04:00
woodser
7c3e87ed38 update release date 2024-05-25 14:56:23 -04:00
woodser
dade4a3759 do not extend timeout on sign contract request 2024-05-25 13:38:41 -04:00
woodser
6dfa1841f8 force restart trade wallet on confirm payment if missing txs to fix #960 2024-05-25 13:38:41 -04:00
woodser
14d17023a8 seller publishes trade statistics if trade amount transferred 2024-05-24 15:56:28 -04:00
woodser
3e2206cf5e add logging and popup when trade wallet returns null txs 2024-05-24 15:56:28 -04:00
woodser
64081b684c arbitrator nacks maker init trade request if trade exists 2024-05-24 06:48:49 -04:00
woodser
3b1961fb05 do not extend arbitrator timeout awaiting deposit txs 2024-05-24 06:48:49 -04:00
woodser
796603f82b thaw reserved outputs within task if canceled 2024-05-24 06:48:49 -04:00
woodser
4172cc72df avoid unused import by using List.of() 2024-05-23 17:10:00 -04:00
woodser
52be627cca adjust max limit for payment methods to default high risk 2024-05-23 15:01:37 -04:00
woodser
68a4c21b17 enable cancel button while placing an offer 2024-05-23 15:01:37 -04:00
woodser
35f275805b reprocess scheduled offers on new block 2024-05-23 15:01:37 -04:00
woodser
a1e554473a extend sign offer timeouts 2024-05-23 15:01:37 -04:00
woodser
36f7037dde clear connection service error message on success 2024-05-23 15:01:37 -04:00
woodser
0c5ed84996 fix npe with offer details volume before prices loaded 2024-05-22 08:34:30 -04:00
woodser
b66e6b1c12 remove download url from mandatory update message 2024-05-21 18:00:23 -04:00
woodser
9cd28a6bde fix connection to custom node on startup #945 2024-05-21 18:00:23 -04:00
woodser
1150d929af maker selects arbitrator (breaking change) 2024-05-21 18:00:14 -04:00
woodser
6df5296dcd deduplicate trade history before may 31, 2024 2024-05-20 15:04:48 -04:00
woodser
80db207a98
fix issues scheduling offer with exact input amount (#934) 2024-05-19 09:59:34 -04:00
woodser
7df40580a3 remove incorrect withdraw screen translations #74 2024-05-19 09:19:22 -04:00
woodser
b4369fbb9f fix default monero port in custom node input #928 2024-05-18 11:45:13 -04:00
woodser
bee93bf45f reset internal state and popup warning if main wallet swapped 2024-05-18 10:11:34 -04:00
woodser
82b8f58579 show popup with message on error starting monero wallet 2024-05-18 10:11:34 -04:00
woodser
ea0ce9b449 deduplicate early trades due to bug 2024-05-17 13:08:20 -04:00
woodser
36e2f8675c only republish seller trades 2024-05-17 12:40:02 -04:00
woodser
76859f822e ignore failure after task runner canceled 2024-05-17 06:52:28 -04:00
woodser
58cead6035 do not log error polling wallet within 3m of success 2024-05-17 06:52:28 -04:00
woodser
1aa62863f4 move DEFAULT_APP_NAME to HavenoExecutable 2024-05-15 09:33:54 -04:00
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