Skip to content

Commit

Permalink
Enable new fork choice on mainnet, 400_000 slots into epoch 61 (solan…
Browse files Browse the repository at this point in the history
…a-labs#11312)

Co-authored-by: Carl <carl@solana.com>
  • Loading branch information
carllin and carllin authored Jul 31, 2020
1 parent c421d7f commit d7e961d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/replay_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,8 @@ impl ReplayStage {
pub fn get_unlock_switch_vote_slot(operating_mode: OperatingMode) -> Slot {
match operating_mode {
OperatingMode::Development => 0,
OperatingMode::Stable => std::u64::MAX / 2,
// 400_000 slots into epoch 61
OperatingMode::Stable => 26_752_000,
// Epoch 63
OperatingMode::Preview => 21_692_256,
}
Expand All @@ -1869,7 +1870,8 @@ impl ReplayStage {
pub fn get_unlock_heaviest_subtree_fork_choice(operating_mode: OperatingMode) -> Slot {
match operating_mode {
OperatingMode::Development => 0,
OperatingMode::Stable => std::u64::MAX / 2,
// 400_000 slots into epoch 61
OperatingMode::Stable => 26_752_000,
// Epoch 63
OperatingMode::Preview => 21_692_256,
}
Expand Down

0 comments on commit d7e961d

Please sign in to comment.