Commit Graph

676 Commits

Author SHA1 Message Date
woodser
8ea556fa4f do not process trade messages if trade already failed
start monero-wallet-rpc without connection
add logging
2023-03-10 05:47:55 -05:00
woodser
5b8f9237ce rename core package from btc to xmr 2023-03-08 11:39:10 -05:00
woodser
e71f9a54ac remove unused messages and fields from protobuf models
rename BitcoinModule to MoneroModule
change to HavenoUtils.formatXmr(...)
remove "_as_long" postfix from models
2023-03-08 11:39:10 -05:00
woodser
1a1fb130c0 rename all packages and other names from bisq to haveno 2023-03-08 11:37:33 -05:00
woodser
ab0b9e3b77 transition Balances to use native xmr atomic units 2023-03-07 08:33:56 -05:00
woodser
74cd910705 handle trade events during initialization 2023-03-07 08:33:56 -05:00
woodser
b18e9ad4bf fix Res.get() warning on pmt confirmation w/ "Preparing confirmation..." 2023-03-07 08:33:56 -05:00
woodser
f91db182d8 desktop app creates offers with floating market price 2023-03-07 08:33:56 -05:00
woodser
369e562362 increase minimum trade amount to 0.1 XMR 2023-03-06 08:53:00 -05:00
woodser
9b4f8046b7 switch to xmr atomic units as native units 2023-03-06 08:53:00 -05:00
woodser
ab94b2d6fa fix concurrent modification exception fetching disputes 2023-03-06 08:53:00 -05:00
woodser
17d94f346c log warning on refusal to delete backup wallet 2023-03-04 16:19:59 -05:00
woodser
1809e34aaa only import multisig hex on dispute closed if wallet exists after sync 2023-03-04 16:19:59 -05:00
woodser
ed0f458bc4 support broadcasting maker and taker reserve txs in legacy ui
Co-authored-by: niyid <neeyeed@gmail.com>
2023-03-04 08:35:51 -05:00
woodser
34b79e779b remove extraneous errors on daemon disconnect, one warning per 5 minutes 2023-02-27 09:26:58 -05:00
woodser
05b259bd55 add fields to SignedOffer: trade amount, maker fee, reserve tx miner fee 2023-02-27 09:26:58 -05:00
woodser
4dde53f0e8 support password prompt in legacy ui
Co-authored-by: niyid <neeyeed@gmail.com>
2023-02-27 09:19:59 -05:00
woodser
99653fe40d account service checks that password is at least 8 characters 2023-02-26 11:01:21 -05:00
woodser
b585e0f105 import multisig hex on every update and before creating payout txs 2023-02-26 08:35:50 -05:00
woodser
6dca11f471 arbitrator sends original unsigned payout tx if published
synchronize on trade when processing dispute messages
2023-02-26 08:35:50 -05:00
woodser
17ac09fa4d only sync wallet if not published on dispute closed 2023-02-24 12:06:47 -05:00
woodser
487d371a2d only republish offers with reserved key images 2023-02-24 10:51:13 -05:00
woodser
c7080f3dbc splash screen shows "test network" if not mainnet 2023-02-24 10:51:13 -05:00
woodser
1d46818732 getMyOffers() does not require asset code 2023-02-24 10:51:13 -05:00
woodser
ce579b78ca arbitrator sends same dispute payout tx to both peers on resolve w/ grpc
fix npe in trade.get*DepositTx()
2023-02-24 09:58:33 -05:00
woodser
55650c495b accountService.changePassword() requires old and new password 2023-02-22 08:55:47 -05:00
woodser
86511b4e21 synchronize closed and failed trade managers 2023-02-21 11:12:57 -05:00
woodser
28c07e966b fetch maker and taker txs from wallet then daemon 2023-02-21 11:12:57 -05:00
woodser
8820a87286 arbitrator always includes dispute payout tx
sync wallet before processing
remove extraneous wallet syncs
2023-02-21 11:09:48 -05:00
woodser
8ec76aa1cd set isInitialized after initialization, add isShutDown flag to Trade
fix bug opening wallet while shutting down
2023-02-15 10:59:02 -05:00
woodser
f64b12e615 update to monero-java v0.7.11 2023-02-15 09:26:09 -05:00
napoly
a2f0792799 reject payment accounts with duplicate names 2023-02-13 10:13:12 -05:00
woodser
e2a8dc702b show popup for error notifications sent through notification service 2023-02-11 16:50:32 -05:00
woodser
88f0ad543a sync idle trades once in background after active trades 2023-02-11 16:50:32 -05:00
woodser
0c4ce623a7 arbitrator syncs idle trade wallet when payout confirmed and unlocked
refuse to delete trade wallet if balance > dust
2023-02-11 16:50:32 -05:00
woodser
b69a7c1b48 use thread pool to cap sync concurrency in setDaemonConnection() 2023-02-11 16:50:32 -05:00
woodser
190003b5ba migrate to DisputeValidation
Co-authored-by: HenrikJannsen <boilingfrog@gmx.com>
2023-02-11 16:50:32 -05:00
woodser
6f16a5ee92 remove unused protobuf fields
remove TraderSignedWitnessMessage
remove tx fee from offer and trade
set dispute's disputePayoutTxId when payout observed
synchronize access to PersistenceManager.persistNow()
fix concurrent modification exception in OfferBookChartView
2023-02-11 16:50:32 -05:00
woodser
0372af663a synchronize access to account age witness maps to fix missing hash 2023-02-09 08:48:45 -05:00
woodser
5feb487039 arbitrator deletes signed offer when key image confirmed spent 2023-02-07 14:31:14 -05:00
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
145157f84d add windows instructions to use default=all 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
napoly
a50e151c98 reduce debug logs for apache http client 2023-02-07 11:42:31 -05:00
woodser
c194e0b5ed remove pricenode from main repo 2023-02-06 08:57:24 -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
ef4c55e32f print connection statistics at debug log level 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