Commit graph

13367 commits

Author SHA1 Message Date
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
Oscar Guindzberg
06e5091f79
TradeWalletService use P2WSH 2020-11-05 11:47:40 -03:00
Oscar Guindzberg
161e220a4f
BtcWalletService: Use segwit addresses 2020-11-05 11:47:40 -03:00
Oscar Guindzberg
ef97daac89
Use bitcoinj 0.15.8 (commit fcec3da) 2020-11-05 11:47:38 -03:00
wiz
786a80879c
Reduce seednode default maxconnections to 20 2020-11-05 20:06:05 +09:00
Christoph Atteneder
2d3c94d283
Update translations for v1.5.0 2020-11-05 11:37:35 +01:00
Christoph Atteneder
66fcde11bf
Bump version number for v1.5.0 2020-11-05 11:34:40 +01:00
sqrrm
0c4ba9019c
Merge pull request #4750 from ripcurlx/improve-translations
Improve translations
2020-11-05 11:19:16 +01:00
Bayer
7163344084
Update core/src/main/resources/i18n/displayStrings.properties
Co-authored-by: m52go <mfiver@gmail.com>
2020-11-05 09:47:31 +01:00
Bayer
80d87a728d
Apply suggestions from code review
Co-authored-by: m52go <mfiver@gmail.com>
2020-11-05 09:47:22 +01:00
Bayer
90c00097ac
Fix display strings lines 2968-3437 2020-11-05 09:47:11 +01:00
Christoph Atteneder
b8fbc74d6c
Merge pull request #4744 from sqrrm/cleanup-signed-witness
Cleanup signed witness
2020-11-05 09:42:46 +01:00
Christoph Atteneder
20aac2e5cc
Merge pull request #4747 from chimp1984/fix-initial-outlier-value-at-update
Set initial value for bsqAverageTrimThreshold at update to 5%
2020-11-05 09:25:24 +01:00
Deus Max
1ab7e26fd1
Format fiat currency tick mark label on Y-axis.
Format currency tick values as integers for a more
compact form, without the 4-zeroesfractional part.
2020-11-05 00:24:49 +02:00
chimp1984
5817525776
Check for 0 and only apply the value in that case.
See comment at change for more background.
2020-11-04 12:54:35 -05:00
chimp1984
c9b3f9d457
Set initial value for bsqAverageTrimThreshold to 5% in case of an
update (using persisted preferences which would
have value set to 0 as it was not existing in old version)
2020-11-04 11:34:10 -05:00
sqrrm
83ee1fedb2
Merge pull request #4746 from chimp1984/cleanup-mailbox-messages-at-closed-trades
Clean up mailbox messages for closed trades
2020-11-04 15:58:20 +01:00
chimp1984
5c7906980c
Clean up mailbox messages for closed trades
Util for removing pending mailbox messages in case the
trade has been closed by the seller after confirming receipt
and a AckMessage as mailbox message will be sent by the
buyer once they go online. In that case the seller's trade
is closed already and the TradeProtocol is not executing
the message processing, thus the mailbox message would not
be removed. To ensure that in such cases (as well other
potential cases in failure scenarios) the mailbox message
gets removed from the network we use that util.
2020-11-03 22:08:38 -05:00
Christoph Atteneder
63cae1ceb1
Merge pull request #4745 from chimp1984/fix-bug-with-reading-historical-data
Fix bug with reading historical data
2020-11-03 21:56:05 +01:00
Christoph Atteneder
75f79077a9
Merge pull request #4743 from ripcurlx/add-australian-payid
Add new payment method: Australian PayID
2020-11-03 21:55:25 +01:00
chimp1984
ab5645b864
Fix issue with getting complete handler called twice from P2PService
We used a delegate method in P2PService for calling readPersisted on p2PDataStorage and peerManager.
This was from old times when those classed have not been injected classes. The complete handlers got
called from both p2PDataStorage and peerManager but we counted only P2PService as host, so the
countdown completed before the last host was really completed, leading to a nullpointer in
MainView (not always).

We removed now PersistedDataHost interface from P2PService and use P2PDataStorage and PeerManager to be added to hosts.
2020-11-03 13:01:35 -05:00
chimp1984
4161ecf239
Fix bugs with reading historical data
- Use fileName not getFileName() in readHistoricalStoreFromResources
- use complete handler once reading of all historical data is completed where we
build the ImmutableMaps and complete the readFromResources method
2020-11-03 11:48:58 -05:00
chimp1984
185d812185
Add logs for sig int 2020-11-03 11:46:41 -05:00
chimp1984
1270c8fdaf
Remove unused field 2020-11-03 11:46:25 -05:00
sqrrm
02e53304ed
Cleanup unused argument 2020-11-03 17:35:29 +01:00
sqrrm
7f734292f3
Cleanup line breaks 2020-11-03 16:59:15 +01:00