From f4788947298c20c6bc0116083eada0cd1f3271dd Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 13 Feb 2019 20:20:12 -0800 Subject: [PATCH] Revert "Set DEFAULT_TICKS_PER_SLOT = 32 to stabilize integration tests" This reverts commit 2d2572d2cb4b1b7ed11d82de21adf5ddf1c3b6ef. --- src/leader_scheduler.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/leader_scheduler.rs b/src/leader_scheduler.rs index 41ca25098b..a5c66d9b15 100644 --- a/src/leader_scheduler.rs +++ b/src/leader_scheduler.rs @@ -16,12 +16,9 @@ use solana_sdk::vote_transaction::VoteTransaction; use std::io::Cursor; use std::sync::Arc; -/* // At 10 ticks/s, 8 ticks per slot implies that leader rotation and voting will happen // every 800 ms. A fast voting cadence ensures faster finality and convergence pub const DEFAULT_TICKS_PER_SLOT: u64 = 8; -*/ -pub const DEFAULT_TICKS_PER_SLOT: u64 = 64; // TODO: DEFAULT_TICKS_PER_SLOT = 8 causes instability in the integration tests. pub const DEFAULT_SLOTS_PER_EPOCH: u64 = 64; pub const DEFAULT_ACTIVE_WINDOW_TICK_LENGTH: u64 = DEFAULT_SLOTS_PER_EPOCH * DEFAULT_TICKS_PER_SLOT;