Wake up replay stage when the poh bank is cleared. (#3211)
* wake up replay stage when the poh bank is cleared * bump ticks per second * Increase ticks per slot to match faster tick rate * Remove check that working bank must be the bank for the greatest slot * Make start_leader() skip starting TPU for slots we've already been leader for
This commit is contained in:
committed by
GitHub
parent
78bb96ee51
commit
0c592c52f6
@ -2,11 +2,11 @@
|
||||
use std::time::Duration;
|
||||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
|
||||
pub const NUM_TICKS_PER_SECOND: u64 = 10;
|
||||
pub const NUM_TICKS_PER_SECOND: u64 = 100;
|
||||
|
||||
// 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 = 16;
|
||||
pub const DEFAULT_TICKS_PER_SLOT: u64 = 160;
|
||||
pub const DEFAULT_SLOTS_PER_EPOCH: u64 = 16;
|
||||
|
||||
/// The time window of recent block hash values that the bank will track the signatures
|
||||
|
Reference in New Issue
Block a user