Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
range_constraint.hpp
Go to the documentation of this file.
1
// === AUDIT STATUS ===
2
// internal: { status: Planned, auditors: [Luke, Raju], commit: }
3
// external_1: { status: not started, auditors: [], commit: }
4
// external_2: { status: not started, auditors: [], commit: }
5
// =====================
6
7
#pragma once
8
#include <cstdint>
9
10
namespace
acir_format
{
11
12
struct
RangeConstraint
{
13
uint32_t
witness
;
14
uint32_t
num_bits
;
15
16
friend
bool
operator==
(
RangeConstraint
const
& lhs,
RangeConstraint
const
& rhs) =
default
;
17
};
18
19
}
// namespace acir_format
acir_format
Definition
acir_format.cpp:30
acir_format::RangeConstraint
Definition
range_constraint.hpp:12
acir_format::RangeConstraint::witness
uint32_t witness
Definition
range_constraint.hpp:13
acir_format::RangeConstraint::operator==
friend bool operator==(RangeConstraint const &lhs, RangeConstraint const &rhs)=default
acir_format::RangeConstraint::num_bits
uint32_t num_bits
Definition
range_constraint.hpp:14
src
barretenberg
dsl
acir_format
range_constraint.hpp
Generated by
1.9.8