solana_vote_program::vote_state

Function is_commission_update_allowed

Source
pub fn is_commission_update_allowed(
    slot: Slot,
    epoch_schedule: &EpochSchedule,
) -> bool
Expand description

Given the current slot and epoch schedule, determine if a commission change is allowed