Commit Graph

10753 Commits

Author SHA1 Message Date
Christoph Atteneder
96934d9107
Merge pull request #4048 from freimair/reduce_ram
Limit system ram to 4GB
2020-03-12 10:30:42 +01:00
Florian Reimair
f127c28d1d
Limit for bisq-desktop only 2020-03-11 16:38:52 +01:00
Florian Reimair
dc7a904a7f
Limits system ram to 4GB
OpenJDK assumes total system RAM of 128GB. Setting it to 4GB manually
reduces the greediness of the JVM drastically.
2020-03-11 14:21:02 +01:00
Christoph Atteneder
0501b54633
Merge pull request #4044 from sqrrm/refresh-interval
Allow refresh at least every 4 hours
2020-03-11 09:00:26 +01:00
sqrrm
b5e3e0b1bc
Allow refresh at least every 4 hours 2020-03-10 18:21:25 +01:00
sqrrm
ad7cbe6a3c
Merge pull request #4043 from ripcurlx/extend-cmc-stub-to-remove-warning-log
Add an empty dummy exchange rate to prevent warning logs
2020-03-10 18:02:53 +01:00
Christoph Atteneder
114ebd018c
Add an empty dummy exchange rate to prevent warning logs 2020-03-10 17:52:05 +01:00
Christoph Atteneder
6c8110aef8
Merge pull request #4040 from sqrrm/log-delayedtx-at-trade-init
Log delayed payout tx bytes as soon as it's signed during trade init
2020-03-10 16:40:52 +01:00
sqrrm
d2d52847dc
Log delayed payout tx bytes as soon as it's signed during trade init 2020-03-10 13:19:02 +01:00
Christoph Atteneder
dc583d1a37
Merge pull request #4035 from stejbac/speed-up-dao-state-monitor-view-load
Speed up DAO state monitor view load
2020-03-10 09:05:44 +01:00
Christoph Atteneder
6d457e4163
Merge pull request #4021 from freimair/update_offer_address_on_clean
Update offer address to new hidden service files
2020-03-10 09:01:30 +01:00
sqrrm
6a27ab0fdc
Merge pull request #4037 from ripcurlx/fix-cmc-pricenode-issue
Introduce CoinMarketCap stub to prevent error in existing clients
2020-03-09 15:39:37 +01:00
Christoph Atteneder
537f3d4999
Add documentation 2020-03-09 15:23:25 +01:00
Christoph Atteneder
0b31d13aa1
Re-introduce CoinMarketCap stub to prevent error in existing clients 2020-03-09 14:55:05 +01:00
Christoph Atteneder
698716d17a
Merge pull request #4029 from sqrrm/dump-failed-delayedtx
Dump failed delayedtx
2020-03-09 11:58:27 +01:00
Christoph Atteneder
ac3e58846b
Merge pull request #4004 from freimair/networkmetric_installer
Adjust NetworkSize metric installer
2020-03-09 11:21:42 +01:00
sqrrm
1ba9d6a8c4
Merge pull request #4016 from wiz/fix-collectd-nginx-bind-localhost
Fix nginx.conf for collectd so it only listens on 127.0.0.1
2020-03-09 10:54:38 +01:00
Steven Barclay
c261933928
Compute height cells lazily to speed up DaoStateMonitorView
Avoid a bottleneck computing the cycle index & calling 'Res.get(..)' for
every block since genesis in the DAO state monitor view, when building
the DaoStateBlockListItem objects, by making the 'height' field lazy. To
do this, pass the cycle index into the constructor using an IntSupplier
and make the height a memoised 'Supplier<String>' with a custom getter.

Also add a unit test to check that the auto-generated equals & hashCode
methods still work as expected, as it isn't totally clear what Lombok
would do when a field type differs from its getter return type.
2020-03-09 15:35:44 +08:00
sqrrm
4fc8da6877
Merge pull request #4033 from wiz/update-mempool-explorer-url
Update URL for mempool.ninja blockchain explorer
2020-03-07 19:09:37 +01:00
wiz
622613ccbf
Update URL for mempool.ninja blockchain explorer 2020-03-08 02:32:45 +09:00
sqrrm
529f0a1d39
Merge pull request #4024 from dmos62/network-info-local-bitcoin-node-background-info
Changes to local BTC node reminder in Settings > Network info
2020-03-07 16:40:09 +01:00
sqrrm
4c3a5628b6
Merge pull request #4018 from freimair/fix_hsdir_getting_deleted
Fix false deletion of hsdir when using --appDataDir
2020-03-07 16:36:44 +01:00
sqrrm
72bcc4a563
Merge pull request #4032 from wiz/remove-coinmarketcap-as-pricenode-provider
Pricenode crashes on startup due to CoinMarketCap retired API
2020-03-06 19:27:44 +01:00
Chris Beams
cdf0a9b128
Update Poloniex exchange rate provider @Order value
With the removal of CoinMarketCap as an exchange rate provider in the
prior commit, the @Order values of the remaining three provider
implementations are non-contiguous. CoinMarketCap was @Order(3) and with
it gone, the remaining order values became 1, 2, 4. This is not a
problem in practice, but could be confusing for future maintainers, so
this commit simply decrements the Poloniex implementation from 4 to 3 in
order to make the values contiguous once again.

This commit also fixes a typo in ExchangeRateProvider's Javadoc.
2020-03-06 19:16:33 +01:00
wiz
afc1f85c73
Remove CoinMarketCap as dead code 2020-03-07 02:36:20 +09:00
Steven Barclay
6ef6bf24d9
Avoid raw use of Overlay<T> 2020-03-06 17:03:55 +08:00
sqrrm
df54c121f6
Also dump failed trades delayed payout txs 2020-03-05 18:49:39 +01:00
sqrrm
40fb1ab49f
Move dump delaytx to separate class 2020-03-05 18:28:08 +01:00
sqrrm
879c3f2eb2
Merge pull request #4015 from freimair/remove-uid
Remove unused uid in fee provider service
2020-03-05 18:04:54 +01:00
sqrrm
bf558c5b6a
Merge pull request #4014 from freimair/usability
Make price providers cmdline param more readable
2020-03-05 16:37:22 +01:00
Florian Reimair
0b7788ae53
Fix wrong deletion of hsdir when using --appDataDir
There are circumstances where input via --appDataDir
will lead to the hiddenservice-directory to be deleted.
Successfully reproduced using

  --appDataDir=~/foo

Although the "~" does not get interpreted correctly on
my linux system, it does manage to throw off the
mechanics of sparing the hiddenservice-directory from
being deletd.
2020-03-04 12:25:11 +01:00
Dominykas Mostauskis
2105b219c9
Changes to local BTC node info in Settings 2020-03-03 18:50:44 +01:00
sqrrm
a926f2b260
Merge pull request #4017 from bisq-network/revert-3758-master
Revert "Vote Reveal - Silent Fail"
2020-02-29 01:15:00 +01:00
Christoph Atteneder
fa56b91f6d
Revert "Vote Reveal - Silent Fail" 2020-02-28 16:01:03 +01:00
Florian Reimair
ff0d473778
Added node address update 2020-02-28 11:21:20 +01:00
Florian Reimair
b8f0532dba
Move capabilities update 2020-02-28 11:21:20 +01:00
Florian Reimair
8abc52b257
Move protocol version update 2020-02-28 11:21:04 +01:00
wiz
623a7bb11b
Fix nginx.conf for collectd so it only listens on 127.0.0.1 2020-02-28 12:44:52 +09:00
Florian Reimair
bdc4dec716
Apply suggestions from code review 2020-02-27 18:36:14 +01:00
Florian Reimair
379259a2ec
Apply suggestions from code review
Co-Authored-By: Chris Beams <chris@beams.io>
2020-02-27 17:34:00 +01:00
sqrrm
1d1cba1e4d
Merge pull request #3982 from dmos62/local-btc-node-configuration-check
Add local Bitcoin node configuration detection
2020-02-27 15:29:49 +01:00
Dominykas Mostauskis
85e4515f53
Remove reference to removed constant 2020-02-27 12:14:32 +01:00
Florian Reimair
edcc8338f2
Remove unused uid in fee provider service
Bisq frequently (once per minute) queries our price nodes for up-to-date
fee information. It does so by HTTP GET request. However, it provided
a UID via the "User-Agent" HTTP header field. This UID has been a random
number which changed everytime Bisq gets started up.

This UID has never been used. Thus, remove it.
2020-02-27 11:38:10 +01:00
Florian Reimair
464388df32
Make price providers cmdline param more readable 2020-02-27 11:34:29 +01:00
Florian Reimair
cfa55df4b2
Align scraper script 2020-02-27 11:26:26 +01:00
sqrrm
ad3da4b701
Merge pull request #4009 from ripcurlx/fix-snapshot-version-for-rpm-builds
Handle SNAPSHOT versioning differently for rpm packages
2020-02-27 10:53:57 +01:00
Florian Reimair
ebdff5661d
Amended pricenode readme 2020-02-27 10:25:17 +01:00
Florian Reimair
d1fc9d0d18
Adjust the pricenode installer 2020-02-27 10:25:16 +01:00
Chris Beams
57b7041dfe
Remove unnecessary LOCAL_BITCOIN_NODE_PORT constant
This was originally added with the intention that the local Bitcoin node
port could be customized, but in fact it never could be, because Guice
configuration always hard-wired the value to the default port for the
CurrentBaseNetwork's Parameters (eg. 8333 for BTC_MAINNET).

This change removes the constant, removes any Guice wiring and injection
and localizes the hard-coded assignment to the LocalBitcoinNode
constructor to simplify and make things explicit.

If it is desired to allow users to specify a custom port for their local
Bitcoin node, a proper option shoud be added to Config. In the meantime,
users may work around this by using `--btcNodes=localhost:4242` where
4242 is the custom port. Note however, that the pruning and bloom filter
checks will not occur in this case as the provided node address will not
being treated as a LocalBitcoinNode.
2020-02-27 09:53:40 +01:00
Chris Beams
c1a99ccc55
Polish LocalBitcoinNode method names and visibility
- Rename #willUse => #shouldBeUsed
 - Rename #willIgnore => #shouldBeIgnored
 - Reduce visibility of methods where appropriate
 - Edit Javadoc typos and use @link syntax where appropriate
2020-02-27 09:35:36 +01:00