mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-02 14:46:22 -04:00
support local, stagenet, and mainnet xmr network configuration (#335)
remove btc wallet disable local zmq
This commit is contained in:
parent
b4112e50e9
commit
e2208355b1
74 changed files with 595 additions and 899 deletions
|
@ -34,7 +34,7 @@ A sample configuration file looks like follows:
|
|||
# true overwrites the reporters picked by the developers (for debugging for example) (defaults to false)
|
||||
System.useConsoleReporter=true
|
||||
|
||||
# 0 -> XMR_MAINNET, 1 -> XMR_TESTNET (default)
|
||||
# 0 -> XMR_MAINNET, 1 -> XMR_LOCAL (default)
|
||||
System.baseCurrencyNetwork=0
|
||||
|
||||
## Each Metric is configured via a set of properties.
|
||||
|
|
|
@ -91,7 +91,7 @@ public abstract class Metric extends Configurable implements Runnable {
|
|||
super.configure(properties);
|
||||
reporter.configure(properties);
|
||||
|
||||
Version.setBaseCryptoNetworkId(Integer.parseInt(properties.getProperty("System." + BASE_CURRENCY_NETWORK, "1"))); // defaults to XMR_TESTNET
|
||||
Version.setBaseCryptoNetworkId(Integer.parseInt(properties.getProperty("System." + BASE_CURRENCY_NETWORK, "1"))); // defaults to XMR_LOCAL
|
||||
|
||||
// decide whether to enable or disable the task
|
||||
if (configuration.isEmpty() || !configuration.getProperty("enabled", "false").equals("true")
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# true overwrites the reporters picked by the developers (for debugging for example) (defaults to false)
|
||||
System.useConsoleReporter=true
|
||||
|
||||
# 0 -> XMR_MAINNET, 1 -> XMR_TESTNET (default)
|
||||
# 0 -> XMR_MAINNET, 1 -> XMR_LOCAL (default)
|
||||
System.baseCurrencyNetwork=0
|
||||
|
||||
## Each Metric is configured via a set of properties.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue