woodser
60dc4901e4
move trade wallet management functions from XmrWalletService to Trade
...
persist security deposits in TradePeer
set deposit tx and reserved key images when deposit tx created
listen to account service in trade manager
2023-02-07 14:31:03 -05:00
woodser
aafb47e2ce
UI cleanup, can confirm payment sent and received after dispute opened
...
show buyer and seller trade fee in dispute summary window
remove "Error polling trade wallet warning" if disconnected
show notification when dispute opened or closed in legacy app
resolve disputes under Support > Arbitration, hide other views
show "support ticket opened" when dispute request is acked
rename all variations of TradingPeer to TradePeer
rename "payment started" to "payment sent" for consistency
2023-02-07 14:31:03 -05:00
woodser
15d2c24a82
reprocess payout messages on error to improve resilience
...
reprocess on curved schedule, restart, or connection change
invalid messages are nacked using IllegalArgumentException
disputes are considered open by ack on chat message
don't show trade completion screen until payout published
cannot confirm payment sent/received while disconnected from monerod
add operation manual w/ instructions to manually open dispute
close account before deletion
fix popup with error "still unconfirmed after X hours" for arbitrator
misc refactoring and cleanup
2023-02-02 15:23:48 -05:00
woodser
a0235c8ebd
add date and key images to SignedOffer
...
arbitrator retains failed trades after reserve tx received
legacy ui shows trade details including reserve tx, with or w/o contract
fix npe searching arbitrator tickets due to null payment accounts
synchronize offer book list items
fix npe before key image poller initialized
2023-01-26 08:26:22 -05:00
woodser
882f1c070a
fetch deposit txs unless cached and confirmed
2023-01-24 14:02:41 -05:00
woodser
23393bb4b8
resend dispute closed message with payout tx on updated multisig info
...
advance dispute state if progress
SupportManager processes messages in order
re-arrange domain initialization to fix null pub key in DisputeManager
2023-01-24 14:02:41 -05:00
woodser
533639bd19
send dispute closed messages independently
2023-01-24 14:02:41 -05:00
woodser
e6baf0260a
delete backup wallets if confirmed unfunded
2023-01-24 14:02:41 -05:00
woodser
9877ba87a4
delete and restore account restarts application automatically
...
added standard input to keepalive loop for issuing commands to daemon
Co-authored-by: duriancrepe <duriancrepe@protonmail.com>
2023-01-24 08:25:59 -05:00
woodser
350d2d5398
fix error changing wallet password from default password
...
HavenoUtils.executeTasks() throws exception from any tasks
2023-01-21 07:32:36 -05:00
woodser
f1b9829b09
remove sender node address and pub key ring from non-mailbox messages
2023-01-21 07:32:36 -05:00
woodser
932854d7b2
fix persistence of isDepositsConfirmedMessagesDelivered in ProcessModel
2023-01-19 19:14:34 -05:00
woodser
422819efb4
support actual buyer & seller security deposit in TradeInfo
2023-01-19 19:14:34 -05:00
woodser
b745eaccd4
improve tx verification
...
verify sufficient security deposit which may absorb tx fee
payout binary search applies tolerance to security deposit
verify payouts sum to wallet balance
verify custom winner amount <= wallet balance
2023-01-19 19:14:34 -05:00
woodser
7f26119515
check peer date while initializing trade instead of deposits confirmed
2023-01-16 16:27:15 -05:00
woodser
a49611a234
verify payout & dispute payout tx fees are within range of recreated tx
2023-01-16 16:27:15 -05:00
woodser
9260cf53ee
verify arbitrator signature when dispute closed
2023-01-16 11:35:09 -05:00
woodser
435fc164b2
resend deposits confirmed messages until delivered
2023-01-15 10:58:45 -05:00
woodser
cd7f176e2b
fix 'trade not found' bug caused by open offer being spent
...
do not remove open offer with spent funds if reserved for trade
fix concurrent modification exception
2023-01-15 10:58:45 -05:00
woodser
266d129462
don't delete wallet backup if possibly funded
...
support new trade state: PUBLISH_DEPOSIT_TX_REQUEST_FAILED
2023-01-15 10:58:45 -05:00
woodser
a8114e147d
change log warning to info on error fetching from price provider
2023-01-14 07:37:53 -05:00
woodser
5db80eac17
resend payment sent/received messages on startup if not arrived
2023-01-14 07:37:53 -05:00
woodser
21fcdc7e00
use unique deterministic ids for mailbox messages
2023-01-14 07:37:53 -05:00
woodser
308f6e8077
handle errors initializing trade after deposits requested
...
offer remains valid until trade initialized
delete maker and taker trades on error after deposits requested
schedule trade deletion if unfunded after timeout or startup
DepositResponse supports error message to confirm failure
show deposit tx ids in trade details window
2023-01-13 07:26:01 -05:00
woodser
646380bc7a
minimum support for account witness verification & storage based on bisq
...
verify peer witness data and share with arbitrator for signing
arbitrator can sign witness hash, owner pub key (see developer-guide.md)
taker signs offer id nonce in SendOfferAvailabilityRequest
maker signs deposit tx hash in SendSignContractRequest
buyer verifies witness with payload on deposit confirmation
seller verifies witness with payload on payment sent message
add synchronization to User paymentAccountsAsObservable and elsewhere
2023-01-11 08:54:37 -05:00
woodser
963d92478d
overwrite dispute agent with same address
2023-01-11 08:54:37 -05:00
woodser
be88f57e09
don't warn if trade wallet is null on poll
2023-01-11 08:54:37 -05:00
woodser
39f86817e0
fetch prices on same thread if 0 delay
2023-01-10 08:32:44 -05:00
woodser
3e0473719b
currency util uses uppercase currency code
2023-01-10 08:32:44 -05:00
woodser
9d3855ad2e
synchronize open offers to fix concurrent modification exception
2023-01-02 17:05:09 +00:00
woodser
2c3dabfbf7
recover from error closing dispute, show payout confirmation w/ tx fee
2022-12-30 18:49:07 +00:00
woodser
48baa1e602
use actual security deposits in dispute resolution
2022-12-30 18:49:07 +00:00
woodser
c5f6aeb4cc
sync and save wallet when closing ticket, fix NPE
2022-12-27 12:56:36 +00:00
woodser
f2892d5157
close open disputes on trade completion
2022-12-27 12:56:36 +00:00
woodser
2d7654b8d7
verify maker and taker fees
2022-12-27 12:56:36 +00:00
woodser
eae3060c63
start seednode with monerod address to resolve warning
...
initialize connection immediately if monerod address given
2022-12-23 16:21:24 +00:00
woodser
1c6d4cec83
cache incoming txs to improve performance of funds tab
2022-12-23 16:21:24 +00:00
woodser
a21628ad0d
grpc offer info returns atomic units
2022-12-23 16:21:24 +00:00
woodser
fb1b8f8bd8
PriceFeedService.requestAllPrices() cycles providers and updates cache
2022-12-23 16:21:24 +00:00
woodser
ad17228b38
separate withdraw tx fee and amount in ui
2022-12-23 08:53:26 +00:00
woodser
11c3a786c9
update price server links
2022-12-22 09:35:27 +00:00
woodser
06c2ce432b
take offer funded from available balance
2022-12-21 23:40:28 +00:00
woodser
2b7beff84e
remove "Returning balance for subaddress" printout
2022-12-21 15:29:12 +00:00
woodser
e8242612b2
update haveno support links to monero.social, update unconfirmed warning
2022-12-21 15:29:12 +00:00
woodser
67a8ac1236
dispute can be opened after 1d (mainnet), 30m (stagenet), or 1m (local)
2022-12-21 15:29:12 +00:00
woodser
a3f0543e4f
remove redundant MAX_FIAT_STAGENET_XMR
2022-12-21 15:29:12 +00:00
woodser
e5cf2f8429
fix potential double spend by locking wallet when thawing outputs
2022-12-21 15:29:12 +00:00
woodser
e4046bd84e
fix dispute and trader chat button and states
...
ui can open dispute after payment sent
ui indicates if dispute opened by self or peer
2022-12-21 08:33:59 +00:00
woodser
f13e1ec610
cannot open dispute until both deposits confirmed and available
2022-12-20 10:14:46 +00:00
woodser
e85682e635
fix resolved dispute chat message
2022-12-20 10:14:46 +00:00