Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::DuplicatePair Struct Reference

One commitment shared by an unshifted polynomial and its shifted copy. More...

#include <repeated_commitments_data.hpp>

Public Attributes

size_t original = 0
 
size_t duplicate = 0
 

Detailed Description

One commitment shared by an unshifted polynomial and its shifted copy.

The pair-form is the layout-derived source of truth used by codegen: each shifted entity contributes one (original_index, duplicate_index) entry. It works for any layout — no contiguity constraint, no upper bound. repeated_commitments_from_pairs collapses a sorted pair list into the legacy two-range RepeatedCommitmentsData that Shplemini consumes today, so callers can stay on the existing API while the underlying layout becomes flexible.

Definition at line 72 of file repeated_commitments_data.hpp.

Member Data Documentation

◆ duplicate

size_t bb::DuplicatePair::duplicate = 0

Definition at line 74 of file repeated_commitments_data.hpp.

◆ original

size_t bb::DuplicatePair::original = 0

Definition at line 73 of file repeated_commitments_data.hpp.


The documentation for this struct was generated from the following file: