[][src]Function solana_sdk::stake_weighted_timestamp::calculate_stake_weighted_timestamp

pub fn calculate_stake_weighted_timestamp<T>(
    unique_timestamps: &HashMap<Pubkey, (Slot, UnixTimestamp)>,
    stakes: &HashMap<Pubkey, (u64, T)>,
    slot: Slot,
    slot_duration: Duration,
    estimate_type: EstimateType,
    epoch_start_timestamp: Option<(Slot, UnixTimestamp)>
) -> Option<UnixTimestamp>