triton_vm

Module prelude

Source
Expand description

Re-exports the most commonly-needed APIs of Triton VM.

This module is intended to be wildcard-imported, i.e., use triton_vm::prelude::*;. You might also want to consider wildcard-importing the prelude of twenty_first, i.e., use triton_vm::twenty_first::prelude::*;.

Re-exports§

Modules§

Macros§

Structs§

  • Base field element ∈ ℤ_{2^64 - 2^32 + 1}.
  • The result of hashing a sequence of elements, for example using Tip5. Sometimes called a “hash”.
  • A program for Triton VM. Triton VM can run and profile such programs, and trace its execution in order to generate a proof of correct execution. See there for details.

Enums§

Traits§

  • The main trait for the tables’ Arithmetic Intermediate Representation.
  • This trait provides functions for encoding to and decoding from a Vec of BFieldElements. This encoding does not record the size of objects nor their type information; this is the responsibility of the decoder.

Derive Macros§