Commit graph

12945 commits

Author SHA1 Message Date
chimp1984
6fc36d48db
Reduce interval for persistence
Seems the persistence at shutdown is too unsafe and we got bug reports where data was missing.
https://github.com/bisq-network/bisq/issues/4806

Use millisec instead of sec for delay
Rename delayInSec to delay
2020-11-17 19:15:59 -05:00
sqrrm
c1287ac43a
Merge pull request #4804 from chimp1984/improve-persistence-manager
Improve persistence manager
2020-11-14 22:30:09 +01:00
chimp1984
755ea4d792
Add missing initCalled.set(true); 2020-11-14 15:51:51 -05:00
sqrrm
627e0671b6
Merge pull request #4792 from ripcurlx/update-data-stores-for-v1.5.0
Update data stores for v1.5.0
2020-11-14 12:56:23 +01:00
chimp1984
a64c11ebe4
Add additional guards to ensure that the shut down routine is not called multiple times
(which can happen in rare cases) and add guards that we never create multiple instances
for a given file as well not call initialize or other API methods after shutdown was started.
2020-11-13 14:08:01 -05:00
wiz
fcf7de611a
Remove legacy BSQ explorers 2020-11-13 13:45:19 +01:00
wiz
2520901350
Temporarily disable wiz's monero explorer node
Will re-enable later after making a new monero node on a new server
2020-11-13 13:45:07 +01:00
Christoph Atteneder
19432e4a1e
Update data stores for v1.5.0 2020-11-13 13:00:46 +01:00
Christoph Atteneder
3e5bf90bdd
Update release process to match new trade statistics delivery
Also did some minor release process cleanup that was overdue
2020-11-13 12:29:29 +01:00
Christoph Atteneder
37be138830
Update bitcoinj checkpoints for v1.5.0 2020-11-13 12:29:29 +01:00
Christoph Atteneder
b4a4f48f3a
Merge pull request #4786 from chimp1984/fix-historical-data-store-issue
Fix historical data store issue
2020-11-13 12:19:01 +01:00
Christoph Atteneder
4eb43d7975
Merge pull request #4788 from chimp1984/add-amazon-gift-cards
Add Amazon eGift Card payment method
2020-11-13 09:16:20 +01:00
chimp1984
a238c205ab
Add Amazon eGift Card payment method 2020-11-13 00:26:23 -05:00
chimp1984
23df53e61b
Always try to prune live map with historical data
It should be only needed in case we get the historical data from resources,
but as I have seen multiple times that some nodes have duplicated entries
in the live data I think its more safe to clean up always. If no entries are
removed the call is very cheap. Even with 60k entries to be pruned it takes
only about 20 ms.
2020-11-12 12:19:24 -05:00
chimp1984
eea1203ec5
Fix issue with immutable maps.
As we might have same keys in multiple maps and merge those to 1 map we
cannot use an immutable map when merging the maps. Instead we copy our merged map
at the end into a immutable map.

Fix issue with immutable maps.
As we might have same keys in multiple maps and merge those to 1 map we
cannot use an immutable map when merging the maps. Instead we copy our merged map
at the end into a immutable map.
2020-11-12 12:19:24 -05:00
Deus Max
b9f49f75d3
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-12 14:35:20 +01:00
sqrrm
ad5d1069be
Refactor trade limit check
Return early for anything that doesn't have age dependent trade limits
Remove unnecessary method
Fix switch case
2020-11-12 09:59:37 +01:00
Christoph Atteneder
fb1ffa1fe0
Merge pull request #4777 from ripcurlx/remove-unused-translations
Remove unused translations
2020-11-12 09:58:32 +01:00
m52go
42820f1bf0
Resolve merging conflicts in displayStrings.properties 2020-11-12 09:36:24 +01:00
Christoph Atteneder
2ad3fb85a7
Use correct brand name for TransferWise 2020-11-12 09:31:24 +01:00
Christoph Atteneder
1882644f8d
Use hyperlink tag to link to Australian PayID faqs 2020-11-12 09:31:24 +01:00
Christoph Atteneder
4a926319c0
Remove unused translations and suppress inspection for actually used once
E.g. for dynamically generated keys
2020-11-12 09:31:24 +01:00
Christoph Atteneder
6e23649156
Merge pull request #4784 from chimp1984/redesign-mailbox-msg
Redesign mailbox msg
2020-11-12 09:14:46 +01:00
chimp1984
9cd5dc9e26
Add support for persisting MailboxMessageList 2020-11-11 22:19:44 -05:00
chimp1984
8b738796db
Remove mailbox msg early from network 2020-11-11 20:31:42 -05: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
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
jmacxx
bdf10b55a8
Resolve merge conflict in core/src/main/java/bisq/core/app/WalletAppSetup.java 2020-11-09 11:45:38 +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
222ee40298
Update translations for v1.5.0 and adding Czech and Italian 2020-11-09 09:18:47 +01: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
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
wiz
ae476745bd
Reduce seednode default maxconnections to 20 2020-11-05 21:30:14 +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
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