Expand description
Base library to build Halo2 circuits.
Re-exports§
pub use halo2_proofs_axiom as halo2_proofs;
Modules§
- Module that contains the main API for creating and working with circuits.
gates
is misleading because we currently only use one custom gate throughout. - Module for the Poseidon hash function.
- Module for SafeType which enforce value range and realted functions.
- Utility functions for converting between different types of field elements.
- Trait describing the shared properties for a struct that is in charge of managing a virtual region of a circuit and assigning that virtual region to a “raw” Halo2 region in the “physical” circuit.
Macros§
- To ensure
ScalarField
is only implemented forff:Field
whereRepr
is little endian, we use the following macro to implement the trait for each field.
Structs§
- Pointer containing cell value and location within Context.
- Represents a single thread of an execution trace.
Enums§
- Convenience Enum which abstracts the scenarios under a value is added to an advice column.
Constants§
- Constant representing whether the Layouter calls
synthesize
once just to get region shape.
Type Aliases§
- Unique tag for a context across all virtual regions. In the form
(type_id, context_id)
wheretype_id
should be a unique identifier for the virtual region this context belongs to, andcontext_id
is a counter local to that virtual region.