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