Structs§
- A dummy verifier which prints a warning on the first proof and does nothing else.
- A record of the execution of a program.
- Holds data describing the current state of a program’s execution.
- Environment that a hook may read from.
- A registry of hooks to call, indexed by the file descriptors through which they are accessed.
- An instruction specifies an operation to execute and the operands.
- An record of a write to a memory address.
- A dummy verifier which does nothing.
- A program that can be executed by the VM.
- An implementation of a runtime for the SP1 RISC-V zkVM.
- Context to run a program inside SP1.
- An iterator over the variants of SyscallCode
- A runtime for syscalls that is protected so that developers cannot arbitrarily modify the runtime.
Enums§
- An opcode specifies which operation to execute.
- A register stores a 32-bit value used by operations.
- A system call is invoked by the the
ecallinstruction with a specific value in register t0. The syscall number is a 32-bit integer, with the following layout (in litte-endian format)
Constants§
- The threshold for splitting deferred events.
- The file descriptor through which to access
hook_ecrecover.
Traits§
- A runtime hook. May be called during execution by writing to a specified file descriptor, accepting and returning arbitrary data.
- Verifier used in runtime when
sp1_zkvm::precompiles::verify::verify_sp1_proofis called. This is then used to sanity check that the user passed in the correct proof; the actual constraints happen in the recursion layer.
Functions§
- Wrap a function in a smart pointer so it may be placed in a
HookRegistry.
Type Aliases§
- A runtime hook, wrapped in a smart pointer.