Start leader based on Poh tick height. (#3084)
* Start leader based on poh and test * Equalize validator and leader stakes in LocalCluster * Clear WorkingBank on poh_recorder reset
This commit is contained in:
committed by
carllin
parent
9491999a95
commit
1c0cfb17a3
@ -6,8 +6,8 @@ pub const NUM_TICKS_PER_SECOND: u64 = 10;
|
||||
|
||||
// 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 = 80;
|
||||
pub const DEFAULT_SLOTS_PER_EPOCH: u64 = 64;
|
||||
pub const DEFAULT_TICKS_PER_SLOT: u64 = 16;
|
||||
pub const DEFAULT_SLOTS_PER_EPOCH: u64 = 16;
|
||||
|
||||
/// The time window of recent block hash values that the bank will track the signatures
|
||||
/// of over. Once the bank discards a block hash, it will reject any transactions that use
|
||||
|
Reference in New Issue
Block a user