Commit graph

13342 commits

Author SHA1 Message Date
sqrrm
24102556e0
Merge pull request #4769 from ripcurlx/update-release-process
Update release process to match new trade statistics delivery
2020-11-11 12:39:41 +01:00
Christoph Atteneder
c707e63f35
Merge pull request #4781 from chimp1984/use-30-day-average-for-marektcap
Use 30 days average USD/BSQ price for market cap
2020-11-11 11:10:54 +01:00
Christoph Atteneder
b5eacdb1eb
Merge pull request #4779 from chimp1984/fix-incorrect-bsq-address-handling
Fix incorrect bsq address handling
2020-11-11 11:02:49 +01:00
Christoph Atteneder
7701ad35d3
Update release process to match new trade statistics delivery
Also did some minor release process cleanup that was overdue
2020-11-11 10:55:00 +01:00
Christoph Atteneder
0c47cf0e20
Merge pull request #4764 from jmacxx/fix_issue_4727
Don't allow trade start if BitcoinJ is not fully synced
2020-11-11 10:44:07 +01:00
jmacxx
48a515be01
Add encrypted wallet password prompt when sending funds from BSQ wallet
Correct wording of transaction confirmation popup to use 'mining fee'
instead of 'transaction fee' to make it consistent with wording of
the BTC confirmation popup.
2020-11-10 20:14:44 -06:00
chimp1984
9135397ded
Use 30 days average USD/BSQ price for market cap 2020-11-10 20:51:13 -05:00
Deus Max
c9936c5595
Improve view of market offers chart
* Both axes use autoRange, which results in better
    rounded values for the tick mark labels numbers.
  * Filter-out data outside the factor limits.
  * New constant chartDataFactor for factor limits.
  * Formatted tick label currency numbers:
    - Fiat: display with grouping separators
    - Cryptos: remove trailing zeros in fractional parts
  * Add CSS class axisy for y-axis formatting.
2020-11-10 22:27:04 +02:00
jmacxx
0ddd333ce6
Don't allow trade start if BitcoinJ is not fully synced
Adds a check that chain height is within 3 blocks of the reported
height from bitcoin peers -> if not the user cannot take an offer
or have an existing offer taken.  It shows a message informing the
user that Bisq is not currently synced, advising them to do an
SPV resync if necessary.

Additionally under Settings/Network a field has been added
to show the chain height of Bisq vs the Peer group.

Added after discussion with chimp1984:
- Correct initialization of chainHeight property
- Rename "Latest BTC block height" display field for clarity
- Enforce chain sync rule for Take Offer scenario
- Enforce chain synch rule for Check offer availability scenario
- change method name to be clearer
2020-11-10 14:15:39 -06:00
chimp1984
b5f88c4932
Check if output is a legacy address.
Remove `sendToAddress != null` check.
2020-11-10 11:11:42 -05:00
chimp1984
7c65000ff2
Cleanups, add null check 2020-11-10 10:16:48 -05:00
Christoph Atteneder
f6a2f3d6e1
Merge pull request #4761 from deusmax/trading_charts_axisY
Apply format to trading charts axis Y values
2020-11-10 08:45:33 +01:00
jmacxx
bdf10b55a8
Resolve merge conflict in core/src/main/java/bisq/core/app/WalletAppSetup.java 2020-11-09 11:45:38 +01:00
Christoph Atteneder
0345c795e2
Merge pull request #4767 from jmacxx/fix_issue_4765
Remove default fee rate from Bisq startup screen
2020-11-09 10:00:25 +01:00
wiz
3007dcce9b
Remove test cases for HitBTC pricenode data provider class 2020-11-09 09:31:07 +01:00
wiz
c0108f3089
Remove HitBTC as a pricenode data provider
Recently, some Monero traders were complaining the XMR/BTC price on the
Bisq Price Index was off from most exchanges. Indeed, it seems HitBTC is
trading at a -10% divergence for some reason, I guess they have low
liquidity or some other reason, but after taking a look we are currently
using HitBTC for the following assets:

* AEON - only 2 trades ever, last traded March 2019
* EMC - never traded
* GRIN - looks like only fake trades, last traded Jan 2019
* PART - only 7 trades ever, last traded August 2020
* XRC - last traded December 2019
* XMR - obviously very important for Bisq

So I feel it's worth it to drop HitBTC as a data provider from Bisq to
make the Monero traders happy and make the Monero price more accurate.
2020-11-09 09:30:55 +01:00
chimp1984
34e79de7b3
Add new burningman address for delayed payout txs
See; https://github.com/bisq-network/roles/issues/80#issuecomment-723577776
2020-11-09 09:24:45 +01:00
Christoph Atteneder
470685b729
Merge pull request #4768 from chimp1984/add-new-birningman-address
Add new burningman address for delayed payout txs
2020-11-09 09:23:57 +01:00
Christoph Atteneder
222ee40298
Update translations for v1.5.0 and adding Czech and Italian 2020-11-09 09:18:47 +01:00
Christoph Atteneder
9caca8428f
Merge pull request #4753 from chimp1984/change-log-level
Change log level
2020-11-09 09:00:08 +01:00
chimp1984
8ab16e5e3a
Add new burningman address for delayed payout txs
See; https://github.com/bisq-network/roles/issues/80#issuecomment-723577776
2020-11-08 18:38:02 -05:00
jmacxx
8484398dee
Remove default fee rate from Bisq startup screen
The display of fee rate on the startup screen is misleading because
at startup a fee has not been received from the mempool fee service
and instead the default value of 50 sats is shown.

This change causes the fee rate not to be displayed until a response
has been received from the service.

Fixes #4765
2020-11-08 08:38:05 -06:00
sqrrm
848715c597
Merge pull request #4756 from wiz/remove-hitbtc-as-pricenode-data-provider
Remove HitBTC as a pricenode data provider
2020-11-07 22:33:02 +01:00
wiz
4959db87e3
Remove test cases for HitBTC pricenode data provider class 2020-11-06 23:47:19 +09:00
Christoph Atteneder
808b7f2b44
Merge pull request #4755 from oscarguindzberg/use-vsize
Renaming: Use transaction virtual size
2020-11-06 14:25:16 +01:00
Christoph Atteneder
325ba7ffbf
Merge pull request #4754 from oscarguindzberg/fee-estimation-fix
Complete Segwit fee estimation
2020-11-06 14:24:15 +01:00
wiz
7e7dce7407
Remove HitBTC as a pricenode data provider
Recently, some Monero traders were complaining the XMR/BTC price on the
Bisq Price Index was off from most exchanges. Indeed, it seems HitBTC is
trading at a -10% divergence for some reason, I guess they have low
liquidity or some other reason, but after taking a look we are currently
using HitBTC for the following assets:

* AEON - only 2 trades ever, last traded March 2019
* EMC - never traded
* GRIN - looks like only fake trades, last traded Jan 2019
* PART - only 7 trades ever, last traded August 2020
* XRC - last traded December 2019
* XMR - obviously very important for Bisq

So I feel it's worth it to drop HitBTC as a data provider from Bisq to
make the Monero traders happy and make the Monero price more accurate.
2020-11-06 14:23:44 +09:00
Oscar Guindzberg
c4131c7398
Rename "tx size" to "tx vsize" 2020-11-05 19:28:45 -03:00
Oscar Guindzberg
52f1d37863
Complete Use segwit tx sizes
Completes 29f23fe50c
2020-11-05 19:14:50 -03:00
chimp1984
f835396d71
Change log level 2020-11-05 15:50:02 -05:00
wiz
ae476745bd
Reduce seednode default maxconnections to 20 2020-11-05 21:30:14 +01:00
Christoph Atteneder
468ecdc2f5
Merge pull request #4751 from wiz/reduce-seednode-maxconnections-20
Reduce seednode default maxconnections to 20
2020-11-05 21:30:01 +01:00
Christoph Atteneder
93806e9c2f
Merge pull request #4710 from oscarguindzberg/fee-estimation
Segwit fee estimation
2020-11-05 21:18:54 +01:00
Christoph Atteneder
35018b082a
Merge pull request #4612 from oscarguindzberg/segwit
Segwit for the trade protocol
2020-11-05 21:18:28 +01:00
Deus Max
3743b87ac0
Remove trailing zeroes from crypto y-axis tick labels.
The y-axis tick mark labels for crypto (non-fiat)
currencies have a large number of trailing zeroes.
This commit removes the last 3 zeroes from the display.
2020-11-05 22:06:26 +02:00
Oscar Guindzberg
7740e3e56d
Fix comment 2020-11-05 11:51:44 -03:00
Oscar Guindzberg
0d59d5e872
Remove unused PAYOUT_TX_SIZE 2020-11-05 11:51:44 -03:00
Oscar Guindzberg
5f0009e1a4
Explain why legacy is used by default 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
327a358446
Split segwit from legacy inputs
Goal: Have a more accurate fee calculation
2020-11-05 11:51:43 -03:00
Oscar Guindzberg
29f23fe50c
Use segwit tx sizes 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
7a58bfbafa
Use SegwitAddress for fee estimation 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
b2023e2366
Use tx.getVsize()
Replace tx.bitcoinSerialize().length
2020-11-05 11:51:43 -03:00
Oscar Guindzberg
6bba6a526f
Use bitcoinj 0.15.8 (commit 60b4f2f) 2020-11-05 11:51:43 -03:00
Oscar Guindzberg
dffa251e1d
Remove unused imports 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
a3d7c71410
Set TRADE_PROTOCOL_VERSION to 3 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
d1620c4fd7
Revert "Validate AddressEntry.segwit"
This reverts commit e49c56527825a443b794ab74cee24b12d5b9eb45.
2020-11-05 11:47:41 -03:00
Oscar Guindzberg
953a5f0bb5
Deal with P2WPKH has empty scriptSig 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
3585dc95fc
Create the scriptCode the right way 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
22ba9a898b
Explain why bitcoinSerialize(false) is used 2020-11-05 11:47:41 -03:00
Oscar Guindzberg
4a05b6d6d5
Revert "Construct dummy outputs with LegacyAddress"
This reverts commit b8f5c6e970fc29b705478aac8a655a73bed52a7e.
2020-11-05 11:47:40 -03:00