Commit Graph

42 Commits

Author SHA1 Message Date
Florian Reimair
5e96b8ebe2 Patch deprecated Networknode 2018-12-07 10:14:20 +01:00
Chris Beams
931f369fb6
Include executable name and version in help output 2018-11-24 13:24:03 +01:00
Chris Beams
83e1dd37f9
Refactor option parsing configuration
This change eliminates the BisqExecutable.description method and
replaces it with proper use of the `describedAs` and `defaultsTo`
methods in the JOptSimple API. This removes the concern of formatting
option argument descriptions and default values from the BisqExecutable
class, and delegates it to the new BisqHelpFormatter (see previous
commit), which is designed for the purpose.

For example, prior to this commit, the help text for the --banList
option read as follows:

    --banList=<value>
            Nodes to exclude from network connections. (default: )

Now it reads as follows:

    --banList=<host:port[,...]>
            Nodes to exclude from network connections.

Likewise, previous to this commit, the --logLevel option read as
follows:

    --logLevel=<value>
            Log level [OFF, ALL, ERROR, WARN, INFO, DEBUG, TRACE]
            (default: INFO)

And now it reads like this:

    --logLevel=<OFF|ALL|ERROR|WARN|INFO|DEBUG|TRACE> (default: INFO)
            Log level

There are a number of further improvements that can and should be made
to the description text of the various options, the types specified for
their arguments, etc, but these will be handled in subsequent commits.
This commit is strictly about refactoring existing parser configuration
to take advantage of the new BisqHelpFormatter.
2018-11-24 13:24:03 +01:00
Manfred Karrer
bb20264473
Move classes 2018-09-23 15:35:06 -05:00
Manfred Karrer
920ad2e1b5
Rename network package to nodes 2018-09-23 15:29:09 -05:00
Manfred Karrer
8d0f6b7556
Rename BitcoinNodes to BtcNodes 2018-09-23 15:22:20 -05:00
Manfred Karrer
0d86176f4e
Further refactorings: move classes to other packages 2018-09-23 15:09:22 -05:00
Manfred Karrer
16fac73b6d
Further refactorings move classes to other packages 2018-09-23 14:56:46 -05:00
Manfred Karrer
f3f719a632
Move btc setup classes to setup package 2018-09-23 14:46:58 -05:00
Christoph Atteneder
ecef18a437
Merge monitor repository at fd01ee4 2018-09-14 11:42:51 +02:00
Chris Beams
aec4c4814a
Move monitor module to new repository
This module is being extracted into its own repository, which will live
at https://github.com/bisq-network/bisq-monitor.
2018-03-09 17:23:10 +01:00
Manfred Karrer
b5ac9f97ca
Add vote reveal type. Adjust BSQ fees. Refactorings. 2018-03-05 22:00:13 -05:00
Manfred Karrer
1f6122e934
Add option key: genesisBlockHeight. Rename option key regTestBsqGenesisTxId to genesisTxId. Remove hard coded dev genesis tx id and height. 2018-03-05 12:05:24 -05:00
Manfred Karrer
b7064f9820
Add option key for dev mode 2018-03-05 11:10:00 -05:00
Manfred Karrer
fd18cca161
Add missing setProperty call for regTestBsqGenesisTxId 2018-03-02 09:50:33 -05:00
Manfred Karrer
644312a472
Add useDevPrivilegeKeys to other app base module 2018-02-26 12:52:42 -05:00
Manfred Karrer
8b14f6bb15
Add request and response timestamp and retry counter to monitor 2018-01-30 22:34:36 -05:00
Manfred Karrer
27d1083380
Use 60 days for TTL for alert. Cleanups. 2018-01-10 22:21:32 +01:00
Manfred Karrer
9988a7e4f6
Increase retry for monitor to 5. Adjust logs. Cleanup. 2018-01-09 23:55:15 +01:00
Manfred Karrer
71a0fc5240
Revert removal of WalletDir optionkey 2018-01-09 22:32:46 +01:00
Manfred Karrer
cdc1061571
Remove WALLET_DIR. Use APP_DATA_DIR_KEY instead. 2018-01-09 20:18:43 +01:00
Manfred Karrer
b45ce61762
Change monitor port to 80 2018-01-04 20:55:32 +01:00
Manfred Karrer
307b936082
Fix Monitor issues with error reports. Improve logging. 2018-01-03 15:55:59 +01:00
Manfred Karrer
14d1db0e81
Increase retry time and retry count for failed seed nodes in monitor 2017-12-27 23:58:03 +01:00
Manfred Karrer
41a4ca93e7
Improve error msg for withdrawal. Refactor: Rename TIMEOUT variables. 2017-12-19 23:27:43 +01:00
Manfred Karrer
a13a59fc4b
Refactoring: Rename seednode_monitor to monitor 2017-12-19 19:19:13 +01:00
Manfred Karrer
f84a038889 Version 0.4.9.9.1 2017-03-22 16:24:52 -05:00
Manfred Karrer
0a546978b3 Remove monitor and headless modules 2017-03-22 16:01:47 -05:00
Manfred Karrer
b800999614 Add popup for adding a full btc node ip address at first startup as well in settings 2016-11-15 01:13:24 +01:00
Manfred Karrer
e751958de1 Request Pricefeed via proxy and use new BtcAverage API and add coinmarketcap.
* Now all traffic is going over Tor (price requests from Poloniex could not be routed over Tor because they use Cloudflare)
* Added request to CoinMarketCap to get more prices for altcoins not listed at Poloniex
* Use 2 proxy price feed providers as hidden service for requesting accumulated BitcoinAverage (new API), Poloniex and CoinMarketCap price data
* Add program argument to add custom price feed providers
* Add module for running a own proxy price feed provider (requires BitcoinAverage API keys). Supports both clearnet and hidden service
* Display time of latest price update at tooltip over provider icon in market price widget
* Remove http proxy option because it is not needed anymore (Cloudflare issue with Poloniex solved by the proxy)
* Remove tor bridge support (was not solving GFW issues and caused only problems when connections to Tor failed at startup)
2016-11-13 21:12:46 +01:00
Manfred Karrer
2f5c1a926a Check if supported crypto key length is > 128 (security policy adopted in Oracel JDK) 2016-10-20 01:45:19 +02:00
Manfred Karrer
3ea9ad4712 Cleanup formatting, organize imports 2016-10-19 23:44:49 +02:00
Manfred Karrer
e3480d0995 Cleanup logs. Use debug instead of info to get less load of logs if info is default log level 2016-07-29 18:24:34 +02:00
Manfred Karrer
f56b717f25 Refactor option keys 2016-07-25 20:31:29 +02:00
Manfred Karrer
f0e3370dbb Rename option classes 2016-07-20 00:34:50 +02:00
Manfred Karrer
9f22fe2450 Add missing master thread 2016-07-19 16:27:59 +02:00
Manfred Karrer
1df02ee750 Move methods to Superclass 2016-07-12 16:28:32 +02:00
Manfred Karrer
eeb7746f18 Add while loop to support running it from nohup & 2016-07-09 19:47:09 +02:00
Manfred Karrer
39069309bd Add hasNextLine check to Scanner 2016-07-09 01:03:04 +02:00
Manfred Karrer
476a3b5ed8 Add shotdown command (q), add openoffermanager, support republish offers 2016-07-09 00:22:12 +02:00
Manfred Karrer
55b9873d19 Add py4j gateway to Monitor 2016-07-08 23:05:23 +02:00
Manfred Karrer
c957b53f3a Add headless version for monitoring statistics (Bitsquare-proxy) and network stress testing 2016-07-08 18:45:09 +02:00