[][src]Function grin_core::pow::pow_size

pub fn pow_size(
    bh: &mut BlockHeader,
    diff: Difficulty,
    proof_size: usize,
    sz: u8
) -> Result<(), Error>

Runs a proof of work computation over the provided block using the provided Mining Worker, until the required difficulty target is reached. May take a while for a low target...