Reduce epoch duration from 2 weeks to 2 days (#7987)

automerge
This commit is contained in:
mergify[bot]
2020-01-27 10:24:20 -08:00
committed by Grimes
parent 20426cf251
commit d13d609050
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(