Skip to content

Commit

Permalink
chore: update consensus constants for T9c reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
lrubiorod committed Jun 24, 2020
1 parent 6ce5011 commit a526721
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "witnet"
version = "0.9.0-b"
version = "0.9.0-c"
authors = ["Witnet Foundation <info@witnet.foundation>"]
publish = false
repository = "witnet/witnet-rust"
Expand Down
6 changes: 3 additions & 3 deletions config/src/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion witnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a526721

Please sign in to comment.