Function grin_core::consensus::secondary_pow_scaling

source ·
pub fn secondary_pow_scaling(
    height: u64,
    diff_data: &[HeaderDifficultyInfo]
) -> u32
Expand description

The secondary proof-of-work factor is calculated along the same lines as in next_dma_difficulty, as an adjustment on the deviation against the ideal value. Factor by which the secondary proof of work difficulty will be adjusted