Skip to main content

pow_generate_with_iteration_limit

Function pow_generate_with_iteration_limit 

Source
pub async fn pow_generate_with_iteration_limit(
    iteration_limit: usize,
    pow_min: Pow,
    data_hash: &Hash,
) -> Result<(Salt, Pow, Hash)>
Expand description

Try find a sufficient PoW.

It will return the best so far if is it unsuccessful after the iteration_limit