Skip to main content

Module code

Module code 

Source
Expand description

Op codes in the residue table.

Each residue of the 68-cycle timetable runs one kind of op. These small integers (4 bits in hardware, see Slot::kind) name the kinds. They are usize because RHDL kernels accept usize constants and turn them into bit patterns where they are compared.

Constantsยง

CHUNK0
Commitment chunk-0 block (argument = block).
CHUNK1
Commitment chunk-1 block (argument = block within chunk).
IDLE
No op this cycle.
MERKLE
External Merkle-subtree request.
MESSAGE
External message-digit request.
NONCE
Private message nonce.
PARENT
Commitment parent, yielding pk_hash.
PK_NONCE
Public chain salt.
SEED
Seed derivation.
XOF
XOF block (argument = block).