Reduce ticks per block to increase voting frequency (#2242)

This commit is contained in:
Pankaj Garg
2018-12-20 14:43:03 -08:00
committed by GitHub
parent 7ad45a91ec
commit bb1060bdad

View File

@ -25,7 +25,7 @@ use std::thread::{self, Builder, JoinHandle};
use std::time::Duration; use std::time::Duration;
use std::time::Instant; use std::time::Instant;
pub const BLOCK_TICK_COUNT: u64 = 8; pub const BLOCK_TICK_COUNT: u64 = 4;
pub const MAX_ENTRY_RECV_PER_ITER: usize = 512; pub const MAX_ENTRY_RECV_PER_ITER: usize = 512;
#[derive(Debug, PartialEq, Eq, Clone)] #[derive(Debug, PartialEq, Eq, Clone)]