Skip to main content

pow_compute_batch

Function pow_compute_batch 

Source
pub fn pow_compute_batch(
    iteration_limit: u32,
    pow_min: u8,
    data_hash_hex: String,
) -> String
Expand description

Sync PoW batch computation for sub-workers. Each sub-worker calls this function with a portion of the total iteration budget.

Returns a colon-separated string: salt_hex:pow_u8:hash_hex