Commit Graph

223 Commits

Author SHA1 Message Date
woodser
79021dc9c6 revert getters for peer and arbitrator node addresses to avoid NPEs 2022-10-04 15:35:01 -04:00
woodser
767f4cf8c0 reset address entries of taker's offer model when done
fixes the "outdated addressEntry" warning
2022-10-04 15:35:01 -04:00
woodser
139896bced seller resets address entries on payout published 2022-10-02 14:41:24 -04:00
woodser
58aad5e6ae expect deposits to be confirmed or unlocked when payment sent 2022-10-02 14:41:24 -04:00
woodser
5bd05af890 synchronize price requests 2022-10-02 14:41:24 -04:00
woodser
dc9c04759f listen for published payout tx
fix "Swapping pending OFFER_FUNDING" warning
move payout tx from TradingPeer to Trade
2022-10-02 14:41:24 -04:00
woodser
5fbc41946e
refactor node addresses and pub key rings to TradingPeer (#460) 2022-10-01 13:29:38 -04:00
woodser
c153afff67
arbitrator does not share payment account key until after first confirmation (#457)
use payout address from contract instead of PaymentSentMessage
2022-10-01 07:47:18 -04:00
woodser
93472b9759
fixes based on refactored tests (#454)
log trade id with error
open dispute chat on user thread
fix null arbitrator signature by copying offer payload before modifying
2022-09-29 09:46:21 -04:00
woodser
5d45c08744 provide error message if price is unavailable for offer 2022-09-24 08:36:16 -04:00
woodser
c5f5a5af42 process messages on user thread and protocol tasks off user thread 2022-09-24 08:36:07 -04:00
woodser
d698555c9a trade completion fixes with payment key and multisig hex on confirmation
preserve peer multisig hex when arbitrator provides payment key
process payment received using persistent, non-transient data
payout_tx_published_msg represents payment_received_msg after payout
update arbitrator's peer address on payout published
schedule payment account key request after deposit request
2022-09-21 09:00:41 -04:00
woodser
c21ebe6a9d normalize names of protocol tasks 2022-09-21 09:00:41 -04:00
woodser
0388f283a7 remove open offer from books after deposit request 2022-09-21 09:00:41 -04:00
woodser
1f32fc2cbe seller decrypts buyer payment info on payment sent 2022-09-21 09:00:41 -04:00
woodser
64925d0137 close arbitrator trade by sending PayoutTxPublishedMessage 2022-09-21 09:00:41 -04:00
duriancrepe
9975d7398b
upgrade to Gradle 7.3.3 (#439)
* upgrade to Gradle 7.3.3

* add verification hashes for mac and windows

* add verification hash for windows
2022-09-19 08:59:57 -04:00
woodser
3f5fe671cd decrypt payment info after confirmation for double spend protection
retrieve decryption key from arbitrator if peer fails to send
2022-09-17 07:28:04 -04:00
woodser
355a6146b6 add confirmed trade state 2022-09-17 07:28:04 -04:00
erciccione
3b788d1fea fix typo in trade completed screen 2022-09-17 07:27:19 -04:00
woodser
a51aeeb484 offer book view checks for invalid signer or signature
merge OfferFilter into OfferFilterService
2022-09-17 07:26:12 -04:00
woodser
b95c689190 process payment confirmation messages off main thread 2022-09-02 14:28:00 -04:00
woodser
dbc7ff265a show wallet transaction dates 2022-09-02 14:28:00 -04:00
woodser
3da228750f fix jfx error on offer book added 2022-09-02 14:28:00 -04:00
woodser
b291fdae73 fix pub key validation error 2022-08-29 09:29:19 -04:00
woodser
857a1d0be8 fix npe validating pub key 2022-08-18 08:10:42 -04:00
woodser
f869aec688 change terminology from altcoins to cryptocurrencies 2022-08-18 08:10:42 -04:00
woodser
69899c8750 remove zec from main currency list 2022-08-17 14:49:49 -04:00
woodser
f464110fb5 update locked -> pending balance 2022-08-17 14:49:49 -04:00
woodser
cb10a65a83 fix npe in arbitrator when dispute is opened 2022-08-17 14:49:49 -04:00
erciccione
56412b749d improve some wording across the app 2022-08-17 09:08:21 -04:00
erciccione
2a50350cff prioritise conneting to our remote node RPC (if no local node)
and add credentials
2022-08-15 13:17:02 -04:00
woodser
f9d700074a cache txs fetched from daemon 2022-08-15 12:03:07 -04:00
woodser
54eee73c04 add mining fee padding to maker and taker reserve txs 2022-08-15 12:03:07 -04:00
woodser
2f1f1a788b fix issues going offline while completing trades 2022-08-15 12:03:07 -04:00
erciccione
12e3e3507e add 1 monero stagenet node and 2 haveno seednodes 2022-08-15 12:02:59 -04:00
woodser
3727d12ef6
select online, registered, and least used arbitrator (#400)
support registering and unregistering arbitrators over grpc
maker always sends InitTradeRequest to arbitrator
share original contract for comparision
remove backup arbitator from model
cleanup trade states
2022-08-13 09:47:33 -04:00
erciccione
757c7cf19c seednodes: update address 2022-08-12 09:09:29 -04:00
woodser
4901808844 fix possible concurrent modification exception 2022-08-09 14:21:38 -04:00
woodser
cebdef31c0 only remove trade if not in funded state
track sent vs seen deposit request state
cleanup trade phases
2022-08-09 14:21:38 -04:00
erciccione
fed7b22c90 pricenode: woodser's patch 2022-08-08 13:46:42 -04:00
woodser
f8f10a4d6b remove timeout processing payment sent message 2022-08-08 13:46:16 -04:00
woodser
3753a42023 update to monero-project v0.18.0.0, monero-java v0.7.2 2022-08-08 13:45:46 -04:00
woodser
333b7421f5 cleanup trade states, consolidate protocol tasks, remove old tasks 2022-07-31 14:51:27 -04:00
woodser
3d43ae1f20 confirm payment sent and received off main thread 2022-07-31 14:51:27 -04:00
woodser
50126874a0 add multisig wallet state and wait for multisig to complete
refactor trade protocol
2022-07-31 14:51:27 -04:00
woodser
f61fd09127 add grpc error handling for confirming payment sent and received 2022-07-31 14:51:27 -04:00
woodser
608c19a1d0 sync wallet on open 2022-07-29 18:04:47 -04:00
woodser
a5f457d8e9 fetch prices repeatedly when run as daemon 2022-07-29 18:04:35 -04:00
woodser
a3a5b96c06 stagenet deployment fixes
execute protocol tasks off main thread
fix confirmation progress indicators
fix expected unlock height
process sign contract request after contract signature requested
deposit listener only advances trade state
2022-07-28 14:35:40 -04:00
woodser
3dcaf67edd refactor trade protocol latch and timeouts 2022-07-25 22:57:06 -04:00
woodser
3f25a756ea fix legacy app freeze if insufficient funds to schedule offer 2022-07-25 22:57:06 -04:00
woodser
b6783dc732 thaw outputs not reserved for trade or offer on startup 2022-07-18 12:36:24 -04:00
woodser
a80a7eec5f check state before deleting trade wallet 2022-07-18 12:36:24 -04:00
woodser
477246f8f0 disconnect error handler when trade initialized 2022-07-18 12:36:24 -04:00
woodser
b4fe0f0ee6 handle timeout in trade initialization with protocol latch 2022-07-18 12:36:24 -04:00
woodser
83b8616f6f handle timeout during place offer protocol 2022-07-18 12:36:24 -04:00
erciccione
e726071841
replace stagenet seednode (#372) 2022-07-17 09:58:22 +02:00
woodser
6ca775da1b reserve correct offer amount based on buy or sell direction 2022-07-16 18:23:02 -04:00
woodser
c97ca852f5 remove btc fee rate from footer 2022-07-16 18:23:02 -04:00
woodser
588270678c remove seed from terminal 2022-07-16 18:23:02 -04:00
woodser
031f091f69 update trade completion message 2022-07-16 18:23:02 -04:00
woodser
14ada60c25 do not start local node when credentialed local node running
rename isMoneroNodeRunning() to isMoneroNodeOnline()
2022-07-16 18:23:02 -04:00
woodser
968a01abe1 handle error during sign offer protocol 2022-07-15 09:35:08 -04:00
woodser
7b355ff70a reset xmr address entries on offer removed 2022-07-15 09:35:08 -04:00
woodser
f9c5cd1f2c fix npe if no localhost connection 2022-07-15 09:34:52 -04:00
woodser
59e5f8e79a fix bug which caused monerod param to be ignored 2022-07-15 09:34:52 -04:00
woodser
e17b0f8ec8 remove input selection from withdraw view 2022-07-15 09:06:26 -04:00
woodser
fb3745c6df support funding tabs: receive, send, transactions 2022-07-15 09:06:26 -04:00
woodser
003fac3da4 update stagenet explorer 2022-07-15 05:50:35 -04:00
woodser
f36af3a557 update stagenet fee address 2022-07-15 05:50:24 -04:00
woodser
7945514c46 unfreeze funds if error during creating offer
fix jfx error
2022-07-13 18:09:42 -04:00
woodser
4a171c9baa
cap stagenet fiat offers to 1 xmr until trade credits supported (#355) 2022-07-13 18:09:19 -04:00
erciccione
7157defea5 edit some text and remove strings of removed entries 2022-07-13 08:15:54 -04:00
woodser
b89c0d720b buyer exports multisig hex only once during payout 2022-07-12 09:33:24 -04:00
woodser
f2cd9dd570 increase max trade limit for lowest risk payment from 2 to 20 xmr 2022-07-12 09:33:15 -04:00
woodser
defb82d240 treat SELLER_SAW_ARRIVED_PAYMENT_RECEIVED_MSG as payout until refactored 2022-07-12 09:33:00 -04:00
woodser
8980a8ec60 sync wallet when opened 2022-07-12 09:33:00 -04:00
woodser
008210abf6 fix reserved balance = frozen offer outputs + confirmed deposits 2022-07-12 09:33:00 -04:00
woodser
896380218e set xmr node on startup w/ xmrNode, xmrNodeUsername, and xmrNodePassword 2022-07-10 06:14:52 -04:00
erciccione
3c81558e11 add stagenet seednode 2022-07-08 10:04:09 -04:00
woodser
e2208355b1
support local, stagenet, and mainnet xmr network configuration (#335)
remove btc wallet
disable local zmq
2022-07-07 09:10:59 -04:00
woodser
c28108a4b6 support rolling backup of multisig wallets 2022-06-29 11:17:28 -04:00
woodser
f17c5803b5 stopping wallet rpc instance does not assume to close wallet 2022-06-29 11:17:28 -04:00
woodser
7ad2e20d95 support paxum 2022-06-24 15:46:54 -04:00
woodser
27f4b18330 support uphold 2022-06-24 15:46:54 -04:00
woodser
6dbd1660e5 support faster payments 2022-06-24 15:46:54 -04:00
woodser
d0c02acba1 support sepa instant 2022-06-24 15:46:54 -04:00
woodser
c40938f438 support MoneyGram form api 2022-06-23 11:24:28 -04:00
woodser
faeb9ca8db refactor payment account form api to support structured, dynamic forms 2022-06-23 11:24:28 -04:00
woodser
88578bed10 general rebase in order to update payment methods and desktop app
Co-authored-by: Alva Swanson <alvasw@protonmail.com>
Co-authored-by: andyheko <haoen.ko@gmail.com>
Co-authored-by: Bisq GitHub Admin <51445974+bisq-github-admin-3@users.noreply.github.com>
Co-authored-by: BtcContributor <79100296+BtcContributor@users.noreply.github.com>
Co-authored-by: cd2357 <cd2357@users.noreply.github.com>
Co-authored-by: chimp1984 <chimp1984@gmx.com>
Co-authored-by: Chris Beams <chris@beams.io>
Co-authored-by: Christoph Atteneder <christoph.atteneder@gmail.com>
Co-authored-by: Devin Bileck <603793+devinbileck@users.noreply.github.com>
Co-authored-by: ghubstan <36207203+ghubstan@users.noreply.github.com>
Co-authored-by: Huey <hueydane@gmail.com>
Co-authored-by: Jakub Loucký <jakub.loucky@outlook.cz>
Co-authored-by: jmacxx <47253594+jmacxx@users.noreply.github.com>
Co-authored-by: KanoczTomas <tomas.kanocz@cnl.sk>
Co-authored-by: m52go <735155+m52go@users.noreply.github.com>
Co-authored-by: Marcus0x <marcus0x@xrhodium.org>
Co-authored-by: MarnixCroes <93143998+MarnixCroes@users.noreply.github.com>
Co-authored-by: Martin Harrigan <martinharrigan@gmail.com>
Co-authored-by: MwithM <50149324+MwithM@users.noreply.github.com>
Co-authored-by: sqrrm <sqrrm@users.noreply.github.com>
Co-authored-by: Stan <36207203+ghubstan@users.noreply.github.com>
Co-authored-by: Stephan Oeste <emzy@emzy.de>
Co-authored-by: Steven Barclay <stejbac@gmail.com>
Co-authored-by: WAT <shiido.it@gmail.com>
Co-authored-by: wiz <j@wiz.biz>
Co-authored-by: xyzmaker123 <84982606+xyzmaker123@users.noreply.github.com>
2022-05-28 13:56:29 -04:00
woodser
ca9bdf7c29 set offer trigger price and state from open offer 2022-05-26 09:46:57 -04:00
woodser
e33d93eee8 fix npe on startup without monerod connection 2022-05-23 18:23:05 -04:00
woodser
ffccf83ac5 support getXmrPrimaryAddress(), getXmrNewSubaddress() 2022-05-16 13:33:07 -04:00
woodser
fa15612586 support scheduling offers with locked funds 2022-05-16 13:33:07 -04:00
woodser
a37df9281e add supported asset codes to payment methods 2022-05-12 14:05:57 -04:00
woodser
f4120b869d support getXmrSeed() 2022-05-11 17:03:34 -04:00
woodser
e4a8aa45e7 update to monero-java v0.7.0 2022-05-10 09:54:37 -04:00
woodser
ded73cad6c close multisig wallet after seller prepares payment received message 2022-05-06 08:56:29 -04:00
woodser
d87c679f4c resolve NPE on shutdown before account opened 2022-04-29 13:54:53 -04:00