Updated default validator url and contract address (#557)

This commit is contained in:
Jędrzej Stuczyński
2021-04-06 13:22:30 +01:00
committed by GitHub
parent f5c1b6dfdd
commit 800af218a5
3 changed files with 7 additions and 9 deletions
+3 -3
View File
@@ -26,9 +26,9 @@ pub mod persistence;
pub const MISSING_VALUE: &str = "MISSING VALUE";
// 'CLIENT'
pub const DEFAULT_VALIDATOR_REST_ENDPOINT: &str = "http://testnet-validator1.nymtech.net:8081";
pub const DEFAULT_MIXNET_CONTRACT_ADDRESS: &str =
"TODO: THIS NEEDS TO BE FILLED WITH SOME REASONABLE VALUE!";
pub const DEFAULT_VALIDATOR_REST_ENDPOINT: &str =
"http://testnet-finney-validator.nymtech.net:1317";
pub const DEFAULT_MIXNET_CONTRACT_ADDRESS: &str = "hal1tndcaqxkpc5ce9qee5ggqf430mr2z3pev9mf39";
// 'DEBUG'
const DEFAULT_ACK_WAIT_MULTIPLIER: f64 = 1.5;
+2 -3
View File
@@ -22,9 +22,8 @@ pub(crate) const MISSING_VALUE: &str = "MISSING VALUE";
const DEFAULT_MIX_LISTENING_PORT: u16 = 1789;
const DEFAULT_CLIENT_LISTENING_PORT: u16 = 9000;
pub(crate) const DEFAULT_VALIDATOR_REST_ENDPOINT: &str =
"http://testnet-validator1.nymtech.net:8081";
pub const DEFAULT_MIXNET_CONTRACT_ADDRESS: &str =
"TODO: THIS NEEDS TO BE FILLED WITH SOME REASONABLE VALUE!";
"http://testnet-finney-validator.nymtech.net:1317";
pub const DEFAULT_MIXNET_CONTRACT_ADDRESS: &str = "hal1tndcaqxkpc5ce9qee5ggqf430mr2z3pev9mf39";
// 'DEBUG'
// where applicable, the below are defined in milliseconds
+2 -3
View File
@@ -21,10 +21,9 @@ pub(crate) const MISSING_VALUE: &str = "MISSING VALUE";
// 'MIXNODE'
const DEFAULT_LISTENING_PORT: u16 = 1789;
pub(crate) const DEFAULT_VALIDATOR_REST_ENDPOINT: &str =
"http://testnet-validator1.nymtech.net:8081";
"http://testnet-finney-validator.nymtech.net:1317";
pub(crate) const DEFAULT_METRICS_SERVER: &str = "http://testnet-metrics.nymtech.net:8080";
pub const DEFAULT_MIXNET_CONTRACT_ADDRESS: &str =
"TODO: THIS NEEDS TO BE FILLED WITH SOME REASONABLE VALUE!";
pub const DEFAULT_MIXNET_CONTRACT_ADDRESS: &str = "hal1tndcaqxkpc5ce9qee5ggqf430mr2z3pev9mf39";
// 'DEBUG'
const DEFAULT_METRICS_RUNNING_STATS_LOGGING_DELAY: Duration = Duration::from_millis(60_000);