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: not started, auditors: [], date: YYYY-MM-DD }
3// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5// =====================
6
7#pragma once
10#include <cstdint>
11
12namespace acir_format {
13
15 uint32_t witness;
16 uint32_t num_bits;
17
18 // for serialization, update with any new fields
20 friend bool operator==(RangeConstraint const& lhs, RangeConstraint const& rhs) = default;
21};
22
23} // namespace acir_format
MSGPACK_FIELDS(witness, num_bits)
friend bool operator==(RangeConstraint const &lhs, RangeConstraint const &rhs)=default