Commit graph

1020 commits

Author SHA1 Message Date
Manfred Karrer
54e39c3067
Remove dev button, add "trade instant" checkbox 2019-03-03 02:09:52 -05:00
Manfred Karrer
11adc99f3c
Use super classes for cryptCurrencyAccount and payload 2019-03-03 01:31:26 -05:00
Manfred Karrer
6c11fc18c7
Add altcoin payment method for live trading
- Add LiveAsset account, payment method, AccountPayload
- Extract super classes for normal CryptoCurrenyAccount and payload and
LiveAssetAccount and payload
- Add isAsset method
- Add button for creating a live asset account

As it is a bit tricky to use the AccountForm for both methods and add a
checkbox there so defined which payment method to use I added a button
to add an AccountForm with the LiveAssets passed. This is just
temporary to be able to test a bit more and see if there are any
critical issues. We should unify that form but that might require a bit
of refactoring of the CryptoCurrencyForm.
2019-03-03 01:12:54 -05:00
Manfred Karrer
d600ff4dfb
Merge pull request #2487 from devinbileck/update-bond-lockup-prompt
Update bond lockup prompt
2019-03-02 11:55:09 -05:00
Manfred Karrer
e62557c759
Merge branch 'master' into allow-spending-unconfirmed-bsq-utxs 2019-03-02 01:45:32 -05:00
Devin Bileck
5293b4a494
Update bond lockup prompt
- Changed display string from "lockup time" to "unlock time"
otherwise it may be confused with how long it takes to lock
up the bond.
- Included estimated time duration (e.g. days) for the unlock time.
2019-03-01 16:37:02 -08:00
Manfred Karrer
79865eb839
Merge pull request #2471 from ripcurlx/update-installer-background
Combine and update installer background
2019-03-01 17:55:09 -05:00
Manfred Karrer
03d0a22580
Allow spending of unconfirmed BSQ change outputs
When creating a BSQ transaction (actually at commit time as we can create a tx and then
cancel it in the confirmation popup) we store the change output (only that not the other
possible BSQ output) in a persisted list. The BsqCoinSelector will take that list to
allow spending those coins. We use the txType to find the index of the cahnge output.
We only have one change output in the transactions created in Bisq. Multiple change
outputs would be valid but our goal is only increased usability in the Bisq app and it is
not related to validation rules.

We update out list at each new block confirmation.

With that approach we avoid too much dependencies to the BitcoinJ side.

- Add UnconfirmedBsqChangeOutputListService and persisted UnconfirmedBsqChangeOutputList
for storing unconfirmed outputs
- Add lookup for unconfirmed BSQ change outputs at BsqCoinSelector and allow spending if
found
- Pass TxType for walletsManager.publishAndCommitBsqTx calls
- Add TxType to bsqWalletService.commitTx
- Refactor getPreparedSendTx methods for BSQ and BTC sending to one common method with a
coinselector parameter.
- Add getChangeAddress method to BsqWalletService to make change outputs more explicit
- Add unconfirmedChangeBalance to onUpdateBalances handlers
- Rename availableBalance to availableConfirmedBalance in onUpdateBalances
- Unify onUpdateBalances parameter names
2019-02-28 23:22:43 -05:00
Devin Bileck
1d55d06fce
Show valuation in BTC balance tooltips
When hovering over the available, reserved, and locked BTC balances
in the main view, show the market price valuation based on your
preferred currency.

Fixes https://github.com/bisq-network/bisq/issues/1770
2019-02-28 16:46:52 -08:00
Oscar Guindzberg
3476765a90 Use Transaction.getIncludedInBestChainAt() 2019-02-28 15:20:41 -03:00
Christoph Atteneder
b4c248426b
Combine and update installer background
tiffutil -cathidpicheck Bisq-background.png Bisq-background@2x.png -out Bisq-background.tiff
Afterwards rename tiff into png to trick the javapackager installer
2019-02-26 15:43:29 +01:00
Manfred Karrer
341b718026
Merge pull request #2467 from devinbileck/bugfix-1996
Fix Windows system tray icon resolution
2019-02-26 09:30:49 -05:00
Devin Bileck
812a4bdfd2
Fix Windows system tray icon resolution
For high resolution, using auto sizing provides better results.

Fixes https://github.com/bisq-network/bisq/issues/1996
2019-02-25 23:42:00 -08:00
Manfred Karrer
e52ac9dca3
Fix incorrect available balance for voting
- Subtract vote fee from available wallet balance
- Add log for errors
- Update view in error case
2019-02-24 14:23:19 -05:00
Manfred Karrer
e369c76d28
Merge pull request #2444 from devinbileck/github-redirects
Use URL redirects to GitHub content
2019-02-24 11:07:56 -05:00
Devin Bileck
90d8b4b545
Handle IllegalArgumentException in multi-screen environment
When the application window is being created, it checks what the
maximum bounds for a window is in order to set the window size.
However, multi-screen environments may encounter an
IllegalArgumentException (Window must not be zero).

Just ignore the exception and continue, which means the window will
use the minimum window size since we are unable to determine if we can
use a larger size.

Fixes https://github.com/bisq-network/bisq/issues/2452
2019-02-23 23:20:59 -08:00
Christoph Atteneder
25498a9e1a
Revert to SNAPSHOT release 2019-02-21 23:16:23 +01:00
Christoph Atteneder
985ffeb879
Add rpm support 2019-02-21 22:34:50 +01:00
Christoph Atteneder
d31173bc4f
Update version number for v0.9.4 2019-02-21 22:34:36 +01:00
Manfred Karrer
c3e30d6f99
Dont use referrer url for block explorer calls 2019-02-21 16:31:02 -05:00
Manfred Karrer
f2e9e1e887
Dont use referrer url for block explorer calls 2019-02-21 16:21:38 -05:00
Manfred Karrer
23589c207e
Merge pull request #2455 from ManfredKarrer/dao-deactivate-localhost-for-dao-testnet
Dao deactivate localhost for dao testnet
2019-02-21 13:39:24 -05:00
Manfred Karrer
64fd8d9bc8
Remove testnet from network combobox 2019-02-21 12:00:02 -05:00
Christoph Atteneder
68671a362d
Merge pull request #2453 from ripcurlx/fix-rpm-build
Fix issues with rpm build
2019-02-21 17:10:28 +01:00
Christoph Atteneder
5c1da7dc8f
Fix wrong variable and clean up task that doesn't work on Ubuntu 2019-02-21 16:14:04 +01:00
Christoph Atteneder
8b5454ff3d
Only exit script if no javapackager exists for configured JDK 2019-02-21 16:13:19 +01:00
Manfred Karrer
9aa58a9e19
Merge pull request #2431 from devinbileck/download-rpm-package
Download rpm package on RedHat-based Linux
2019-02-21 09:04:25 -05:00
Christoph Atteneder
bde720f4d4
Merge pull request #2450 from devinbileck/bsq-marketcap-preferred-currency
Display BSQ marketcap using preferred currency
2019-02-21 14:09:52 +01:00
Manfred Karrer
d47fec2620
Merge pull request #2447 from ManfredKarrer/dao-serverside-regtest
Dao serverside regtest
2019-02-21 07:32:40 -05:00
Devin Bileck
c9f02504ce
Display BSQ marketcap using preferred currency
In the BSQ dashboard view, the market capitalisation is shown in USD.
Instead, use the user's preferred currency.
2019-02-21 00:23:59 -08:00
Devin Bileck
a09e4c8d84
Update AppUpdatesURL in Bisq.iss 2019-02-20 22:57:16 -08:00
Manfred Karrer
0800301539
Use REGTEST as network for BTC_DAO_TESTNET
- As teh network is used for filtering asset types BSQ has 3 asset
types, one per network we need to use REGTEST as network. The methods
for checking which BaseCurrencyNetwork are using name() now instead of
network as we have 2 times REGTEST.

- Fix bug with not calling showFeeInfoAndPublishMyProposal for bonded
role proposals.
2019-02-20 21:49:05 -05:00
Manfred Karrer
a24cf065cb
Remove unused SelectBaseCurrencyWindow 2019-02-20 21:19:29 -05:00
Manfred Karrer
b9c15f477d
Use display string for enum 2019-02-20 20:13:11 -05:00
Devin Bileck
e8d4ed2670
Use URL redirects to GitHub content
URL redirects for downloads, source code, roles; all of which currently
go to GitHub.

See bisq-network/bisq#2429
2019-02-20 14:49:57 -08:00
Christoph Atteneder
1f87278873
Add script for adding SNAPSHOT information after release 2019-02-20 17:47:40 +01:00
Christoph Atteneder
57c8e9006a
Add script for renaming version numbers for a new release 2019-02-20 17:47:10 +01:00
Manfred Karrer
7dbc135b1f
Add DAO_TESTNET_GENESIS_TX_ID
- Set BTC_DAO_TESTNET as last enum to not break existing regtest port
convention which is derived from enum order
- Remove BaseCurrencyNetwork.isBitcoin as always true
-
2019-02-19 16:21:32 -05:00
Manfred Karrer
0acbff6e60
Add DAO_TESTNET baseCurrencyNetwork enum 2019-02-19 15:18:04 -05:00
Christoph Atteneder
4690bda1fe
Improve payout layout for arbitration 2019-02-18 18:50:43 +01:00
Devin Bileck
082ef6684e
Download rpm package on RedHat-based Linux
Currently, the download update task will download the deb package for
any Linux distribution. Not only is this incorrect, but now that we are
able to provide an rpm package (see #2200), the download update task
needs to be able to differentiate Linux distributions and provide
the appropriate package.

The download update task will now differentiate between Debian and
RedHat based distributions (the two distributions for which we have an
install package) and download the appropriate package.

In addition, the isSupportedOS method was changed to exclusively check
for Debian and RedHat based distributions, as opposed to just Linux in
general. This means that any other distribution will encounter the
following error, which seems appropriate:

> Unable to determine the correct installer. Please download and verify
manually at https://bisq.network/downloads
2019-02-17 12:59:20 -08:00
Manfred Karrer
edb050a087
Merge pull request #2428 from ManfredKarrer/add-more-info-at-dispute-system-msg
Add more instructions at dispute system message
2019-02-16 19:32:02 -05:00
Manfred Karrer
94e702f165
Improve text. Use link to docs 2019-02-16 19:02:48 -05:00
Christoph Atteneder
9edd4cfe68
Merge pull request #2424 from ManfredKarrer/fix-spv-restore-issue
Fix incorrect progress listener for spv file resync
2019-02-16 16:53:03 +01:00
Christoph Atteneder
7738b914d8
Merge pull request #2426 from ManfredKarrer/remove-email-from-revolut-form
Remove email for Revolut accounts
2019-02-16 16:50:33 +01:00
Manfred Karrer
2daa4aa41b
Add more instructions at dispute system message
- Use redirect link for arbitr. doc
2019-02-15 19:03:53 -05:00
Manfred Karrer
6589d6ed8e
Add link for requestNowButton. Use redirect URL 2019-02-15 18:00:09 -05:00
Manfred Karrer
27c412c544
Add link for requestNowButton. Use redirect URL 2019-02-15 16:23:30 -05:00
Manfred Karrer
7bdd15bfbe
Fix incorrect progress listener for spv file resync
- Rename model.getBtcSyncProgress() to model.getCombinedSyncProgress()
to reflect correct property
- Use bisqSetup.getBtcSyncProgress() instead of
getCombinedSyncProgress() in showFirstPopupIfResyncSPVRequested as we
need to listen to btc progress only not DAO progress.
2019-02-15 14:06:24 -05:00
Christoph Atteneder
e5dd9a2187
Merge pull request #2413 from ManfredKarrer/increase-trade-limits
Increase trade limit. Make trade limit a DAO parameter
2019-02-15 11:15:02 +01:00