Commit Graph

419 Commits

Author SHA1 Message Date
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
581489898e update install instructions to use master branch 2023-01-05 10:09:08 -05:00
woodser
f255c115a2 support building on windows 2023-01-05 10:09:08 -05:00
woodser
b6682746fd update to monero-java v0.7.10 2023-01-05 10:01:34 -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
9f8bd77c9e only send push notification if call stream not cancelled 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
3a50397a61 remove taker fee tx check on pending trades initialized 2022-12-21 08:33:59 +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
woodser
05ba2ce305 show step progress while initializing trade 2022-12-19 11:26:19 +00:00
woodser
38864d71ff implement batch key image polling for offer book in background 2022-12-19 11:26:09 +00:00
woodser
03b26fa423 fix visual dividers in offer detail windows 2022-12-18 18:50:46 +00:00
napoly
1adf7bd73f
avoid redundant wallet backups, max 10 backups (#505)
Co-authored-by: woodser <woodser@protonmail.com>
2022-12-18 15:15:55 +00:00
napoly
217e7e03a2 dockerize deamons with docker compose 2022-12-16 15:01:58 +00:00
woodser
f11c816cda enforce trade limit over grpc 2022-12-16 09:24:53 +00:00
woodser
31dfdd7710 remove btc fee service 2022-12-16 09:16:11 +00:00
woodser
3314eac881 stability improvements
synchronize timeout timer
fix concurrent modification exceptions
use wallet lock when saving multisig wallets
2022-12-16 09:16:11 +00:00