Steven Barclay
fb78345ba3
Avoid repeated Set<Tradable> build in transactions view load
...
Move the line,
Set<Tradable> tradables = tradableRepository.getAll();
to the top level of 'TransactionsView.updateList', instead of needlessly
calling 'TradableRepository.getAll' (which builds a new set every
invocation) for each wallet transaction being iterated over.
This was causing a significant slowdown of the view load.
2023-02-09 21:35:32 +08:00
Steven Barclay
3aacc99f38
Tidy up TransactionsView slightly
...
1. Expression lambda -> method reference;
2. Statement lambda -> expression lambda;
3. Field -> local variable.
2023-02-09 21:16:40 +08:00
Steven Barclay
c913b7a428
Cache last txId to further speed up 'isRelatedToTransaction'
...
Use a mutable static tuple field to cache the last result of
'Sha256Hash.toString', which is used to get the ID string of the input
tx, when calling 'TransactionAwareTrade.isRelatedToTransaction'. In this
way, consecutive calls to 'isRelatedToTransaction' on the same input tx
(over all the past trades, as done by 'TransactionsView.updateList') are
sped up significantly, since hex encoding the txId is a bottleneck.
2023-02-09 17:13:14 +08:00
Steven Barclay
88dd924577
Clean up TransactionAwareTrade & speed it up slightly
...
Replace the "Optional.ofNullable(...)..." constructs with more direct
code using short-circuit operators, as this is shorter and a little
faster. Also use "trade.get[Deposit|Payout]TxId()" instead of the code
"trade.get[Deposit|Payout]TxId().getTxId()", as (upon inspection of the
code) there should never be a case where the deposit/payout transaction
field of a Trade object is set but the respective txID field is null (or
set to an inconsistent value).
Also remove a redundant 'RefundManager.getDisputesAsObservableList'
method call, which was also slowing things down slightly.
The minor speedups afforded by the above are important because the
method 'TransactionAwareTrade.isRelatedToTransaction' is called a
quadratic number of times and consequently a major bottleneck when
loading the Transactions view.
2023-02-09 14:34:18 +08:00
Alva Swanson
c1c4caf87f
Gradle: Apply bisq.java-conventions to all projects
2023-02-05 22:02:13 +01:00
Alejandro García
27613de363
Merge pull request #6546 from jmacxx/offer_availability_dao_sync_check
...
Maker check DAO health when handling OfferAvailabilityRequest.
2023-02-03 15:10:57 +00:00
Alejandro García
3f518d1602
Merge pull request #6538 from yonson2023/fix_issue_6536
...
Fix delimiter used for combined fields copypaste.
2023-01-31 19:07:54 +00:00
jmacxx
d43a0e42cf
Maker check DAO health when handling OfferAvailabilityRequest.
2023-01-29 21:46:56 -06:00
Alejandro García
f43b5fe04b
Merge pull request #6544 from jmacxx/fix_withdrawal_fee_estimation
...
Fix withdrawal fee calculation & the min relay fee problem.
2023-01-28 19:25:06 +00:00
jmacxx
efac12e8ce
Fix withdrawal fee calculation & the min relay fee problem.
2023-01-27 12:02:02 -06:00
yonson2023
0b049d5a52
Fix delimiter used for combined fields copypaste.
2023-01-25 10:46:45 -06:00
yonson2023
5d55248b7e
Differenciate offer removal pop-ups for BSQ swaps and regular trades.
2023-01-25 10:38:19 -06:00
Alejandro García
74e1078318
Merge pull request #6527 from yonson2023/disk_space_warning
...
Warn user when free disk space is too low.
2023-01-24 16:17:11 +00:00
Christoph Atteneder
0fd1480b6b
Merge pull request #6535 from jmacxx/fix_issue_6534
...
Fix: allow funds received in trade payout to be used for trading.
2023-01-24 10:13:38 +01:00
yonson2023
f3a19b9d00
Apply code review suggestions.
2023-01-23 20:28:53 -06:00
Alejandro García
e9ea270908
Merge pull request #6528 from jmacxx/fix_issue_6517
...
Refactor closing ticket logic.
2023-01-23 14:52:43 +00:00
jmacxx
8744f14f81
Move TRADE_PAYOUT funds to available when trade completes.
2023-01-22 16:31:31 -06:00
jmacxx
3dde7c6261
Refactor closing ticket logic to fix #6517 .
2023-01-18 08:27:46 -06:00
yonson2023
fc2166e1a6
Warn when free disk space is too low.
2023-01-17 14:20:56 -06:00
yonson2023
ed821f721d
Fix UI filter box.
2023-01-17 11:00:39 -06:00
Alejandro García
2705244e64
Merge branch 'master' into release/v1.9.9
2023-01-12 15:01:22 +00:00
Alejandro García
6d8af4f102
Revert to SNAPSHOT version
2023-01-12 16:54:01 +02:00
Alejandro García
c55ecfa2d4
Bump version number for v1.9.9
2023-01-07 15:18:15 +02:00
HenrikJannsen
1f505cd184
Avoid that at repeated onDaoStateHashesChanged calls that we show multiple popups.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-07 15:18:15 +02:00
HenrikJannsen
e9ae213e8c
Avoid that at repeated onDaoStateHashesChanged calls that we show multiple popups.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-06 19:29:53 -05:00
HenrikJannsen
a6208f10dd
Add listeners at init
...
Remove duplicated listener registration
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-06 16:18:36 +02:00
HenrikJannsen
a6762cb66a
Return if !isParseBlockChainComplete
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-06 16:18:36 +02:00
HenrikJannsen
ec7dbb05c2
Improve DaoPresentation and add handler for daoStateHash updates
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-06 16:18:35 +02:00
HenrikJannsen
aa514b37da
Add listeners at init
...
Remove duplicated listener registration
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-05 22:02:57 -05:00
HenrikJannsen
cdfa3fa141
Return if !isParseBlockChainComplete
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-05 12:20:09 -05:00
HenrikJannsen
13180ddc30
Improve DaoPresentation and add handler for daoStateHash updates
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2023-01-05 11:21:01 -05:00
Alejandro García
1d669240d8
Merge pull request #6425 from jmacxx/fix_bsq_fee_validation
...
Validate BSQ fee payment using DAO tx info.
2022-12-29 20:12:38 +00:00
Alejandro García
681d8f972b
Merge pull request #6483 from jmacxx/fix_issue_6276
...
Fix problem causing multiple offers with same ID.
2022-12-29 15:05:20 +00:00
jmacxx
bb17429588
Fix problem causing multiple offers with same ID.
2022-12-23 14:49:14 -06:00
Christoph Atteneder
2e244c8e26
Remove unused signing key
2022-12-23 19:05:18 +01:00
Christoph Atteneder
fae711e765
Revert to SNAPSHOT version
2022-12-23 19:04:16 +01:00
Christoph Atteneder
cdb9fe44c1
Bump version number for v1.9.8
2022-12-22 08:44:13 +01:00
HenrikJannsen
109c200650
Add balance fields for DAO revenue with total burned BSQ and total distributed BTC/BSQ
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-19 09:31:59 +01:00
HenrikJannsen
c268cc46cb
Add new average bsq price after historical data
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-19 09:31:58 +01:00
HenrikJannsen
a263ca5cd6
Remove numIssuance and numBurnOutputs columns to save space
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-19 09:31:57 +01:00
HenrikJannsen
3e362c3207
Refactor: move out fields used the same way in both if/else branches.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-19 09:31:57 +01:00
HenrikJannsen
7eed7a4cda
In case we have capped burn shares we redistribute the share from the over-burned amount to the non capped candidates.
...
This helps to avoid that the legacy BM would get the rest in case there are capped shares.
It still can be that a candidate exceeds the cap and by the adjustment becomes capped. We take that into account and the legacy BM would get some share in that case.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-19 09:31:56 +01:00
HenrikJannsen
709f0e1b85
Change burn target calculation.
...
Left side is amount to burn to reach the max allowed receiver share based on the burned amount of all BM.
The right side is the amount to burn to reach the max allowed receiver share based the boosted max burn target.
Increase ISSUANCE_BOOST_FACTOR from 3 to 4.
Add help overlay to burn target table header.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-19 09:31:56 +01:00
HenrikJannsen
1dd83e5789
Add check for price==0
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-19 09:31:55 +01:00
HenrikJannsen
b5dbce41fa
Add balance fields for DAO revenue with total burned BSQ and total distributed BTC/BSQ
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 20:41:50 -05:00
HenrikJannsen
2012c9d093
Add new average bsq price after historical data
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 17:46:47 -05:00
HenrikJannsen
3ac6921d7e
Remove numIssuance and numBurnOutputs columns to save space
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 12:23:03 -05:00
HenrikJannsen
d585456732
Refactor: move out fields used the same way in both if/else branches.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-15 11:18:54 -05:00
HenrikJannsen
d0539e17ef
In case we have capped burn shares we redistribute the share from the over-burned amount to the non capped candidates.
...
This helps to avoid that the legacy BM would get the rest in case there are capped shares.
It still can be that a candidate exceeds the cap and by the adjustment becomes capped. We take that into account and the legacy BM would get some share in that case.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-14 21:44:54 -05:00
HenrikJannsen
4860c1177a
Change burn target calculation.
...
Left side is amount to burn to reach the max allowed receiver share based on the burned amount of all BM.
The right side is the amount to burn to reach the max allowed receiver share based the boosted max burn target.
Increase ISSUANCE_BOOST_FACTOR from 3 to 4.
Add help overlay to burn target table header.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-14 20:34:42 -05:00
HenrikJannsen
2535f01eb1
Add check for price==0
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-14 18:50:41 -05:00
Christoph Atteneder
68ea90a1fb
Bump version number for v1.9.7
2022-12-14 10:36:20 +01:00
Christoph Atteneder
71d6e126dd
Merge pull request #6423 from HenrikJannsen/add-burningman-accounting
...
Add burningman accounting
2022-12-14 10:17:38 +01:00
Alejandro García
4f34be0a33
Merge pull request #6452 from ripcurlx/update-app-signatures
...
Update app signatures for v1.9.7
2022-12-11 18:36:00 +02:00
HenrikJannsen
46b2cf914b
Remove DevEnv.isDevTesting
...
Add check for number of confirmations in devMode to show support button after 5 blocks
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:19 -05:00
HenrikJannsen
e3a0ae9425
Use constants for opReturn data. Rename hash to opReturnData.
...
Update UI.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:18 -05:00
HenrikJannsen
c8a9b9a7cc
Improve TAC text
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:18 -05:00
HenrikJannsen
65eebefb69
Make copy icon in popups smaller
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:18 -05:00
HenrikJannsen
891685f3ec
Update TAC text and layout
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:18 -05:00
HenrikJannsen
a03b0eadfc
Make codacy happy
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:18 -05:00
HenrikJannsen
446762f02c
Add BM account UI
2022-12-11 11:15:17 -05:00
HenrikJannsen
4e08bcd53d
Split up legacy BM into DPT and BTC fee BM
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:15 -05:00
HenrikJannsen
dff6d48333
Refactoring: Move BM model classes into model package. Adjust visibility.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:14 -05:00
HenrikJannsen
7f2b62f391
Don't show decayedAmount for LegacyBurningMan
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:14 -05:00
HenrikJannsen
d4646cc19f
Add LegacyBurningMan to UI
...
It is not included in BurningManCandidate candidate map as that would complicate things.
We only want to show it in the UI for informational purposes.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:14 -05:00
HenrikJannsen
3a7af07e86
Improve burn target calculation and display
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:13 -05:00
HenrikJannsen
46776eeddc
Use null as default value for donationAddressString
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:12 -05:00
HenrikJannsen
a6a018883d
Add isDevTesting method for adjusting behaviour for dev testing purposes
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:12 -05:00
HenrikJannsen
402c4075d0
Add option to add opReturn data at BSQ wallet send screen for non-BSQ balance.
...
This can be used for providing proof of ownership of a genesis output when attaching a custom BM receiver address.
See: https://github.com/bisq-network/proposals/issues/390#issuecomment-1306075295
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:11 -05:00
HenrikJannsen
5799fb27eb
Add balance listener for burn bsq input
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:11 -05:00
HenrikJannsen
88cf28c526
Add applyBlock method and call at constructor (some classes get not initiated at app startup but created by UI activity).
...
Remove accumulatedDecayedBurnAmount at getAllowedBurnAmount. Was incorrect.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:11 -05:00
HenrikJannsen
9fa9fbf57b
Fix incorrect cycle index
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:11 -05:00
HenrikJannsen
befe166bc7
Refactor out fields from BurningManCandidate which are not affecting data for delayed payout tx receivers.
...
This allows to split off the burn target related code to separate classes.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:11 -05:00
HenrikJannsen
f0faa44804
Remove Current
from method names
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:10 -05:00
HenrikJannsen
24ccacd210
Remove unused fields
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:10 -05:00
HenrikJannsen
559ba6e9b9
Refactor BurningManService
...
Split up into 4 service classes
- BurningManService: Common stuff
- BurningManInfoService: For displaying BurningMan data
- BtcFeeReceiverService: For getting btcFeeReceivers
- DelayedPayoutTxReceiverService: For getting delayedPayoutTxReceivers. This is the critical part where we need to have a deterministic data and which could break trade consensus.
WIP refactoring. More to come...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:09 -05:00
HenrikJannsen
58cabfaaf6
Add expectedRevenue to BurningManCandidate.
...
Add getAverageDistributionPerCycle method to BurningManService.
Show receiver address when BM is selected.
Refactor code, cleanups, UI improvements.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:09 -05:00
HenrikJannsen
731363d128
Sort getBtcFeeReceiverAddress by amount and address.
...
Increase minOutputAmount to 1000 sat.
Cleanups
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:08 -05:00
HenrikJannsen
fa857b39ec
Make codacy happy
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:08 -05:00
HenrikJannsen
e16a9b00b1
Add verifyDelayedPayoutTxReceivers method in RefundManager.
...
Add burningManSelectionHeight and tradeTxFee in Dispute.
Call validateDonationAddressMatchesAnyPastParamValues and validateDonationAddress
only if legacy BM was used.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:08 -05:00
HenrikJannsen
39a49adb92
Add Burningman UI
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:07 -05:00
HenrikJannsen
5167f605b4
Add new addTableViewWithHeaderAndFilterField method to FormBuilder (will be used later)
...
Change return type of FormBuilder.addTableViewWithHeader
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:07 -05:00
HenrikJannsen
5c7a3308a7
Add burningManReceiverAddress as extraMap entry to CompensationProposal.
...
We cannot add a new field as that would break DAO consensus.
Add optional text field for burningManReceiverAddress to CompensationProposal UI.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-12-11 11:15:07 -05:00
Alejandro García
2d607cd092
Merge pull request #6433 from jmacxx/user_trade_limits
...
User defined trade limit, Part II.
2022-12-09 19:46:34 +02:00
jmacxx
bddbe6b7ae
Feature to zip logfiles to home directory.
2022-12-05 09:14:12 -06:00
jmacxx
0e3314ce14
Prompt to confirm before shutting down. Has dont show again option.
2022-12-02 15:35:27 -06:00
Christoph Atteneder
4069e60f8c
Update app signatures
2022-12-01 12:21:46 +01:00
jmacxx
7ec86c3dc3
User defined trade limit.
...
Some commits were missed from the first implementation in #6431 .
The user limit is applied to offer entry via AccountAgeWitnessService.
Offers are filtered according to limits in OfferFilterService.
If limit changed, the cache in OfferFilterServices must be cleared.
2022-11-29 22:41:34 -06:00
jmacxx
1df3046371
Validate BSQ fee payment using DAO tx info.
...
Previously the BSQ fee payment was determined by parsing a raw tx
without relying on the DAO. Unfortunately this turned out to be
problematic, so with this change the BSQ fee paid is obtained from
the DAO tx, as originally preferred by chimp1984.
Unconfirmed transactions will not be able to have their BSQ fees
checked so early requests for validation will skip the fee check.
This is not a problem since maker fee validation is done by the
taker and in the majority of cases will be already confirmed; taker
fee validation is done after the first confirm at trade step 2.
2022-11-29 18:16:21 -06:00
Alejandro García
397ec38c25
Merge pull request #6424 from Android-X13/speed-up-scrolling
...
Increase mouse-wheel vertical scrolling speed in ScrollPane
2022-11-29 20:33:10 +02:00
Android-X13
53c0f0b766
Speed up vertical scrolling
...
Signed-off-by: Android-X13 <76814540+Android-X13@users.noreply.github.com>
2022-11-29 19:38:03 +02:00
jmacxx
c796531658
Increase trading limits as an opt-in setting (GH proposal 398)
...
More restrictive limits will still apply based on payment method.
It is intended to avoid that a new users who do not fully understand
the process of a Bisq trade to cause an arbitration case with high
amounts and therefore higher risks and costs for the DAO.
2022-11-29 09:32:38 -06:00
Alejandro García
32cab05121
Merge pull request #6421 from Android-X13/fix-overlay-centering
...
Fix horizontal centering of overlays on Windows
2022-11-29 14:43:59 +02:00
Alejandro García
3160342e59
Merge pull request #6416 from Android-X13/fix-issue-5919
...
Don't ask for SEPA Instant payment when buyer has SEPA account
2022-11-29 14:42:53 +02:00
Alejandro García
8d2f0a5d12
Merge pull request #6383 from Android-X13/option_for_qr_codes
...
Include option for non-URI addresses in QR codes
2022-11-29 14:42:05 +02:00
Alejandro García
e054083c1f
Merge pull request #6376 from jmacxx/fix_issue_6367
...
Fix loss of mailbox messages during SPV resync
2022-11-29 14:41:27 +02:00
jmacxx
8a94642e1a
Do not erase mailbox messages during SPV resync.
2022-11-25 21:13:09 -06:00
Alejandro García
8c882a77d9
Merge pull request #6411 from jmacxx/arbitrator_security_deposit_payout_change
...
Do not pay out the security deposit of the trade peer to the arbitration case winner
2022-11-26 03:00:56 +02:00
Alejandro García
80a927afb9
Merge pull request #6404 from HenrikJannsen/improve-dispute-validation
...
Improve dispute validation
2022-11-25 17:37:44 +02:00
Alejandro García
bb428d8d0e
Merge pull request #6388 from jmacxx/refactor_support_tool
...
Refactor the Support Tool UI
2022-11-25 17:33:53 +02:00
Alejandro García
78bd0ce688
Merge pull request #6381 from jmacxx/fix_issue_6379
...
Fix NPE when dust tx is shown
2022-11-25 17:33:07 +02:00
Android-X13
d77b76034d
Include option for non-URI addresses in QR codes
2022-11-22 23:11:45 +02:00
Android-X13
f0c353cdf6
Fix overlay centering
2022-11-21 15:16:39 +02:00
Android-X13
d4a01491a3
Request correct payment method for SEPA/SEPA Instant trades
2022-11-17 18:56:04 +02:00
Bisq GitHub Admin
60522218a7
Merge pull request #6412 from bisq-network/release/v1.9.6
...
Merge release branch
2022-11-15 21:03:40 +01:00
Christoph Atteneder
900fa47138
Revert to SNAPSHOT version
2022-11-13 10:48:44 +01:00
jmacxx
66a7a6569d
Change arbitration payout to implement proposal 386...
...
Do not pay out the security deposit of the trade peer to the
arbitration case winner.
Amounts are filled out based on which option the
Arbitrator chooses:
If BTC buyer is selected as case winner they will get
trade amount + buyer security deposit.
If BTC seller is selected as case winner they will get
trade amount + seller security deposit.
If custom payout is selected arbitrator can specify
custom amounts as they wish.
2022-11-12 21:52:13 -06:00
sqrrm
3dd9b0e575
Merge pull request #6403 from HenrikJannsen/disable-deactivation-of-dao
...
Require the DAO is enabled for traders
2022-11-04 11:44:26 +01:00
HenrikJannsen
b8637d067c
Move requestingTxsPopup.hide() before if/else case
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 17:16:13 -05:00
HenrikJannsen
8d0b0be505
Fix wrong rowSpan values (was bug in current version)
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:19:30 -05:00
HenrikJannsen
b5df4afd40
Remove DevEnv.isDaoActivated method as not used anymore
...
Remove daoActivatedToggleButton from PreferencesView and NewsView
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:16:10 -05:00
HenrikJannsen
114bda22cd
Remove DevEnv.isDaoActivated()
from combined if statements with &&
as isDaoActivated is always true
...
In case of a `||` the statement gets removed as it always is true.
At getUserPaymentAccounts we refactor further the steam to a HashSet constructor operation as the filter method gets removed.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:04:36 -05:00
HenrikJannsen
e8a9132d30
Remove if blocks with !DevEnv.isDaoActivated()
and combined &&
as isDaoActivated is always true the whole statement is always false
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:00:23 -05:00
HenrikJannsen
80e7dc7203
Remove tertiary operator DevEnv.isDaoActivated() ?
as isDaoActivated is always true
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 11:00:22 -05:00
HenrikJannsen
3e99a110d7
Remove if (!DevEnv.isDaoActivated())
checks as !isDaoActivated is always false
2022-11-03 11:00:22 -05:00
HenrikJannsen
72d97b8d97
Remove if (DevEnv.isDaoActivated())
checks as isDaoActivated is always true
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 10:51:01 -05:00
HenrikJannsen
c49b811da3
Add verification of chain of transactions at DisputeSummaryWindow
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 23:24:05 -05:00
HenrikJannsen
97648c51f3
Rename to make use case more clear
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:49:57 -05:00
HenrikJannsen
710dba9f36
Remove validateDonationAddress method without dispute param
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:47:39 -05:00
HenrikJannsen
e8c6b0ae14
Remove daoFacade as unused parameter
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:32:28 -05:00
HenrikJannsen
e49e634956
Move testIfAnyDisputeTriedReplay and related methods to DisputeValidation
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:14:55 -05:00
HenrikJannsen
37457ed132
Move validateDonationAddress to DisputeValidation
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:12:55 -05:00
HenrikJannsen
aa22bd366a
Add DisputeValidation class for validation methods and exceptions of the dispute domain.
...
Move AddressException, NodeAddressException and DisputeReplayException to DisputeValidation.
Use DisputeValidation.ValidationException as type for DisputeManager.validationExceptions.
Remove Nullable annotation for dispute field in those exceptions.
Remove null checks when those DisputeValidation.ValidationException are used.
2022-11-02 22:09:30 -05:00
jmacxx
5caa401999
Refactor the Support Tool UI.
...
This is the tool used for Manual Payouts and message sign/verify.
Replaces the monolithic code with a class for each tab in the UI.
This refactoring was necessary in preparation for adding a new tab.
2022-10-23 23:46:50 -05:00
Christoph Atteneder
e84c94f2b7
Resize action column if it contains own offers
2022-10-20 11:02:04 +02:00
Christoph Atteneder
ace27cf65c
Resize action column if it contains own offers
2022-10-19 13:25:28 +02:00
jmacxx
38a4d1b6f2
Fix NPE when dust tx is shown.
2022-10-17 07:58:30 -05:00
Christoph Atteneder
3580b648c8
Bump version number for v1.9.6
2022-10-13 09:54:32 +02:00
Christoph Atteneder
060246651a
Merge pull request #6374 from jmacxx/change_buy_sell_button_text
...
Reduce width of Buy/Sell offerbook button
2022-10-13 09:50:55 +02:00
jmacxx
b35e316cdc
Warn at shutdown if Dispute message is pending.
2022-10-11 17:54:07 -05:00
jmacxx
df2630b379
Reduce minWidth of Buy/Sell offerbook button.
2022-10-11 09:56:19 -05:00
Christoph Atteneder
b29b054469
Merge pull request #6296 from jmacxx/change_buy_sell_button_text
...
Clarify wording on buy/sell offerbook button
2022-10-06 09:48:19 +02:00
Christoph Atteneder
4a7b76916c
Merge pull request #6337 from jmacxx/bsq_supply_stats_fixes
...
Fix bugs in BSQ Supply screen
2022-10-06 09:44:06 +02:00
jmacxx
b5dc6a4e45
Misc burn chart series CSS color settings and tooltip description.
2022-10-05 07:11:40 -05:00
jmacxx
8b92b2cdf5
UI Changes for BSQ Supply screen.
...
Adds ability to track Misc Burnt amounts (incl. voting, asset listing etc)
Corrects the descriptions for Total BSQ and Change in supply.
2022-10-05 07:11:36 -05:00
jmacxx
f0af8a516e
Fix Total BSQ Supply and Change of BSQ Supply calculations.
...
Total BSQ Supply needs to be cumulative from genesis to datapoint.
Change of BSQ Supply needs to handle situations where there is no
issuange to offset a burn. There was a bug in the use of
getMergedMap(a - b) which would result in a burn being counted as
an issuance in that case. Solved by making burns negative and using
Long::sum instead of a - b.
2022-10-05 07:11:29 -05:00
jmacxx
f3e53d43f6
Historical dataset for BSQ Supply page only relevant for mainnet.
2022-10-05 07:11:26 -05:00
jmacxx
eacef13b5a
Fix date range filter in BSQ Supply screen.
2022-10-05 07:11:17 -05:00
jmacxx
12014bb9fd
Clarify wording on buy/sell offerbook button.
2022-10-05 07:05:26 -05:00
jmacxx
b67b2eb11d
Offers from a banned node should not be displayed.
2022-10-04 20:34:16 -05:00
Christoph Atteneder
75e030f541
Merge pull request #6362 from jmacxx/dispute_min_payout
...
Set the minimum payout at mediation to be 2.5% of trade amount
2022-10-04 09:12:38 +02:00
Christoph Atteneder
5d06b512da
Merge pull request #6348 from Android-X13/update-peer-tags
...
Refresh all avatars upon setting a peer's tag
2022-09-21 21:20:57 +02:00
Android-X13
1bbe90a5a2
Use custom map listening for tag change events
2022-09-21 12:11:09 +03:00
Android-X13
73bb97d2dd
Include ability to refresh all tags in Portfolio
2022-09-21 12:11:08 +03:00
Android-X13
1e82070e74
Handle avatar map better
2022-09-21 12:11:07 +03:00
Android-X13
76d85b1940
Refresh all avatars upon setting a tag
2022-09-21 12:10:58 +03:00
Christoph Atteneder
3cc1517606
Merge pull request #6352 from Android-X13/npe-open-proposals
...
Prevent NPE in Open Proposals when last column is empty
2022-09-21 10:10:44 +02:00
Christoph Atteneder
dc5802930f
Merge pull request #6324 from xyzmaker123/dao-governance-fix-menu-button
...
Updating DAO->Governance menu to indicate vote possible
2022-09-21 10:10:20 +02:00
jmacxx
11e4469b0e
Set the minimum payout at mediation to be 2.5% of trade amount.
...
If 2.5% is less than 0.0005 BTC, then fall back to 0.0005 BTC.
2022-09-18 21:51:24 -05:00
Christoph Atteneder
dc1c014310
Not use platform specific binary signing and notarization
2022-09-15 09:41:15 +02:00
Christoph Atteneder
44af373570
Merge pull request #6345 from Android-X13/fix-npe-in-offerbook
...
Prevent NPE when editing offer while not fully connected
2022-09-09 10:18:00 +02:00
Christoph Atteneder
328d7c12a1
Revert to SNAPSHOT version
2022-09-09 09:56:19 +02:00
Android-X13
741a3d16bd
Fix NPE in Open Proposals when last column is empty
2022-09-08 14:22:31 +03:00
Android-X13
e5f702c842
Fix NPE when editing offer while not yet connected
2022-09-02 14:48:30 +03:00
Christoph Atteneder
15aaa77b91
Bump version number for v1.9.5
2022-08-21 21:32:26 +02:00
Christoph Atteneder
aa1891a062
Merge pull request #6314 from xyzmaker123/5278-ability-to-copy-links
...
Possibility to copy addresses / transaction ids
2022-08-20 21:48:40 +02:00
Christoph Atteneder
5b5d09db8d
Merge pull request #6316 from xyzmaker123/dont-use-all-utxos
...
Send funds - don't use all available funds by default
2022-08-20 21:47:50 +02:00
xyzmaker123
d6f195e4db
Replace "copy" with "copy to clipboard"
2022-08-19 14:15:52 +02:00
Christoph Atteneder
8929567725
Merge pull request #6330 from jmacxx/network_status_indicator
...
Feature: P2P network status indicator
2022-08-19 11:16:30 +02:00
Christoph Atteneder
4ced5d593c
Merge pull request #6329 from jmacxx/prevent_trade_actions_no_network
...
Prevent UI trading actions when there are no P2P connections
2022-08-19 10:59:29 +02:00
jmacxx
ac04c97219
Prevent UI trading actions when there are no P2P connections.
2022-08-18 10:50:27 -05:00
jmacxx
8e21682e92
Add P2P network status indicator.
2022-08-18 10:46:39 -05:00
xyzmaker123
d84b472307
Possibility to copy addresses / transaction ids
2022-08-17 13:49:48 +02:00
Christoph Atteneder
706e6b3942
Merge pull request #6302 from xyzmaker123/6301-reset-trigger-price
...
Reset trigger price after switch to fixed price (edit offer)
2022-08-17 13:33:23 +02:00
Christoph Atteneder
ad921294d2
Merge pull request #6307 from Android-X13/fix-issue-6263
...
Fix/improve clickable areas of toggle buttons
2022-08-17 13:32:58 +02:00
Christoph Atteneder
01ba30abc3
Merge pull request #6309 from Android-X13/peer-info-window
...
Show Peer Info window only when left-clicking on avatar
2022-08-17 13:31:53 +02:00
Christoph Atteneder
17ca74d0a9
Merge pull request #6319 from Android-X13/blockchain-url-usage
...
Cleanup blockchain explorer URL code & add tests
2022-08-17 13:26:43 +02:00
xyzmaker123
e3ccb3c895
Updating DAO->Governance menu to indicate vote possible
2022-08-15 11:32:22 +02:00
Android-X13
402eb99404
Fix clickable area of toggle buttons
2022-08-15 04:18:41 +03:00
Android-X13
d11d74332e
Cleanup - update names of ordered tasks in DaoChartView
2022-08-14 20:42:35 +03:00
Android-X13
2dcb77c009
Fix NPE when accessing BSQ SUPPLY
2022-08-14 20:36:03 +03:00
Android-X13
582e1771e5
Remove boolean parameter from GUIUtil block explorer methods
2022-08-12 16:49:52 +03:00
Android-X13
e42d5543df
Add curly braces to conditional statements
2022-08-12 14:50:23 +03:00
Android-X13
9ee3d34aa9
Add tests for blockchain URLs
2022-08-10 20:10:36 +03:00
Android-X13
4ae5d55000
Standardize blockchain explorer URL usage
2022-08-10 18:53:30 +03:00
xyzmaker123
98ca3d3cac
Send funds - don't use all available funds by default
2022-08-09 13:46:00 +02:00
Christoph Atteneder
07168a3fc7
Merge pull request #6311 from jmacxx/fix_qrcode_copypaste
...
Fix ability to copypaste QR code URL
2022-08-07 21:35:38 +02:00
Christoph Atteneder
ffcd96673e
Merge pull request #6306 from chimp1984/update_dao_node
...
Update dao node
2022-08-07 20:40:26 +02:00
Christoph Atteneder
b346a5bcc0
Merge pull request #6303 from jmacxx/resend_dispute_signature
...
Allow mediated payout signature message to be re-sent
2022-08-07 20:37:03 +02:00
jmacxx
50dc05c551
Fix ability to copypaste QR code URL.
2022-08-05 13:06:58 -05:00
Android-X13
7ca21b6ee6
Show Peer Info window only when left-clicking on avatar
2022-08-03 15:44:56 +03:00
Android-X13
1cb59ef2df
Fix clickable area of Enable Offers toggle button
2022-08-01 02:41:10 +03:00
chimp1984
ef81bde7f2
Add export feature for signed account age witness
2022-07-31 14:40:18 +02:00
jmacxx
c528934eb3
Allow dispute signature message to be re-sent.
2022-07-28 11:43:28 -05:00
xyzmaker123
c1ed35f8f0
Reset trigger price after switch to fixed price (edit offer)
2022-07-28 09:51:25 +02:00
chimp1984
2b6dd187c6
Add export feature for account age
2022-07-25 20:50:43 +02:00
chimp1984
2628eea9db
Add bsq bonds
2022-07-25 00:12:13 +02:00
ghubstan
d139d85ddd
Set desktop version property in resources file
...
Several repos are to be extracted from the main bisq repo, and their
distribution versions need to match the bisq desktop's version.
This change moves the desktop version property definition to a file
that can be read from Gradle builds having the bisq git submodule dependency,
i.e., version = file("bisq/desktop/src/main/resources/version.txt").text.trim()
Based on `master`.
2022-07-19 14:28:08 -03:00
Christoph Atteneder
4b24d209af
Merge pull request #6289 from jmacxx/fix_npe_payment_method_form
...
Fix NPE in account name creation
2022-07-12 09:51:04 +02:00
jmacxx
4351c20414
Fix NPE in account name creation.
2022-07-10 11:48:14 -05:00
Christoph Atteneder
da8cbabe3e
Revert to SNAPSHOT version
2022-07-08 21:30:04 +02:00
Christoph Atteneder
efe306aae6
Bump version number for v1.9.4
2022-07-04 09:52:27 +02:00
jmacxx
70b8666903
Increase width to fix truncation in displayed URL.
2022-06-30 20:22:34 +02:00
Christoph Atteneder
d627c8fa28
Merge pull request #6271 from jmacxx/xmr_subaddresses
...
Increase width to fix truncation in displayed URL.
2022-06-30 20:22:20 +02:00
chimp1984
b515ec7342
Update text and default series
2022-06-30 20:20:02 +02:00
chimp1984
70e2f7c53b
Add supply change series.
...
Remove BsqSupplyChange. Use existing methods for supply calculation
(existing method was incorrect as far I understand).
2022-06-30 20:19:52 +02:00
chimp1984
e08f7b6c09
Add new series. Regroup series. Add tooltips.
2022-06-30 20:19:38 +02:00
jmacxx
a5ba349574
Clear Tor directory when a new release is downloaded.
2022-06-30 20:19:25 +02:00
Christoph Atteneder
9b2c4807bf
Merge pull request #6274 from chimp1984/improve-dao-chats-legends
...
Improve dao chats legends
2022-06-30 20:17:04 +02:00
jmacxx
e1bc92eee5
Clear Tor directory when a new release is downloaded.
2022-06-30 07:04:17 -05:00