From c1f7259ad18562e3aae4d0c7a88672cfcaea79f7 Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Wed, 28 Aug 2019 16:09:55 -0700 Subject: [PATCH] Bump block production time for testing (#1229) --- near/src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/near/src/config.rs b/near/src/config.rs index 3077a470023..8a2943b8cf4 100644 --- a/near/src/config.rs +++ b/near/src/config.rs @@ -60,8 +60,8 @@ pub const EXPECTED_EPOCH_LENGTH: BlockIndex = (5 * 60) / MIN_BLOCK_PRODUCTION_DE pub const VALIDATOR_KICKOUT_THRESHOLD: f64 = 0.9; /// Fast mode constants for testing/developing. -pub const FAST_MIN_BLOCK_PRODUCTION_DELAY: u64 = 10; -pub const FAST_MAX_BLOCK_PRODUCTION_DELAY: u64 = 100; +pub const FAST_MIN_BLOCK_PRODUCTION_DELAY: u64 = 100; +pub const FAST_MAX_BLOCK_PRODUCTION_DELAY: u64 = 500; pub const FAST_EPOCH_LENGTH: u64 = 60; /// Number of blocks for which a given transaction is valid