Skip to content

Commit

Permalink
Bump block production time for testing (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenwang1996 authored and ilblackdragon committed Aug 29, 2019
1 parent a8da2b8 commit c1f7259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions near/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1f7259

Please sign in to comment.