Module constants

Source
Expand description

Crate wide constants.

Constants§

GATE_WIDTH
The number of input wires.
N_MUL_SELECTORS
The number of multiplication selectors.
N_TURBO_PLONK_SELECTORS
The number of TurboPlonk selectors.

Functions§

compute_coset_representatives
Compute constants K0, K1, …, K_{num_wire_types-1} so that cosets {Ki * H} are disjoint, each coset |Ki * H| = coset_size. coset_size is optional, when provided, will accelerate constants searching.