WorkChallenge

The work to do. For each sub-puzzle i, find the smallest nonce n whose Argon2id hash of "<challenge>:<i>:<n>" (version 0x13, parallelism 1, with the salt) starts with as many zero bits as bits gives.

Properties

PropertyTypeDescription
challenge string Required The signed challenge. Hash it, and send it back unchanged in your solution.
salt string Required The Argon2id salt, base64url.
bits integer (int32) Required The zero bits each sub-puzzle's hash starts with.
sub_puzzles integer (int32) Required How many sub-puzzles to solve, numbered from 0. Your solution includes one nonce for each, in order.
memory_kib integer (int32) Required The Argon2id memory cost of each hash, in KiB.
iterations integer (int32) Required The number of Argon2id passes (time cost) for each hash.
hash_bytes integer (int32) Required The length of each Argon2id hash, in bytes.
header string Required The request header the answer travels in: the challenge, a colon, and each sub-puzzle's nonce, comma-separated.
expires_at integer (int64) Required When the challenge stops being accepted, in Unix seconds.

Used inside

All documentation

0 database statements · 13 reads from the cache · 0.0 ms waiting for the database · 26.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache