Expand description
Exact, message-dependent verification work accounting.
Verification emits only mask, real chain, and public-key endpoint-hash tasks. A skipped chain position is a bypass and never appears in the task set. The baseline deliberately derives mask zero to match the current software oracle’s sixteen-mask work contract, even though verification only consumes masks one through fifteen.
Constants§
- VERIFY_
MASK_ TASKS - Mask PRFs in the frozen current-oracle verifier contract.
- VERIFY_
MAX_ CHAIN_ TASKS - Maximum real chain hashes over every possible 32-byte message digest.
- VERIFY_
MAX_ SHA_ TASKS - Maximum complete SHA verifier task count.
- VERIFY_
MIN_ CHAIN_ TASKS - Minimum real chain hashes over every possible 32-byte message digest.
- VERIFY_
MIN_ SHA_ TASKS - Minimum complete SHA verifier task count.
- VERIFY_
PUBLIC_ KEY_ TASKS - Serialized SHA-256 blocks in the 2,144-byte endpoint hash.
Functions§
- canonical_
verification_ tasks - Construct the unordered, unique set of all real verifier tasks.
- verification_
chain_ count - Host-side exact chain count, rejecting digits outside base 16.
- verification_
chain_ count_ kernel - Count real chain hashes from already-derived WOTS digits.
- verification_
chain_ fields_ kernel - Build the one canonical chain tag named by a verifier segment stage.
- verification_
fields_ are_ canonical_ kernel - Encode and validate one verifier-owned task tag.
- verification_
message_ task_ count_ kernel - Derive digits and exact SHA task count from a 32-byte message digest.
- verification_
sha_ task_ count - Host-side exact SHA compression count for a valid message digit array.
- verification_
sha_ task_ count_ kernel - Count exact SHA-256 compression tasks for one verifier operation.
- verification_
tag_ is_ well_ formed_ kernel - Return whether a tag is canonical and belongs to the verifier task subset.