Changing default validator location to make it clear we're testnet (#437)
* Changing default validator location to make it clear we're on a testnet here. * Updated validator url * Updated metrics url Co-authored-by: jstuczyn <jedrzej.stuczynski@gmail.com>
This commit is contained in:
@@ -26,7 +26,7 @@ pub mod persistence;
|
||||
pub const MISSING_VALUE: &str = "MISSING VALUE";
|
||||
|
||||
// 'CLIENT'
|
||||
pub const DEFAULT_VALIDATOR_REST_ENDPOINT: &str = "https://validator.nymtech.net";
|
||||
pub const DEFAULT_VALIDATOR_REST_ENDPOINT: &str = "http://testnet-validator1.nymtech.net:8081";
|
||||
|
||||
// 'DEBUG'
|
||||
const DEFAULT_ACK_WAIT_MULTIPLIER: f64 = 1.5;
|
||||
|
||||
@@ -32,7 +32,8 @@ pub(crate) const MISSING_VALUE: &str = "MISSING VALUE";
|
||||
// 'GATEWAY'
|
||||
const DEFAULT_MIX_LISTENING_PORT: u16 = 1789;
|
||||
const DEFAULT_CLIENT_LISTENING_PORT: u16 = 9000;
|
||||
pub(crate) const DEFAULT_VALIDATOR_REST_ENDPOINT: &str = "https://validator.nymtech.net";
|
||||
pub(crate) const DEFAULT_VALIDATOR_REST_ENDPOINT: &str =
|
||||
"http://testnet-validator1.nymtech.net:8081";
|
||||
|
||||
// 'DEBUG'
|
||||
// where applicable, the below are defined in milliseconds
|
||||
|
||||
@@ -31,8 +31,9 @@ pub(crate) const MISSING_VALUE: &str = "MISSING VALUE";
|
||||
|
||||
// 'MIXNODE'
|
||||
const DEFAULT_LISTENING_PORT: u16 = 1789;
|
||||
pub(crate) const DEFAULT_VALIDATOR_REST_ENDPOINT: &str = "https://validator.nymtech.net";
|
||||
pub(crate) const DEFAULT_METRICS_SERVER: &str = "https://metrics.nymtech.net";
|
||||
pub(crate) const DEFAULT_VALIDATOR_REST_ENDPOINT: &str =
|
||||
"http://testnet-validator1.nymtech.net:8081";
|
||||
pub(crate) const DEFAULT_METRICS_SERVER: &str = "http://testnet-metrics.nymtech.net:8080";
|
||||
|
||||
// 'DEBUG'
|
||||
const DEFAULT_METRICS_RUNNING_STATS_LOGGING_DELAY: Duration = Duration::from_millis(60_000);
|
||||
|
||||
Reference in New Issue
Block a user