Crate sp1_core_executor

source ·
Expand description

An implementation of an exucutor for the SP1 RISC-V zkVM.

Modules§

Structs§

Enums§

  • Byte Opcode.
  • Errors that the Executor can throw.
  • The different modes the executor can run in.
  • An opcode (short for “operation code”) specifies the operation to be perfomed by the processor.
  • A register stores a 32-bit value used by operations.

Constants§

Traits§

  • A runtime hook. May be called during execution by writing to a specified file descriptor, accepting and returning arbitrary data.

Functions§

  • Aligns an address to the nearest word below or equal to it.
  • Recovers the public key from the signature and message hash using the k256 crate.
  • 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.