Commit Graph

672 Commits

Author SHA1 Message Date
woodser
c2f5adac9b trigger price handled as string, same as price 2022-04-28 11:46:34 -04:00
woodser
272ae8bfa9
check account open on create crypto payment account (#281) 2022-04-12 07:49:40 -04:00
duriancrepe
5b38eab716
Encrypt persisted data using password protected symmetric key (#279) 2022-04-12 07:49:30 -04:00
woodser
2d3043093e seller state is PAYMENT_RECEIVED or PAYOUT_PUBLISHED after confirming 2022-04-07 14:12:03 -04:00
woodser
730bee3e71
renames in proto and api (#277)
rename to getNewDepositAddress()
rename trade phase DEPOSIT_CONFIRMED to DEPOSIT_UNLOCKED
rename fiat sent/received to payment sent/received
2022-04-07 10:45:35 -04:00
woodser
32070fbafb refactor payout protocol to work with or without updated multisig 2022-04-06 11:27:50 -04:00
woodser
bb95b4b1d6 support multithreading in api and protocols
close trade wallets while unused for scalability
verify txs do not use unlock height
increase trade init timeout to 60s
2022-04-06 11:27:50 -04:00
woodser
fdddc87477 app fully initialized before daemon connection or wallet by default
wallet initializes when first connected to get correct height
connect to local node if available and last connection offline
use only one internal daemon in monero node service
2022-04-04 15:28:54 -04:00
duriancrepe
9dfbb0d5a6 Add API functions to start and stop local Monero node 2022-04-04 15:28:54 -04:00
woodser
00765d7b32
Change network version to avoid connecting to bisq nodes (#275)
Co-authored-by: l0nelyc0w <coinrunner@danwin1210.me>
2022-04-04 14:17:44 -04:00
Christoph Atteneder
e0727f4934 tor v3 formatting and v3 btc nodes from bisq
Co-Authored-by: Christoph Atteneder <christoph.atteneder@gmail.com>
Co-Authored-by: Stephan Oeste <emzy@emzy.de>
2022-04-03 12:11:13 -04:00
duriancrepe
2851319e3b
Add API functions to support trade chat (#257) 2022-03-09 07:42:48 -05:00
duriancrepe
e7b4627102
Add API functions to open and resolve disputes (#244)
Co-authored-by: woodser <woodser@protonmail.com>
2022-03-07 12:56:39 -05:00
erciccione
07c48a04f5
settings for pricenodes and add our pricenodes 2022-03-06 10:45:18 -05:00
woodser
e91b96227f support Bitcoin Cash 2022-02-16 11:59:21 -05:00
woodser
45a61ae835
fix bug getting crypto offers caused by base/counter inversion (#245) 2022-02-16 10:09:52 -05:00
Randall B
5b038697c3
Add market depth info API call (#190) 2022-02-11 18:13:41 -05:00
duriancrepe
e3b9a9962b
Add API functions to initialize Haveno account (#216)
Co-authored-by: woodser@protonmail.com
2022-02-09 04:39:57 -05:00
woodser
1ae98094f3
stop arbitrator trade initialization timeout (#238) 2022-02-08 07:29:30 -05:00
Fritz Lumnitz
a3586fdef8 Add monero connections manager 2022-01-28 17:01:32 -05:00
woodser
2715e1bba8 support notification types: trade update, chat message, keep alive 2022-01-17 08:39:53 -05:00
premek
422267de79 FormattingUtilsTest locale fix
This test was failing sometimes (not consistently) on a system with non-en locale. GlobalSettings.setLocale is used in other tests like this
2022-01-14 16:34:12 -05:00
woodser
7b6b92d894 update to monero-java 0.6.0 with api updates & connection manager fixes 2022-01-14 16:33:56 -05:00
Fritz Lumnitz
800b309a4b Add notifications listener 2022-01-13 07:56:59 -05:00
woodser
9059974725 remove dependency on local BTC node
Co-authored-by: premek <1145361+premek@users.noreply.github.com>
2022-01-06 15:29:14 -05:00
woodser
1b78be689a maker waits for ack on sign offer request 2022-01-06 15:28:53 -05:00
woodser
253ef8fabe dispute agent registration uses host name and prevents re-registration 2022-01-06 15:27:07 -05:00
l0nelyc0w
c1699795e7 Add API functions to get wallet transfers and withdraw funds 2021-12-31 14:34:37 -05:00
woodser
e8cc3d20f5 update more names from bisq* to haveno* 2021-12-20 11:47:17 -05:00
woodser
ce538c5ca6 update copyright headers to Haveno 2021-12-16 13:33:12 -05:00
woodser
1be8e53ee9 rename classes and executables from Bisq* to Haveno* 2021-12-16 13:33:12 -05:00
woodser
7c9c35b1b8 improve error handling in protocol pipelines
support getTrades() from grpc api
consistently use timeouts in protocol pipelines
remove trade and repost offer on protocol errors
delete multisig wallet when trade removed
protocol advances on ack messages instead of network onArrived()
re-order protocol class methods to correct order
2021-12-15 13:19:05 -05:00
woodser
dd68760f27 handle errors making or taking offers with insufficient funds 2021-12-08 06:24:35 -05:00
Randall Coding
c7cc810d47 Handle arbitrator giving all payout to one trader 2021-11-22 14:18:49 -05:00
woodser
b6a1d7c652 adjust displayed currencies in desktop app 2021-11-22 08:02:06 -05:00
premek
f27e3e3d1a Implement getMarketPrices API endpoint
- Increase rate limit to 10 calls per second.
- Use the new API also for the getMarketPrice call, this makes the 'Can get market prices' API test pass
2021-11-20 19:41:26 -05:00
woodser
469c47b0c7 add balance to xmr balances
reduce trade api rate limiting
offer is set to available
2021-11-20 16:28:49 -05:00
woodser
f08c2036a7 api returns offers for unconfigured payment method 2021-11-19 17:14:21 -05:00
woodser
4dafd57026 use backup arbitrator if signing arbitrator not available 2021-11-18 13:04:25 -05:00
premek
7d21bdf9f3 add config option to specify wallet rpc bind port 2021-11-17 04:55:39 -05:00
woodser
4000fdc1e5 show warnings from wallet disconnect on manual shutdown, not stacktraces
quick build haveno apps with `make haveno-apps`
upgrade to monero-java 0.5.8
2021-11-13 12:58:54 -05:00
woodser
cd108387a2 restore dispute summary message 2021-11-11 16:21:22 -05:00
woodser
4d81d98e00 revert price feed changes of #129 due to error when all tests run
observing "error applying consumer" in alice console when all tests run
2021-10-30 10:00:40 -04:00
woodser
68e0bba6ac only print when outputs first confirm 2021-10-30 10:00:40 -04:00
woodser
728760bbc2 support price feed for btc and other cryptos
add btc and remove xmr from market price map
closes #125
2021-10-24 09:23:15 -04:00
woodser
ed4394dc5d set payment account trade currency
closes #115
2021-10-24 09:23:15 -04:00
l0nelyc0w
cefba8e4b5 remove DAO
Co-authored-by: premek <1145361+premek@users.noreply.github.com>
2021-10-20 06:19:52 -04:00
erciccione
a74fac9646 use makefile for quick installation and deployment
- update docs/installing.md
- edit WalletConfig.java to point to monero-wallet-rpc in .localnet
- remove monerod and monero-wallet-rpc from .gitignore
2021-10-13 08:05:31 -04:00
woodser
b72db7f20d onTakeOffer() invokes result handler after trade completely initialized 2021-09-21 10:01:20 -04:00
woodser
f8fa838a9b open trades in parallel on startup 2021-09-21 10:01:20 -04:00
woodser
6e21508a94 add grpc call to get new deposit subaddress 2021-09-21 10:01:20 -04:00
woodser
6798630dfc filter offers with spent or duplicate funds using key images
reserve tx does not remain in arbitrator pool
2021-09-18 15:02:14 -04:00
woodser
048e2f446c unfreeze outputs when offer is removed from books 2021-09-15 06:44:52 -04:00
woodser
d136815552 support creating offer from grpc api
fee payment currency is xmr
scale atomic units from grpc api to centineros for consistency
implement ParsingUtils.atomicUnitsToCentineros()
2021-09-15 06:44:52 -04:00
woodser
59f3fc6385 balances include unlocked, locked, reserved offers, reserved trades 2021-09-12 09:38:20 -04:00
woodser
86f7d090b6 implement protocol v2 2021-09-07 11:47:09 -04:00
premek
a643851d52 use monero instead of bitcoin in Take/Place offer to Buy/Sell monero 2021-07-22 15:24:47 -04:00
woodser
c96c0629ce rename wallet files to haveno_* 2021-06-03 08:39:22 -04:00
premek
aba3c1b82e backup monero wallet 2021-06-02 15:18:20 -04:00
woodser
be2a71b9b5 increase trade limits by factor of 10
popup warning displays effective trade limit
2021-05-23 19:00:47 -04:00
premek
2be32fcb8d display actual XMR amount in offerFromUnsignedAccount warning instead of hardcoded 0.01 BTC 2021-05-22 14:43:42 -04:00
premek
be3494e54d increase trade limits 2021-05-22 14:43:15 -04:00
premek
b5d1e31191 fix NetworkParameters comparision after introducing Xmr*NetParams 2021-05-21 12:52:04 -04:00
woodser
3157891bbb
prices are based on xmr by translating bisq price service #18 (#61) 2021-05-10 11:59:25 -04:00
woodser
55f62f92dd
sync notifications to FX thread only in desktop app (#60)
daemon starting and stopping without exceptions
2021-05-09 11:14:58 -04:00
woodser
fcdc627d00
handle arbitrator trade in TradableList (#58) 2021-05-08 20:12:50 -04:00
woodser
9903821b18
Change base networks from btc to xmr, e.g. BTC_REGTEST -> XMR_STAGENET (#55)
change base networks from btc to xmr, e.g. BTC_REGTEST -> XMR_STAGENET

add xmr seed node files
2021-05-08 13:57:32 -04:00
woodser
01f183b7a7 fix fiat trades by changing base currency to xmr #7 2021-05-04 22:50:24 -04:00
woodser
391594198f cleanup todos and update to new monero-java api 2021-05-04 22:50:24 -04:00
woodser
761b2821fc expect null change address if change amount is 0 2021-05-04 22:50:24 -04:00
woodser
a22edd60f8 Haveno 2021-05-04 22:49:48 -04:00
woodser
8a38081c04 Bisq 2021-05-04 20:20:01 -04:00