fn calculate_staker_fees(genesis_config: &GenesisConfig, years: f64) -> u64 {
    genesis_config.fee_rate_governor.max_lamports_per_signature
        * genesis_config.epoch_schedule.get_epoch(years_as_slots(
            years,
            &genesis_config.poh_config.target_tick_duration,
            genesis_config.ticks_per_slot,
        ) as Slot)
}
// lamports required to run staking operations for one year
//  the staker account needs carry enough
//  lamports to cover TX fees (delegation) for one year,
//  and we support one delegation per epoch
lamports required to run staking operations for one year
the staker account needs carry enough
lamports to cover TX fees (delegation) for one year,
and we support one delegation per epoch
lamports required to run staking operations for one year the staker account needs carry enough lamports to cover TX fees ( delegation ) for one year and we support one delegation per epoch
fn calculate_staker_fees(genesis_config: &GenesisConfig, years: f64) -> u64 {
    genesis_config.fee_rate_governor.max_lamports_per_signature
        * genesis_config.epoch_schedule.get_epoch(years_as_slots(
            years,
            &genesis_config.poh_config.target_tick_duration,
            genesis_config.ticks_per_slot,
        ) as Slot)
}
fn calculate_staker_fees ( genesis_config : & GenesisConfig , years : f64 ) -> u64 { genesis_config . fee_rate_governor . max_lamports_per_signature * genesis_config . epoch_schedule . get_epoch ( years_as_slots ( years , & genesis_config . poh_config . target_tick_duration , genesis_config . ticks_per_slot , ) as Slot ) }
lamports required to run staking operations for one year
the staker account needs carry enough
lamports to cover TX fees (delegation) for one year,
and we support one delegation per epoch
lamports required to run staking operations for one year the staker account needs carry enough lamports to cover TX fees ( delegation ) for one year and we support one delegation per epoch
genesis_config
&GenesisConfig
years
f64