chimp1984
ca145b0eb3
Add static method getTradeStatisticsForCurrency and
...
use it instead of updateSelectedTradeStatistics
(preparation for follow up commit)
2021-11-09 19:20:34 +01:00
chimp1984
0271af995b
Add modelReady property and let view fill list once model is ready
2021-11-09 19:20:34 +01:00
chimp1984
ea66a510dc
Make buildUsdPricesPerTickUnit async using CompletableFuture
2021-11-09 19:20:34 +01:00
chimp1984
deeb912f9b
Move buildUsdPricesPerTickUnit to ChartCalculations
2021-11-09 19:20:34 +01:00
chimp1984
c51060a6d4
Move getAveragePrice and roundToTick to ChartCalculations
...
Make buildUsdPricesPerTickUnit static and pass params
Rename usdPriceMapsPerTickUnit to usdAveragePriceMapsPerTickUnit
Rename local variable map to usdAveragePriceMap
Move method calls syncPriceFeedCurrency() and
setMarketPriceFeedCurrency() before other calls (those will become async later)
2021-11-09 19:20:33 +01:00
chimp1984
4d2d0717b5
Add getBlockTimeAtBlockHeight method
...
Improve getBlockStartDateByCycleIndex method
2021-11-09 13:01:18 +01:00
Christoph Atteneder
65c308f5ed
Merge pull request #5782 from chimp1984/redesign-dao-state-monitoring
...
Redesign dao state monitoring [4]
2021-11-09 12:12:22 +01:00
chimp1984
7e1696b095
Fix typos, cleanups
2021-11-08 21:49:08 +01:00
Christoph Atteneder
00d7913bc6
Merge pull request #5055 from Jakub-CZ/button-buy-bsq
...
Add "Buy BSQ" button next to trade fee selector
2021-11-08 11:13:52 +01:00
Christoph Atteneder
07e224e40a
Simplify containers and improve truncation behavior
2021-11-08 11:06:00 +01:00
Christoph Atteneder
2b90633263
Improve naming of helper method
2021-11-08 11:05:27 +01:00
Christoph Atteneder
fac4b3c5c3
Fix combobox BSQ selection error
2021-11-04 13:22:32 +01:00
chimp1984
8e3f95383e
Add daoStateBlockChainNotConnecting property (impl. will come in other commits)
...
Add Preferences to service classes
2021-11-04 12:48:09 +01:00
chimp1984
1f929926cc
Remove prevHash from StateHash classes (the prevHash was only used for display.
...
For creating the hash we take the hash from the previous element. By removing it
we safe about 3 MB on data)
Add isSelfCreated field to DaoStateHash (indicates if we have created
the hash by ourself or if we have received it from a peer -> will be
part of later commits)
2021-11-04 12:48:09 +01:00
chimp1984
1abe68637d
Add useFullModeDaoMonitor field to PreferencesPayload
...
Add toggle to PreferencesView
Set useFullModeDaoMonitor default to true for headless nodes
2021-11-04 12:48:08 +01:00
chimp1984
cd3e8217ae
Rename onChangeAfterBatchProcessing to onDaoStateHashesChanged
...
at DaoStateMonitoringService.Listener
2021-11-04 12:48:07 +01:00
Christoph Atteneder
851bdcf9ff
Merge pull request #5797 from jmacxx/fix_exception_opening_mediation
...
Prevent NPE in case delayedPayoutTx is not present (failed trade)
2021-11-04 11:47:17 +01:00
Christoph Atteneder
0e4933f8d1
Fix rebase merge errors
2021-11-04 10:55:51 +01:00
Christoph Atteneder
928208c200
Merge pull request #5791 from jmacxx/fix_monese_satispay
...
Include holder name field for Monese & Satispay accounts
2021-11-04 10:54:12 +01:00
Christoph Atteneder
e17fd9ef54
Add informational popup after account creation
2021-11-04 10:46:37 +01:00
Christoph Atteneder
55826cb4a2
Fix failing tests
2021-11-04 10:46:37 +01:00
Christoph Atteneder
b7c4e5ed17
Create BSQ account and take offer if not existing
...
Conflicts:
desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBookView.java
desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBookViewModel.java
desktop/src/main/java/bisq/desktop/util/DisplayUtils.java
2021-11-04 10:46:27 +01:00
Christoph Atteneder
a5b2859d7e
Simplify and clean up data models
...
Conflicts:
desktop/src/main/java/bisq/desktop/main/account/content/altcoinaccounts/AltCoinAccountsDataModel.java
2021-11-04 10:41:46 +01:00
Christoph Atteneder
60a0d875fc
Refactor account name generation
2021-11-04 10:40:41 +01:00
Christoph Atteneder
4063b72b7d
Add tooltip for disabled create offer button
...
Conflicts:
desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBookView.java
2021-11-04 10:40:16 +01:00
Christoph Atteneder
5527208894
Add more context to buy BSQ button
2021-11-04 10:36:59 +01:00
Christoph Atteneder
9e2be92787
Not auto-close create offer view
2021-11-04 10:36:59 +01:00
Christoph Atteneder
ee30cd9739
Refactor auto-closing of sell BTC offer view
2021-11-04 10:36:58 +01:00
Christoph Atteneder
d2baabc180
Move utility methods from GUIUtil to OfferViewUtil
2021-11-04 10:36:58 +01:00
Christoph Atteneder
e1b405f20b
Apply minor refactorings
...
Conflicts:
desktop/src/main/java/bisq/desktop/main/offer/bisq_v1/takeoffer/TakeOfferView.java
2021-11-04 10:36:46 +01:00
Christoph Atteneder
9cf373a9bb
Not show buy bsq hint for buy bsq offers
2021-11-04 10:36:01 +01:00
Christoph Atteneder
35e76e30b2
Add Button to confirm payment in BSQ wallet
2021-11-04 10:36:01 +01:00
Christoph Atteneder
717d7c205b
Close current SELL offer tab
...
TODO: fix bug with currency combobox
Conflicts:
desktop/src/main/java/bisq/desktop/main/offer/bisq_v1/OfferViewUtil.java
2021-11-04 10:35:50 +01:00
Jakub Loucký
57b9c6f138
Display button only when insufficient BSQ funds
2021-11-04 10:28:58 +01:00
Jakub Loucký
4c77044274
Move button style to bisq.css
...
Add link to bisq.wiki
2021-11-04 10:28:57 +01:00
Jakub Loucký
107cc3a8dd
Tiny refactoring
2021-11-04 10:28:56 +01:00
Christoph Atteneder
f59d6fe591
Add "Buy BSQ" button next to trade fee selector
...
Conflicts:
desktop/src/main/java/bisq/desktop/main/offer/OfferView.java
2021-11-04 10:28:30 +01:00
chimp1984
19eac435e5
Remove ClosedTradableListItem
...
Was empty wrapper for Tradable
2021-11-04 01:57:57 +01:00
chimp1984
733b4f06af
Fix layout
2021-11-04 01:26:59 +01:00
chimp1984
1ca0ed5e36
Add notification when BSQ swap trade got confirmed
2021-11-04 01:20:50 +01:00
chimp1984
8fa66ea7aa
Moved instance methods to ClosedTradableManager
...
Renamed ClosedTradeUtil to ClosedTradableUtil
Leaves only static functional methods in ClosedTradableUtil
Domain methods requiring services are in ClosedTradableManager
This keeps also the TradableList
All formatting code is in ClosedTradableFormatter
2021-11-03 23:54:18 +01:00
chimp1984
27df58b336
Extract formatter methods to ClosedTradeFormatter
2021-11-03 23:12:13 +01:00
chimp1984
acf7c216ae
Moved PriceUtil to bisq.core.util
2021-11-03 22:02:21 +01:00
chimp1984
7109666047
Moved AltcoinValidator, FiatPriceValidator and NumberValidator
...
to bisq.core.util.validation package. No code change.
Is needed for next refactorings.
2021-11-03 21:58:53 +01:00
chimp1984
24f18b75ae
Rename txFeeAsLong to tradeTxFee and txFeeAsLong to txFeeAsLong
...
Implement getTxFee in concrete classes. For Maker trades we return the txFee from the offer.
We use txFee in 2 different context:
1. For the txFee the taker pays and which is used for all the trade txs
2. As generic tx fee the user has paid. The makers tx fee is in the offer.
The taker pays 3 times the tradeTxFee
2021-11-03 21:52:04 +01:00
chimp1984
5da5d47ad7
Fix getNumPastTrades method
2021-11-03 21:21:58 +01:00
chimp1984
c4a8627183
Use TradeModel instead of Trade in the avatar icon
...
classes and comparators
Add bsq wallet balance listener to update list
Use BsqSwapTrade details window if Bsq trade
Show "N/A" for deposits in case of BSQ swaps
Cleanup ClosedTradesDataModel
2021-11-03 20:10:15 +01:00
chimp1984
2ac5b3532c
Rename BSQ swap trades tab to Unconfirmed BSQ swaps
...
Move it left to closed trades
2021-11-03 19:06:06 +01:00
chimp1984
d4dc75ba23
Rename CompletedBsqSwapsView* classes to UnconfirmedBsqSwapsView*
2021-11-03 19:05:03 +01:00
chimp1984
680040d37e
Add info about trade if checkArgument fails
...
checkArgument(trade instanceof BuyerTrade) failed in dev testing
when clicking very fast confirm buttons.
Likely due lagging UI (previous trade in selection...).
Could not reproduce it afterwards
2021-11-03 19:00:09 +01:00