Reduce epoch duration from 2 weeks to 2 days

This commit is contained in:
Michael Vines
2020-01-23 22:15:48 -07:00
parent 2f34f433b3
commit 912aafcefd
3 changed files with 26 additions and 25 deletions

View File

@@ -396,11 +396,11 @@ mod tests {
);
assert_eq!(
cache.next_leader_slot(&pubkey, 0, &bank, None),
Some((1, 6047999))
Some((1, 863999))
);
assert_eq!(
cache.next_leader_slot(&pubkey, 1, &bank, None),
Some((2, 6047999))
Some((2, 863999))
);
assert_eq!(
cache.next_leader_slot(