Skip to main content

benchmark_job_material_kernel

Function benchmark_job_material_kernel 

Source
pub fn benchmark_job_material_kernel(
    nonce_prefix: [b32; 6],
    index: b64,
) -> BenchmarkJobMaterial
Expand description

Construct one deterministic benchmark job.

Nonce register word zero contributes bytes zero through three, least significant byte first. The final eight seed bytes are the index in network (big-endian) order. The message is an injective bytewise domain transform of the seed; it is test data, not an application prehash construction.