HenrikJannsen
81be778df3
Remove deposit tx output size check.
...
It is allowed that there are change outputs, for instance if taker
does not take full trade amount, there is a change output for maker.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 14:14:32 -05:00
HenrikJannsen
cba35b6342
Remove deposit tx output size check.
...
It is allowed that there are change outputs, for instance if taker
does not take full trade amount, there is a change output for maker.
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-03 12:21:47 -05:00
HenrikJannsen
8d8cdc14b4
Cleanup
2022-11-03 12:12:02 -05:00
HenrikJannsen
14312f08af
Add validateDisputeData, validateTradeAndDispute and validateSenderNodeAddress methods
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 23:59:12 -05:00
HenrikJannsen
04e501d450
We had not updated the contract hash after setting the signature.
...
We verify later the contract hash in disputes and that would fail otherwise.
2022-11-02 23:56:25 -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
60cd8b1e16
Add requestBlockchainTransactions and verifyTradeTxChain methods to RefundManager
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 23:15:41 -05:00
HenrikJannsen
0553a0f9d4
Add cachedDepositTx field to Dispute
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 23:15:11 -05:00
HenrikJannsen
0388c7c88a
Add block explorer tx as hex request using completeable future api
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 23:03:55 -05:00
HenrikJannsen
7f5675f054
Remove if case for old clients
...
Remove null check for dispute
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:51:39 -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
0bf44f061d
Remove addressAsString null check. That was when the donationAddress got added to support not updated nodes. Now there are none of such nodes.
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:48:55 -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
5daaa60779
Refactor validateDonationAddress
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:44:58 -05:00
HenrikJannsen
3007652f4a
Remove dispute field from TradeDataValidation.ValidationException
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:41:46 -05:00
HenrikJannsen
cfb3780e6b
Move null check for address to validateDonationAddress method
...
Remove dispute as unused param
Remove redundant methods
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:39:56 -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
cfc67dcc9c
Move validateDonationAddress to DisputeValidation
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:29:59 -05:00
HenrikJannsen
d86071db4a
Remove validateDonationAddress call inside validateDelayedPayoutTx.
...
Add call to validateDonationAddress at client calling validateDelayedPayoutTx
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:28:41 -05:00
HenrikJannsen
2484fa4371
Part of a multistep refactoring to separate dispute related validation out of TradeDataValidation
...
Refactor donationAddress validation out to new method
Rename addressAsString to delayedPayoutTxOutputAddressAsString
Recreate delayedPayoutTxOutputAddress at new validateDonationAddress method from relevant data
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:25:11 -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
12686deff6
Move validateNodeAddress to DisputeValidation
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 22:11:23 -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
HenrikJannsen
d7deb169a1
Add /.run
to gitignore
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 21:23:59 -05:00
HenrikJannsen
43fb0cc635
Reformat code and reorg imports
...
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
2022-11-02 21:22:35 -05:00
Bisq GitHub Admin
cc8fe09d87
Merge pull request #6384 from ripcurlx/resize-column-if-has-own-offers
...
[v1.9.6] Resize action column if it contains own offers
2022-10-20 11:01:43 +02:00
Christoph Atteneder
ace27cf65c
Resize action column if it contains own offers
2022-10-19 13:25:28 +02:00
Bisq GitHub Admin
f2a1aaeee0
Merge pull request #6378 from ripcurlx/update-verification-metadata
...
Update missing hashes for tor 0.7.5 update
2022-10-18 20:33:57 +02:00
Christoph Atteneder
24fe4a0495
Update missing hashes for tor 0.7.5 update
2022-10-17 11:14: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
Christoph Atteneder
14428a91fb
Merge pull request #6375 from jmacxx/fix_issue_6370
...
Warn at shutdown if Dispute message is pending
2022-10-13 09:32:15 +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
Bisq GitHub Admin
f7f78a1624
Merge pull request #6368 from ripcurlx/upgrade-tor-v0.4.7.10
...
Update tor-browser to v11.5.2 / tor-binary to v0.4.7.10
2022-10-11 09:22:58 +02:00
Christoph Atteneder
0468526843
Merge pull request #6373 from bisq-network/dependabot/github_actions/actions/checkout-3.1.0
...
Bump actions/checkout from 3.0.2 to 3.1.0
2022-10-11 09:21:46 +02:00
dependabot[bot]
55240484dc
Bump actions/checkout from 3.0.2 to 3.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](2541b1294d...93ea575cb5
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 15:16:35 +00: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
Christoph Atteneder
3fc43a8455
Merge pull request #6369 from jmacxx/hide_offers_banned_node
...
Offers from a banned node should not be displayed
2022-10-05 10:19:44 +02:00
jmacxx
b67b2eb11d
Offers from a banned node should not be displayed.
2022-10-04 20:34:16 -05:00
Christoph Atteneder
40410daef4
Update tor-browser to v11.5.2 / tor-binary to v0.4.7.10
2022-10-04 12:10:51 +02: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
d061944b1c
Merge pull request #6364 from Emzy/master
...
Remove c4talys7 seednodes and readd wiz seednodes
2022-10-04 09:07:03 +02:00