From a526721d6052226535618cf71373d73d40c17d61 Mon Sep 17 00:00:00 2001 From: Luis Rubio Date: Tue, 23 Jun 2020 17:57:32 +0200 Subject: [PATCH] chore: update consensus constants for T9c reboot --- Cargo.lock | 2 +- Cargo.toml | 2 +- config/src/defaults.rs | 6 +++--- witnet.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 32a185376..c60d3129b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4087,7 +4087,7 @@ dependencies = [ [[package]] name = "witnet" -version = "0.9.0-b" +version = "0.9.0-c" dependencies = [ "ansi_term 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", "bytecount 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 6a6581138..a7716d1f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "witnet" -version = "0.9.0-b" +version = "0.9.0-c" authors = ["Witnet Foundation "] publish = false repository = "witnet/witnet-rust" diff --git a/config/src/defaults.rs b/config/src/defaults.rs index bbe6d1162..245091f43 100644 --- a/config/src/defaults.rs +++ b/config/src/defaults.rs @@ -73,7 +73,7 @@ pub trait Defaults { /// Constant to specify when consensus is achieved (in %) fn connections_consensus_c(&self) -> u32 { - 70 + 60 } /// Period that indicate the validity of a checked peer @@ -356,7 +356,7 @@ impl Defaults for Testnet { } fn consensus_constants_checkpoint_zero_timestamp(&self) -> i64 { - // Friday, 19-Jun-2020, 09:00 UTC - 1_592_557_200 + // Wednesday, 24-Jun-2020, 11:00 UTC + 1_592_996_400 } } diff --git a/witnet.toml b/witnet.toml index 10580789d..bff2d669d 100644 --- a/witnet.toml +++ b/witnet.toml @@ -74,7 +74,7 @@ known_peers = [ ] # How many peer connections to stablish before considering that is safe to decide what the best chain tip is, based on # the beacons that those peers are announcing. -outbound_limit = 8 +outbound_limit = 16 # Period for opening new peer connections while the current number of peers is lower than `outbound_limit`. bootstrap_peers_period_seconds = 1