Commit Graph

913 Commits

Author SHA1 Message Date
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
woodser
7346ced337 increase trade fees to 0.15% for maker and 0.75% for taker 2024-02-18 07:43:50 -05:00
woodser
98129c70ed add mainnet welcome message with release warning 2024-02-17 07:20:43 -05:00
woodser
36f6dd7ade update translations for sell limits within release windows 2024-02-16 07:10:36 -05:00
woodser
a20f251258 update translations to reserve only funds needed 2024-02-16 07:10:36 -05:00
woodser
8171299de3 revert bisq licenses and add haveno licenses 2024-02-15 07:45:35 -05:00
woodser
f91f213cd2 limit sell offers to unsigned buy limit then warn within release windows 2024-02-15 07:45:35 -05:00
woodser
a63118d5eb increase trade limits to 3, 6, 12, 96 2024-02-12 10:22:33 -05:00
woodser
cc34ff8168 update description to reserve only the funds needed 2024-02-11 08:07:57 -05:00
woodser
548cae004d synchronize chat messages to avoid concurrency exception 2024-02-11 08:07:57 -05:00
woodser
dc015ad83d show offer funding address entries in receive view 2024-02-11 08:07:57 -05:00
woodser
d1d6576986 update clearnet pricenode address to port 8078 2024-02-04 12:51:17 -05:00
woodser
c908294250 set payment sent message state after sending message 2024-02-02 06:16:41 -05:00
woodser
fabec9d396 open offer manager completes shut down after thread pool 2024-02-02 06:16:41 -05:00
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
woodser
ba8a9ae21d await external prices on startup 2024-01-06 12:52:21 -05:00
woodser
f8d9c827ea skip wallet initialization if shut down started 2024-01-06 12:52:21 -05:00
woodser
2ee2b747f9 check for balance before deleting trade wallet 2024-01-06 12:52:21 -05:00
woodser
e7371d1299 process trade state notifications off UserThread 2024-01-04 14:54:15 -05:00
woodser
43bbb29384 try syncing main wallet when height > target height on startup 2024-01-04 14:54:15 -05:00
woodser
0a3736bba0 reprocess trade messages off UserThread 2024-01-04 14:54:15 -05:00
woodser
5d88936600 start main wallet when daemon synced with improved UserThread 2024-01-01 09:05:04 -05:00
woodser
5466689857 set progress listener state in same thread 2024-01-01 09:05:04 -05:00
woodser
7f3fd0af08 finish open offer manager tasks before shut down 2024-01-01 09:05:04 -05:00
woodser
342c212ba8 remove global error handler for taking offer 2024-01-01 09:05:04 -05:00
woodser
fdb24ba9f8 arbitrator sends nack if trade already taken 2024-01-01 09:05:04 -05:00
woodser
c6b1d03283 set price feed state in UserThread 2024-01-01 09:05:04 -05:00
woodser
c55fb927f2 rely on trade state to delete wallet 2023-12-31 10:14:13 -05:00
woodser
3aab3f57b1 set offer state on UserThread 2023-12-31 10:14:13 -05:00
woodser
e160499d30 sync main wallet outside lock on connection changed 2023-12-31 10:14:13 -05:00
woodser
bc4d8fc8c2 split output tx is null while awaiting scheduled tx 2023-12-31 10:14:13 -05:00
woodser
2e86d4a62a check local connection before switching 2023-12-31 10:14:13 -05:00
woodser
6c2f3ea154 improve trade state reliability
update trade state atomically on UserThread
nullify error handling on deposits confirmed message
set trade state before deposit request and relay
add checks before deleting wallet
UserThread.await() detects if on UserThread
2023-12-27 11:20:16 -05:00
woodser
3de4264c4b increase offer reliability with TTL, refresh period, max attempts 2023-12-24 11:55:47 -05:00
woodser
0d33959eeb republish offers on dedicated thread for open offer manager 2023-12-22 09:58:29 -05:00
woodser
a1f8f942fc poll daemon and trade wallets in dedicated lock and prevent queuing 2023-12-22 09:58:29 -05:00
woodser
1dab218d7e do not shut down connection pool in case account is re-recreated 2023-12-20 07:32:40 -05:00
woodser
c7b8571842 reset timeout timer on progress creating offer 2023-12-20 07:32:40 -05:00
woodser
1df2ab4389 replace AppSetupWithP2PAndDAO with AppSetupWithP2P 2023-12-20 07:32:40 -05:00
woodser
01a57c18f7 support setting custom node in UI with localhost running 2023-12-20 07:32:40 -05:00
woodser
f162cad439 handle connection change on dedicated thread, other thread improvements 2023-12-20 07:32:40 -05:00
woodser
b1f8411641 check local connection after setting 2023-12-20 07:32:40 -05:00
woodser
dffb676f4e reset address entries for open offer on error taking offer 2023-12-20 07:32:40 -05:00
woodser
30e199c56e shut down trades before main wallet to finish processing 2023-12-20 07:32:40 -05:00
woodser
e6775f3b58 move processing off UserThread for smoother experience 2023-12-18 13:45:04 -05:00
woodser
e11d65c038 check and extend timeout after taker creates reserve tx 2023-12-18 13:45:04 -05:00
woodser
48d902b58d close trader dispute ticket on payout published 2023-12-18 13:45:04 -05:00
woodser
c42471191a refactor trade state TRADE_COMPLETED to boolean 2023-12-18 13:45:04 -05:00
woodser
fd4e4d3917 remove warning that wallet is not synced when idling 2023-12-16 15:20:36 -05:00
woodser
66a152c888 close open dispute on preparing payment received message 2023-12-16 15:20:36 -05:00
woodser
26ea53883c republish offers awaits prices and runs off UserThread 2023-12-16 15:20:36 -05:00
woodser
dbd8db0e88 set open offer's reserve tx fields once known and repost if invalid 2023-12-16 15:20:36 -05:00
woodser
2e13bc0051 update translation: Taking offer: X% 2023-12-14 12:03:47 -05:00
woodser
c9a79888c8 change message when daemon synced and update translations 2023-12-14 12:03:47 -05:00
woodser
94eae8f945 add (via clearnet) to connection status 2023-12-14 12:03:47 -05:00
woodser
acfb4ae4c5 log price provider 2023-12-14 12:03:47 -05:00
woodser
c7277187c5 fix cycling through price providers 2023-12-11 09:06:20 -05:00
woodser
d8ac901d4a call wallet.sync() on startup after background sync with progress 2023-12-10 16:08:45 -05:00
woodser
74cfd474ad clear basic trade process data on payout unlocked 2023-12-10 16:08:45 -05:00
woodser
948be8ce29 rename trade getPayoutAmount() to getPayoutAmountBeforeCost() 2023-12-10 16:08:45 -05:00
woodser
7bfba15109 do not resend deposits confirmed message after payout published 2023-12-10 16:08:45 -05:00
woodser
0c149b780f mark dispute closed per ticket and sync for payout on ack 2023-12-10 16:08:45 -05:00
woodser
3730773006 replace BigInteger.valueOf(0) with BigInteger.ZERO 2023-12-10 16:08:45 -05:00
woodser
cd89b8bf15 update translations for startup syncs 2023-12-10 16:08:45 -05:00
woodser
41ed01dbde update translation: Connecting to Haveno network 2023-12-10 16:08:45 -05:00
woodser
8800d9ea46 set buyer and seller payout tx fee and amount, fix csv export #720 2023-12-10 16:08:45 -05:00
woodser
846a8634e5 process mailbox messages in sequential order per trade 2023-12-05 08:49:09 -05:00
woodser
da8474a0f4 fix npe when connection is null 2023-12-05 08:49:09 -05:00
woodser
38bbfafcbb show wallet sync progress on startup 2023-12-02 10:06:11 -05:00
woodser
f5d82df477 hide reserved subaddresses in deposit view 2023-11-29 20:31:00 -05:00
woodser
84c08e4c36 show that wallet is syncing on startup 2023-11-29 20:31:00 -05:00
woodser
9fb22f6d1f reset startup timeout on sync progress 2023-11-29 20:31:00 -05:00
woodser
9957aa6256 check that wallet is synced within tolerance 2023-11-28 11:48:25 -05:00
woodser
7b9773e3c6 update translation: chain not synced popup 2023-11-27 14:01:34 -05:00
woodser
644bb72957 rename services and objects from Monero to Xmr for consistency 2023-11-26 11:10:49 -05:00
napoly
497f987541 fix csv export by avoiding null pointer with ZERO 2023-11-26 11:10:37 -05:00
woodser
d094997666 show daemon sync progress on startup then sync wallet 2023-11-25 14:46:44 -05:00
woodser
846b278b5d set and display current monerod height instead of target 2023-11-24 13:31:48 -05:00
woodser
27bf72d432 poll local node for faster switching 2023-11-24 13:31:48 -05:00
woodser
3d0b8c0b09 process mailbox messages on main thread on startup 2023-11-21 13:01:10 -05:00
woodser
cfaca6e0d8 fetch txs on startup to fix balance with 0 conf PaymentReceivedMsg 2023-11-21 13:01:10 -05:00
woodser
013924b141 don't send payment sent message back to buyer 2023-11-21 13:01:10 -05:00
woodser
fc396f7478 fix peer deleting unique payment sent, received, dispute messages 2023-11-21 13:01:10 -05:00
woodser
5fc67ec65a fix app hanging after connection change with parallel handling 2023-11-19 14:31:03 -05:00
woodser
f6f4fb014e stop polling trade wallet after marking shut down started 2023-11-17 12:13:27 -05:00
woodser
5294baf949 reset timeout timer after maker sends sign offer request 2023-11-17 12:13:27 -05:00
woodser
83352ec1e3 set or clear connection error message on each daemon poll 2023-11-17 12:13:27 -05:00
woodser
0bc5300a27 synchronize on wallet while importing multisig hex 2023-11-16 10:15:13 -05:00
woodser
9eea422c9e sync main wallet on payout to update pending balance 2023-11-16 10:15:13 -05:00
woodser
35be468de0 fixes to warning when wallet is too far behind daemon 2023-11-16 10:15:13 -05:00
woodser
9ca263927f fix typo in logging 2023-11-15 07:13:41 -05:00
woodser
dd71423d95 fix concurrent modification exception when trades added to main view 2023-11-15 07:13:41 -05:00
woodser
f9afd44345 synchronize on wallet lock getting address entries 2023-11-15 07:13:41 -05:00
woodser
e2369480b2 loser pays mining fee on resolve dispute with custom amount 2023-11-15 07:13:41 -05:00
woodser
51d5f0e1d3 synchronize wallet poll and stop polling on shut down started 2023-11-15 07:13:41 -05:00
woodser
fd0bf23867 fix npe on first start with offline --xmrNode 2023-11-13 15:40:51 -05:00
woodser
606b2cef23 resume syncing wallet after applying proxy uri change 2023-11-13 15:40:51 -05:00
woodser
9b79faf29a increase max trade limit to 64 xmr 2023-11-12 06:03:45 -05:00
woodser
af38f82406 document signing accounts in deployment guide, minor fixes 2023-11-12 06:03:45 -05:00
woodser
5c9a6b9ed6 move redundant deposit tx from ProcessModel to getSelf().getDepositTx() 2023-11-10 15:58:58 -05:00
woodser
74b0e42dae remove getFeePerVbyte() for btc 2023-11-10 15:58:58 -05:00
woodser
4cc2d7d112 trade history casts trade to get security deposit when available 2023-11-03 10:27:37 -04:00
woodser
8a89be1636 fix too much precision calculating security deposit 2023-11-03 10:27:37 -04:00
woodser
0f7ace7326 fix adjusting amounts by smallest volume increments 2023-11-03 10:27:37 -04:00
woodser
4749d286da re-enable posting offers above new account limits 2023-11-03 10:27:37 -04:00
woodser
4df59bc546 update translation: Confirmed in X block(s) -> X confirmation(s) 2023-11-01 14:41:21 -04:00
woodser
2839f33696 do not update peer node address on dispute opened 2023-11-01 14:41:21 -04:00
woodser
9d5ea3db4c adjust amount by smallest volume increments 2023-11-01 14:41:21 -04:00
woodser
23525d89ee security deposit is based on trade amount 2023-10-31 17:56:34 -04:00
woodser
f261a38cce fix adjustment < min amount creating offers 2023-10-31 17:56:34 -04:00
woodser
4f5f82bf0f fix xag and xau names inverted 2023-10-29 14:13:42 -04:00
woodser
ed93096a4b arbitrator reserved trade amount = 0 2023-10-29 14:13:42 -04:00
woodser
8f8d653871 replace trade.getBuyerSecurityDeposit() w/ getBuyer().getSecurityDeposit() 2023-10-29 14:13:42 -04:00
woodser
7592d8fbca fix payment sent ack after offline: 'Cannot get peer's pub key ring' 2023-10-29 14:13:42 -04:00
woodser
3450f3799e process ack on DepositsConfirmedMessage from peer with changed address 2023-10-29 14:13:42 -04:00
woodser
05e2d925f0 fix incorrect deposit amount for range trades
improve display of reserved and pending balances by adjusting
support subtracting fee from buyer and/or seller on dispute resolution
validate trade amount is within offer amount
expose maker's split output tx fee
expose security deposit received from buyer and seller
2023-10-28 14:45:33 -04:00
woodser
0294062312 parse commas in xmr amounts to decimal 2023-10-18 05:58:45 -04:00
woodser
4217424c6e update translations: remove DAO from signature verification 2023-10-18 05:58:45 -04:00
woodser
df34b2e534 remove {4} from itemized offer cost in german translation 2023-10-13 10:10:15 -04:00
woodser
02987075d3 remove total mining fee from itemized offer cost 2023-10-13 09:24:19 -04:00
woodser
d65f36f122 fix decimal formatting to US convention (no commas) in offer book 2023-10-12 13:34:31 -04:00
woodser
23c14a496a fix auto correction to < min amount when creating non-fiat offers #688 2023-10-10 16:08:19 -04:00
woodser
222af4768b replace variations of btc with xmr in app resources 2023-10-10 16:08:19 -04:00
woodser
fe543e7c58 update support tab's description; remove DAO 2023-10-10 16:08:19 -04:00
woodser
f2a89108e8 replace bisq.wiki with haveno.exchange/wiki as placeholder 2023-10-10 16:08:19 -04:00
woodser
32a1a49d7e fiat trigger price has 4 decimals by fixing PriceUtil.formatMarketPrice() 2023-10-09 12:51:47 -04:00
woodser
75f5255050 update block explorer preferences for xmr, remove address url 2023-10-05 06:58:16 -04:00
woodser
9aea5e0c58 PaymentAccount.java uses Res.get() instead of hardcoded labels 2023-10-05 06:58:16 -04:00
woodser
9b88b54729 update description and translations for pay by mail info 2023-10-04 06:53:57 -04:00
woodser
057c629629 connectionService.getRefreshPeriodMs() is always positive, add docs 2023-10-04 06:53:57 -04:00
woodser
849a1c9c55 automatically adjust offer and trade amount for grpc fixed-price offers 2023-09-11 05:55:32 -04:00
woodser
4017fa108a support cash at atm over grpc 2023-09-11 05:55:32 -04:00
woodser
77cf67e6f0 start polling for best connection after delay 2023-09-08 13:34:13 -04:00
woodser
da9b251f12 update to monero-java v0.8.6 2023-09-08 13:34:13 -04:00
woodser
f78a9cd907 remove signed offers with common key images 2023-09-05 10:04:08 -04:00
woodser
9c2308f7a3 support goldback (XGB) 2023-09-04 09:14:39 -04:00
woodser
f19bc2ad4b monero wallets switch to tor after initial sync by default 2023-09-03 10:46:32 -04:00
woodser
4cde0103b3 validate payment method id and improve error message 2023-08-30 08:58:56 -04:00
woodser
e6853d2e76 remove account id from revolut 2023-08-30 08:58:56 -04:00
woodser
c46d210822 payment method ids are case insensitive 2023-08-30 08:58:56 -04:00
woodser
6e768acd1b support pay by mail over grpc api 2023-08-30 08:58:56 -04:00
woodser
c634d9d0a6 F2F payment account form has single trade currency 2023-08-30 08:58:56 -04:00
woodser
03a703b183 fix missing dispute summary text by creating new chat message if empty 2023-08-21 14:51:52 -04:00
woodser
8460346feb arbitrator can resolve their disputes after unregistered 2023-08-21 14:51:52 -04:00
woodser
a35f38b76d remove arbitrator chat next steps on dispute closed 2023-08-20 12:05:13 -04:00
woodser
c0a2fb92ec use elevated priority for protocol tx fees 2023-08-20 12:05:13 -04:00
woodser
26c95cb61d update translation: your offer has been created 2023-08-20 12:05:13 -04:00
woodser
ec7bd3aa51 do not use tor for monero connections by default 2023-08-20 12:05:13 -04:00
woodser
5e7b6c2ccd replace links with haveno.exchange domain 2023-08-20 12:05:13 -04:00
woodser
b077d532fa re-enable testStartEditOfferForActiveOffer() 2023-08-20 12:05:13 -04:00
woodser
8985f84d77 update translation: enter password on startup, withdraw, view seed words 2023-08-19 11:45:09 -04:00
woodser
9b873cf149 remove password from logging 2023-08-19 11:45:09 -04:00
woodser
58d8fdafe5 update translation: offer funds will remain in local Haveno wallet 2023-08-19 11:45:09 -04:00
woodser
7a0f1fc4d5 update translation: withdraw or keep funds in wallet 2023-08-19 11:45:09 -04:00
woodser
1dfa19dd84 update translation: detected a Monero node running 2023-08-19 11:45:09 -04:00
woodser
22ddf0999f restart attempts to sync main wallet on init failure 2023-08-18 12:28:12 -04:00
woodser
740374c9db replace LocalBitcoinNode with LocalMoneroNode 2023-08-18 12:28:12 -04:00
woodser
f08735e1e0 arbitrator can re-sign offer 2023-08-17 14:02:12 -04:00
woodser
f842a9856f save only one backup of each wallet 2023-08-17 14:02:12 -04:00
woodser
6d90d458f9 improve error message on withdraw invalid amount 2023-08-17 14:02:12 -04:00
woodser
de7e40e0f0 remove 'danger' from warning on shut down with offers 2023-08-17 14:02:12 -04:00
woodser
9c5d0702ba remove offerFeeTxId from models 2023-08-17 14:02:12 -04:00
woodser
9fb5dfb788 arbitrator verifies offer not signed before 2023-08-16 11:19:00 -04:00
woodser
20f26ea623 reduce penalty fee to trade fee 2023-08-16 11:19:00 -04:00
woodser
f112760432 remove and repost offers if signing arbitrator unregistered 2023-08-16 11:19:00 -04:00
woodser
b2b4706f14 enable editing offers 2023-08-15 14:04:18 -04:00
woodser
cb7d9364e5 check trades, disputes, and offers and add prompt on shut down
Co-authored-by: jmacxx <47253594+jmacxx@users.noreply.github.com>
2023-08-15 14:04:18 -04:00
napoly
3b89212c6f fix junit test failures for subprojects
Co-authored-by: woodser <woodser@protonmail.com>
2023-08-15 07:53:14 -04:00
woodser
4ca5974493 local network uses .localnet binaries for permissions 2023-08-13 15:26:47 -04:00
woodser
b4ddb46f60 always start syncing main wallet after setting connection 2023-08-12 12:42:05 -04:00
woodser
586a2478fc update monero binaries in app directory #655 2023-08-11 10:07:00 -04:00
woodser
3c8c0034d0 refresh offer TTL only if available 2023-08-11 10:07:00 -04:00
woodser
7fc2f5de52 fix npe resuming from standby without monero connection 2023-08-11 10:07:00 -04:00
woodser
34f68c474a don't try to start local node if seed node 2023-08-02 09:44:47 -04:00
woodser
02ba804432 fix link to open default monero wallet from deposit view 2023-08-02 09:44:47 -04:00
woodser
a5663e1411 add deployment guide and support for mainnet 2023-08-02 09:44:47 -04:00
woodser
05520d51a3 expect .address.txt to be missing on mainnet 2023-08-02 09:44:47 -04:00
woodser
5d52366861 --xmrNode starts local node if used last and offline 2023-08-02 09:44:47 -04:00
woodser
a01a6f7f95 drop --mainnet param from monerod startup config 2023-08-02 09:44:47 -04:00
woodser
f9d0bb414e fix npe if no monero connection on startup 2023-08-02 09:44:47 -04:00
woodser
0594fe2dbe remove warning on expected invalid state transition 2023-08-01 06:51:37 -04:00
woodser
141f1fd2db replace 'btc' with 'xmr' in protobuf definition 2023-08-01 06:51:37 -04:00
woodser
2a3c52b943 fix typo 'what we have already' 2023-08-01 06:51:37 -04:00
woodser
26117c2d10 my offers return open offers, improve synchronization 2023-08-01 06:51:37 -04:00
woodser
3aa5fef8ab fix concurrent modification exception in ArbitrationDisputeList 2023-08-01 06:51:37 -04:00
woodser
74b2db7524 improve error logging on shut down 2023-08-01 06:51:37 -04:00
woodser
473100620e refactor monero connection initialization
re-prioritize default connections
monero network status turns red on connection error
remove popup on connection error
remove popup on 0 monero peers which aren't reported
increase main wallet max sync attempts on startup
renames from btc to xmr
2023-08-01 06:51:37 -04:00
woodser
12b6585779 save wallet on same thread to avoid disconnect on awake from standby 2023-08-01 06:51:37 -04:00
woodser
39b8afa528 create split output tx only once on error 2023-08-01 06:51:37 -04:00
woodser
b3c607152d tolerate errors resuming from standby 2023-08-01 06:51:37 -04:00
woodser
a088f685c1 process unposted offers within lock 2023-07-28 08:01:50 -04:00
woodser
900d3a91e1 fix bugs resetting trade payout address entries 2023-07-28 08:01:50 -04:00
woodser
aa36518f69 initialize trades when all services initialized and p2p bootstrapped 2023-07-28 08:01:50 -04:00
woodser
c548fdaf29 shutting down TorNetworkNode invokes callback handler if already complete 2023-07-28 08:01:50 -04:00
woodser
c39c5cf387 synchronize on wallet lock in XmrWalletService 2023-07-26 09:24:29 -04:00
woodser
426d25f78c rename splitOutput to reserveExactAmount 2023-07-26 09:24:29 -04:00
woodser
242bc0e3bb subtract mining fees from destinations in trade protocol
fixes to scheduling and the deposit view
display address usage context
fix npe when price is null
2023-07-26 09:24:29 -04:00
woodser
13d87a32a5 update monero-java (v0.8.0) and monero-project (v0.18.2.2 w/ extensions)
subtract mining fees from payment destinations
optimize wallet rpc calls for periodic refresh from 3 to 1
fixes to saving wallet files
respect frozen outputs
restore from multisig seed (experimental)
2023-07-26 09:24:29 -04:00
woodser
6188905848 deposit view shows 'Balance in XMR' 2023-07-26 09:24:29 -04:00
woodser
fff04dd936 update description to reserve exact amount 2023-07-26 09:24:29 -04:00
woodser
5c814700fb fixes to persisted trades initialization 2023-07-26 09:24:29 -04:00
woodser
9f3b0c96c4 synchronize on trade during initialization 2023-07-26 09:24:29 -04:00
woodser
a1829ee9f3 remove mempool service 2023-07-14 08:30:46 -04:00
woodser
6b6e1e15d4 sync wallet on dispute chat message ack 2023-07-13 05:12:33 -04:00
woodser
7040ce0da0 fix Dispute.getRoleString() with opener context 2023-07-13 05:12:33 -04:00
woodser
5c6ef41511 process unposted offers after app bootstrapped 2023-07-13 05:12:33 -04:00
woodser
290912c333 synchronize on wallet during restart 2023-07-13 05:12:33 -04:00
woodser
2b84c44ef7 remove HRK currency 2023-07-13 05:12:33 -04:00
woodser
079944c934 fix possible npe on connection changed 2023-07-13 05:12:33 -04:00
woodser
c4898a8ec0 Revert "Support for open JDK 20 by updating dependencies"
This reverts commit 5923a34ef9.
2023-07-11 10:15:19 -04:00
napoly
8b7a6945b2 Fix decimal formatting to US conventions 2023-07-10 07:22:52 -04:00
napoly
5923a34ef9 Support for open JDK 20 by updating dependencies 2023-07-10 07:22:29 -04:00
woodser
322bc40d79 hide 0 monero network peers on footer 2023-06-17 14:05:20 -04:00
woodser
b414ac942d fix amounts in trade statistics view 2023-06-17 14:05:20 -04:00
woodser
59c0496d34 show offers as pending, fix offer funding from manual subaddress 2023-06-17 14:05:20 -04:00
woodser
9ee67a046c fix recovery from monerod disconnect 2023-06-17 14:05:20 -04:00
woodser
722b02f4c9 support reserving exact offer amount by splitting output 2023-06-13 09:03:05 -04:00
woodser
0bbb8a4183 swap address entries when app fully initialized 2023-06-13 09:03:05 -04:00
woodser
2ca8ccb1f3 remove message of losing maker fee on removing offer 2023-06-13 09:03:05 -04:00
woodser
37c6f36868 repurpose delete spv button to rescan outputs (hidden w/o implementation) 2023-06-13 09:03:05 -04:00
woodser
06be2a4829 manage monero connections from ui #623
use tor for all monero connections by default
renames from btc to xmr
updated translations
2023-06-06 12:52:41 -04:00
woodser
1faedc8121 clarify how to use cash at atm payment method 2023-06-06 12:52:41 -04:00
woodser
ec49e2f327 rename 'cash by atm' to 'cash at atm' 2023-06-06 12:52:41 -04:00
woodser
9fffd74ddb deposit view shows base address and externally used addresses
update deposit view on new block
avoid extra request to tx pool on deposit view init
2023-06-05 12:49:42 -04:00
woodser
4993dc8a1f show payment details of australian payid and cash by atm
show terms and conditions prompt on cash by atm
2023-06-05 11:33:13 -04:00
woodser
655583477a support cash by atm payment method #626 2023-06-01 08:26:18 -04:00
woodser
92fb41fffa add second seed node 2023-06-01 08:26:09 -04:00
woodser
b90163baa5 fix fee calculation taking offer within range 2023-05-31 08:22:10 -04:00